Access Mode Configuration(Juniper vMX)

2025. 1. 5. 22:31·Network/VLAN

1. Access Mode Configuration 구성도

1) Access Mode Configuration 구성도

 

2) 테스트 장비

  • Emulator : EVE-NG
  • OS : Juniper vMX 18.2R1.9

 

 

2. Access Mode Configuration

1) 동일 Switch에서 다른 VLAN 통신

(1) 동일 Switch에서 다른 VLAN 통신 Configuration

< SW1 : VLAN 10 생성 >
set bridge-domains VLAN10 description VLAN10
set bridge-domains VLAN10 vlan-id 10

< SW1 : VLAN 20 생성 >
set bridge-domains VLAN20 description VLAN20
set bridge-domains VLAN20 vlan-id 20

< SW1 : ge-0/0/0 Access Mode 설정 >
set interfaces ge-0/0/0 description SW2
set interfaces ge-0/0/0 unit 0 family bridge interface-mode access
set interfaces ge-0/0/0 unit 0 family bridge vlan-id 20

< SW1 : ge-0/0/1 Access Mode 설정 >
set interfaces ge-0/0/1 description PC1
set interfaces ge-0/0/1 unit 0 family bridge interface-mode access
set interfaces ge-0/0/1 unit 0 family bridge vlan-id 10
< SW2 : VLAN 10 생성 >
set bridge-domains VLAN10 description VLAN10
set bridge-domains VLAN10 vlan-id 10

< SW2 : VLAN 20 생성 >
set bridge-domains VLAN20 description VLAN20
set bridge-domains VLAN20 vlan-id 20

< SW2 : ge-0/0/0 Access Mode 설정 >
set interfaces ge-0/0/0 description SW1
set interfaces ge-0/0/0 unit 0 family bridge interface-mode access
set interfaces ge-0/0/0 unit 0 family bridge vlan-id 10

< SW2 : ge-0/0/1 Access Mode 설정 >
set interfaces ge-0/0/1 description PC2
set interfaces ge-0/0/1 unit 0 family bridge interface-mode access
set interfaces ge-0/0/1 unit 0 family bridge vlan-id 10
root@SW1> show bridge domain 

Routing instance        Bridge domain            VLAN ID     Interfaces
default-switch          VLAN10                   10       
                                                             ge-0/0/1.0
default-switch          VLAN20                   20       
                                                             ge-0/0/0.0
root@SW2> show bridge domain 

Routing instance        Bridge domain            VLAN ID     Interfaces
default-switch          VLAN10                   10       
                                                             ge-0/0/0.0
                                                             ge-0/0/1.0
default-switch          VLAN20                   20

 

(2) 동일 Switch에서 다른 VLAN 통신 확인

  • SW1의 Access Mode인 포트로 Import할 때, ge-0/0/1 포트에 설정한 10번 Tag를 Frame에 추가
  • SW1의 Access Mode인 포트로 Export할 때, ge-0/0/0 포트에 설정한 20번 Tag가 Frame에 없으므로 Frame의 Tag를 제거하지 못하여 SW2향 포트로 Export 불가

 

2) 서로 다른 Switch간 동일 VLAN 통신

(1) 서로 다른 Switch간 동일 VLAN 통신 Configuration

< SW1 : ge-0/0/0 Access Mode 설정 >
set interfaces ge-0/0/0 description SW2
set interfaces ge-0/0/0 unit 0 family bridge interface-mode access
set interfaces ge-0/0/0 unit 0 family bridge vlan-id 10

< SW1 : ge-0/0/1 Access Mode 설정 >
set interfaces ge-0/0/1 description PC1
set interfaces ge-0/0/1 unit 0 family bridge interface-mode access
set interfaces ge-0/0/1 unit 0 family bridge vlan-id 10
< SW2 : ge-0/0/0 Access Mode 설정 >
set interfaces ge-0/0/0 description SW1
set interfaces ge-0/0/0 unit 0 family bridge interface-mode access
set interfaces ge-0/0/0 unit 0 family bridge vlan-id 10

