1. Inter-VLAN Configuration 구성도
1) Inter-VLAN Configuration 구성도
- 본 글은 단순히 vQFX Configuration을 입력하고 동작을 확인하는 목적
- 동작에 대한 설명은 '동작 과정' 글이나' vMX Configuration' 글을 참고
2) 테스트 장비
- Emulator : EVE-NG
- OS : Juniper vQFX 19.4R1.10
2. Inter-VLAN Configuration
1) Inter-VLAN Configuration
< R1 : Sub-Interface 설정 >
set interfaces xe-0/0/0 description SW1
set interfaces xe-0/0/0 vlan-tagging
set interfaces xe-0/0/0 unit 10 vlan-id 10
set interfaces xe-0/0/0 unit 10 family inet address 10.0.0.1/24
set interfaces xe-0/0/0 unit 20 vlan-id 20
set interfaces xe-0/0/0 unit 20 family inet address 20.0.0.1/24
< SW1 : VLAN 10 생성 >
set vlans VLAN10 description VLAN10
set vlans VLAN10 vlan-id 10
< SW1 : VLAN 20 생성 >
set vlans VLAN20 description VLAN20
set vlans VLAN20 vlan-id 20
< SW1 : ge-0/0/0 Trunk Mode 설정 >
set interfaces xe-0/0/0 description R1
set interfaces xe-0/0/0 unit 0 family ethernet-switching interface-mode trunk
set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members VLAN10
set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members VLAN20
< SW1 : ge-0/0/1 Access Mode 설정 >
set interfaces xe-0/0/1 description PC1
set interfaces xe-0/0/1 unit 0 family ethernet-switching interface-mode access
set interfaces xe-0/0/1 unit 0 family ethernet-switching vlan members VLAN10
< SW1 : ge-0/0/2 Access Mode 설정 >
set interfaces xe-0/0/2 description PC2
set interfaces xe-0/0/2 unit 0 family ethernet-switching interface-mode access
set interfaces xe-0/0/2 unit 0 family ethernet-switching vlan members VLAN20
root@R1> show route table inet.0
inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.0.0.0/24 *[Direct/0] 00:58:32
> via xe-0/0/0.10
10.0.0.1/32 *[Local/0] 00:58:32
Local via xe-0/0/0.10
20.0.0.0/24 *[Direct/0] 00:58:32
> via xe-0/0/0.20
20.0.0.1/32 *[Local/0] 00:58:32
Local via xe-0/0/0.20
169.254.0.0/24 *[Direct/0] 10:46:26
> via em1.0
169.254.0.2/32 *[Local/0] 10:46:26
Local via em1.0
root@SW1> show ethernet-switching interface
Routing Instance Name : default-switch
Logical Interface flags (DL - disable learning, AD - packet action drop,
LH - MAC limit hit, DN - interface down,
MMAS - Mac-move action shutdown, AS - Autostate-exclude enabled,
SCTL - shutdown by Storm-control, MI - MAC+IP limit hit)
Logical Vlan TAG MAC MAC+IP STP Logical Tagging
interface members limit limit state interface flags
xe-0/0/2.0 8192 8192 untagged
VLAN20 20 1024 1024 Forwarding untagged
Routing Instance Name : default-switch
Logical Interface flags (DL - disable learning, AD - packet action drop,
LH - MAC limit hit, DN - interface down,
MMAS - Mac-move action shutdown, AS - Autostate-exclude enabled,
SCTL - shutdown by Storm-control, MI - MAC+IP limit hit)
Logical Vlan TAG MAC MAC+IP STP Logical Tagging
interface members limit limit state interface flags
xe-0/0/0.0 8192 8192 tagged
VLAN10 10 1024 1024 Forwarding tagged
VLAN20 20 1024 1024 Forwarding tagged
Routing Instance Name : default-switch
Logical Interface flags (DL - disable learning, AD - packet action drop,
LH - MAC limit hit, DN - interface down,
MMAS - Mac-move action shutdown, AS - Autostate-exclude enabled,
SCTL - shutdown by Storm-control, MI - MAC+IP limit hit)
Logical Vlan TAG MAC MAC+IP STP Logical Tagging
interface members limit limit state interface flags
xe-0/0/1.0 8192 8192 untagged
VLAN10 10 1024 1024 Forwarding untagged
root@SW1> show vlans
Routing instance VLAN name Tag Interfaces
default-switch VLAN10 10
xe-0/0/0.0*
xe-0/0/1.0*
default-switch VLAN20 20
xe-0/0/0.0*
xe-0/0/2.0*
default-switch default 1
- 'vlan-tagging' 명령이 없으면 'unit 0'만 생성 가능
2) Inter-VLAN 통신 확인
'Network > VLAN' 카테고리의 다른 글
IRB Configuration(Juniper vQFX) (0) | 2025.04.07 |
---|---|
Native VLAN Configuration(Juniper vQFX) (0) | 2025.04.03 |
Trunk Mode Configuration(Juniper vQFX) (0) | 2025.04.01 |
Access Mode Configuration(Juniper vQFX) (0) | 2025.03.30 |
SVI Configuration(Cisco IOL) (0) | 2025.01.23 |
Inter-VLAN Configuration(Cisco IOL) (0) | 2025.01.21 |
Native VLAN Configuration(Cisco IOL) (0) | 2025.01.19 |
Trunk Mode Configuration(Cisco IOL) (0) | 2025.01.17 |