Inter-VLAN Configuration(Juniper vQFX)

2025. 4. 5. 23:10·Network/VLAN

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
'Network/VLAN' 카테고리의 다른 글
  • IRB Configuration(Juniper vQFX)
  • Native VLAN Configuration(Juniper vQFX)
  • Trunk Mode Configuration(Juniper vQFX)
  • Access Mode Configuration(Juniper vQFX)
ant-choi의 네트워크
ant-choi의 네트워크
안녕하세요. 네트워크 엔지니어로 근무하고 있는 직장인 입니다. 2024.08.26부터 새로운 버전으로 블로그를 개설하였습니다. 제가 스터디한 내용이나 회사에서 업무 진행 시, 필요한 내용들을 정리하여 업로드 하는 것을 목표로 하고 있습니다. 오류가 있거나 피드백이 있으신 분들은 댓글 남겨주시면 감사하겟습니다.
  • ant-choi의 네트워크
    ant-choi의 네트워크
    ant-choi의 네트워크
  • 전체
    오늘
    어제
    • 분류 전체보기 (139) N
      • Network (122) 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 (8) 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의 네트워크
    Inter-VLAN Configuration(Juniper vQFX)
    상단으로

    티스토리툴바