< SW2 : ge-0/0/1 Access Mode 설정 >
set interfaces ge-0/0/1 description PC2
set interfaces ge-0/0/1 unit 0 family bridge interface-mode access
set interfaces ge-0/0/1 unit 0 family bridge vlan-id 10
root@SW1> show bridge domain 

Routing instance        Bridge domain            VLAN ID     Interfaces
default-switch          VLAN10                   10       
                                                             ge-0/0/0.0
                                                             ge-0/0/1.0
default-switch          VLAN20                   20
root@SW2> show bridge domain    

Routing instance        Bridge domain            VLAN ID     Interfaces
default-switch          VLAN10                   10       
                                                             ge-0/0/0.0
                                                             ge-0/0/1.0
default-switch          VLAN20                   20

 

(2) 서로 다른 Switch간 동일 VLAN 통신 확인

  • SW1의 Access Mode인 포트로 Import할 때, ge-0/0/1 포트에 설정한 10번 Tag를 Frame에 추가
  • SW1의 Access Mode인 포트로 Export할 때, ge-0/0/0 포트에 설정한 10번 Tag를 Frame에서 제거
  • SW2의 Access Mode인 포트로 Import할 때, ge-0/0/0 포트에 설정한 10번 Tag를 Frame에 추가
  • SW2의 Access Mode인 포트로 Export할 때, ge-0/0/1 포트에 설정한 10번 Tag를 Frame에서 제거

 

  • SW2의 Access Mode인 포트로 Import할 때, ge-0/0/1 포트에 설정한 10번 Tag를 Frame에 추가
  • SW2의 Access Mode인 포트로 Export할 때, ge-0/0/0 포트에 설정한 10번 Tag를 Frame에서 제거
  • SW1의 Access Mode인 포트로 Import할 때, ge-0/0/0 포트에 설정한 10번 Tag를 Frame에 추가
  • SW1의 Access Mode인 포트로 Export할 때, ge-0/0/1 포트에 설정한 10번 Tag를 Frame에서 제거

 

3) 서로 다른 Switch간 다른 VLAN 통신

(1) 서로 다른 Switch간 다른 VLAN 통신 Configuration

< SW1 : ge-0/0/0 Access Mode 설정 >
set interfaces ge-0/0/0 description SW2
set interfaces ge-0/0/0 unit 0 family bridge interface-mode access
set interfaces ge-0/0/0 unit 0 family bridge vlan-id 10

< SW1 : ge-0/0/1 Access Mode 설정 >
set interfaces ge-0/0/1 description PC1
set interfaces ge-0/0/1 unit 0 family bridge interface-mode access
set interfaces ge-0/0/1 unit 0 family bridge vlan-id 10
< SW2 : ge-0/0/0 Access Mode 설정 >
set interfaces ge-0/0/0 description SW1
set interfaces ge-0/0/0 unit 0 family bridge interface-mode access
set interfaces ge-0/0/0 unit 0 family bridge vlan-id 20

< SW2 : ge-0/0/1 Access Mode 설정 >
set interfaces ge-0/0/1 description PC2
set interfaces ge-0/0/1 unit 0 family bridge interface-mode access
set interfaces ge-0/0/1 unit 0 family bridge vlan-id 20
root@SW1> show bridge domain    

Routing instance        Bridge domain            VLAN ID     Interfaces
default-switch          VLAN10                   10       
                                                             ge-0/0/0.0
                                                             ge-0/0/1.0
default-switch          VLAN20                   20
root@SW2> show bridge domain 

Routing instance        Bridge domain            VLAN ID     Interfaces
default-switch          VLAN10                   10       
                                                              
default-switch          VLAN20                   20       
                                                             ge-0/0/0.0
                                                             ge-0/0/1.0

 

