1. Access Mode Configuration 구성도
1) Access Mode Configuration 구성도
- 본 글은 단순히 vQFX Configuration을 입력하고 동작을 확인하는 목적
- 동작에 대한 설명은 '동작 과정' 글이나' vMX Configuration' 글을 참고
2) 테스트 장비
- Emulator : EVE-NG
- OS : Juniper vQFX 19.4R1.10
2. Access Mode Configuration
1) 동일 Switch에서 다른 VLAN 통신
(1) 동일 Switch에서 다른 VLAN 통신 Configuration
< 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 : xe-0/0/0 Access Mode 설정 >
set interfaces xe-0/0/0 description SW2
set interfaces xe-0/0/0 unit 0 family ethernet-switching interface-mode access
set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members VLAN20
< SW1 : xe-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
< SW2 : VLAN 10 생성 >
set vlans VLAN10 description VLAN10
set vlans VLAN10 vlan-id 10
< SW2 : VLAN 20 생성 >
set vlans VLAN20 description VLAN20
set vlans VLAN20 vlan-id 20
< SW2 : xe-0/0/0 Access Mode 설정 >
set interfaces xe-0/0/0 description SW1
set interfaces xe-0/0/0 unit 0 family ethernet-switching interface-mode access
set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members VLAN10
< SW2 : xe-0/0/1 Access Mode 설정 >
set interfaces xe-0/0/1 description PC2
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
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/0.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/1.0 8192 8192 untagged
VLAN10 10 1024 1024 Forwarding untagged
root@SW2> 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/0.0 8192 8192 untagged
VLAN10 10 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/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/1.0*
default-switch VLAN20 20
xe-0/0/0.0*
default-switch default 1
root@SW2> 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
default-switch default 1
(2) 동일 Switch에서 다른 VLAN 통신 확인
2) 서로 다른 Switch간 동일 VLAN 통신
(1) 서로 다른 Switch간 동일 VLAN 통신 Configuration
< SW1 : xe-0/0/0 Access Mode 설정 >
set interfaces xe-0/0/0 description SW2
set interfaces xe-0/0/0 unit 0 family ethernet-switching interface-mode access
set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members VLAN10
< SW1 : xe-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
< SW2 : xe-0/0/0 Access Mode 설정 >
set interfaces xe-0/0/0 description SW1
set interfaces xe-0/0/0 unit 0 family ethernet-switching interface-mode access
set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members VLAN10
< SW2 : xe-0/0/1 Access Mode 설정 >
set interfaces xe-0/0/1 description PC2
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
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/0.0 8192 8192 untagged
VLAN10 10 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/1.0 8192 8192 untagged
VLAN10 10 1024 1024 Forwarding untagged
root@SW2> 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/0.0 8192 8192 untagged
VLAN10 10 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/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
default-switch default 1
root@SW2> 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
default-switch default 1
(2) 서로 다른 Switch간 동일 VLAN 통신 확인
3) 서로 다른 Switch간 다른 VLAN 통신
(1) 서로 다른 Switch간 다른 VLAN 통신 Configuration
< SW1 : xe-0/0/0 Access Mode 설정 >
set interfaces xe-0/0/0 description SW2
set interfaces xe-0/0/0 unit 0 family ethernet-switching interface-mode access
set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members VLAN10
< SW1 : xe-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
< SW2 : xe-0/0/0 Access Mode 설정 >
set interfaces xe-0/0/0 description SW1
set interfaces xe-0/0/0 unit 0 family ethernet-switching interface-mode access
set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members VLAN20
< SW2 : xe-0/0/1 Access Mode 설정 >
set interfaces xe-0/0/1 description PC2
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 VLAN20
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/0.0 8192 8192 untagged
VLAN10 10 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/1.0 8192 8192 untagged
VLAN10 10 1024 1024 Forwarding untagged
root@SW2> 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/0.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/1.0 8192 8192 untagged
VLAN20 20 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
default-switch default 1
root@SW2> show vlans
Routing instance VLAN name Tag Interfaces
default-switch VLAN10 10
default-switch VLAN20 20
xe-0/0/0.0*
xe-0/0/1.0*
default-switch default 1
(2) 서로 다른 Switch간 다른 VLAN 통신 확인
'Network > VLAN' 카테고리의 다른 글
IRB Configuration(Juniper vQFX) (0) | 2025.04.07 |
---|---|
Inter-VLAN Configuration(Juniper vQFX) (0) | 2025.04.05 |
Native VLAN Configuration(Juniper vQFX) (0) | 2025.04.03 |
Trunk Mode Configuration(Juniper vQFX) (0) | 2025.04.01 |
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 |