(2) 서로 다른 Switch간 다른 VLAN 통신 확인

  • SW1의 Access Mode인 포트로 Import할 때, ge-0/0/1 포트에 설정한 10번 Tag를 Frame에 추가
  • SW1의 Access Mode인 포트로 Export할 때, ge-0/0/0 포트에 설정한 10번 Tag를 Frame에서 제거
  • SW2의 Access Mode인 포트로 Import할 때, ge-0/0/0 포트에 설정한 20번 Tag를 Frame에 추가
  • SW2의 Access Mode인 포트로 Export할 때, ge-0/0/1 포트에 설정한 20번 Tag를 Frame에서 제거

 

  • SW2의 Access Mode인 포트로 Import할 때, ge-0/0/1 포트에 설정한 20번 Tag를 Frame에 추가
  • SW2의 Access Mode인 포트로 Export할 때, ge-0/0/0 포트에 설정한 20번 Tag를 Frame에서 제거
  • SW1의 Access Mode인 포트로 Import할 때, ge-0/0/0 포트에 설정한 10번 Tag를 Frame에 추가
  • SW1의 Access Mode인 포트로 Export할 때, ge-0/0/1 포트에 설정한 10번 Tag를 Frame에서 제거

 

저작자표시 비영리 변경금지 (새창열림)

'Network > VLAN' 카테고리의 다른 글

IRB Configuration(Juniper vMX)  (0) 2025.01.13
Inter-VLAN Configuration(Juniper vMX)  (0) 2025.01.11
Native VLAN Configuration(Juniper vMX)  (0) 2025.01.09
Trunk Mode Configuration(Juniper vMX)  (0) 2025.01.07
VTP(VLAN Trunking Protocol)  (0) 2025.01.03
L3 Interface(SVI vs Routed Port)  (0) 2025.01.01
Inter-VLAN  (0) 2024.12.30
Native VLAN 동작 과정  (1) 2024.12.28
'Network/VLAN' 카테고리의 다른 글
  • Native VLAN Configuration(Juniper vMX)
  • Trunk Mode Configuration(Juniper vMX)
  • VTP(VLAN Trunking Protocol)
  • L3 Interface(SVI vs Routed Port)
ant-choi의 네트워크
ant-choi의 네트워크
안녕하세요. 네트워크 엔지니어로 근무하고 있는 직장인 입니다. 2024.08.26부터 새로운 버전으로 블로그를 개설하였습니다. 제가 스터디한 내용이나 회사에서 업무 진행 시, 필요한 내용들을 정리하여 업로드 하는 것을 목표로 하고 있습니다. 오류가 있거나 피드백이 있으신 분들은 댓글 남겨주시면 감사하겟습니다.
  • ant-choi의 네트워크
    ant-choi의 네트워크
    ant-choi의 네트워크
  • 전체
    오늘
    어제
    • 분류 전체보기 (142) N
      • Network (125) N
        • Juniper Software (0)
        • Juniper Basic (7)
        • Emulator (24)
        • Network Basic (11)
        • ARP, ICMP (14)
        • VLAN (22)
        • STP (0)
        • VRRP (11)
        • Link Aggregation (10)
        • MC-LAG (0)
        • Switching, Routing Basic (15)
        • DHCP (11) N
        • OSPF (0)
        • BGP (0)
        • Routing Instance (0)
        • VXLAN (0)
        • Issue (0)
      • Office (5)
        • Office 공통 (1)
        • Excel (1)
        • Power Point (1)
        • Word (2)
        • Outlook (0)
      • 기타 (12)
        • Windows (1)
        • Browser (4)
        • Tistory (7)
        • Notion (0)
        • Application (0)
  • 블로그 메뉴

    • hELLO· Designed By정상우.v4.10.3
    ant-choi의 네트워크
    Access Mode Configuration(Juniper vMX)
    상단으로

    티스토리툴바