Trunk Mode Configuration(Juniper vQFX)

2025. 4. 1. 22:36·Network/VLAN
목차
  1. 1. Trunk Mode Configuration 구성도
  2. 1) Trunk Mode Configuration 구성도
  3. 2) 테스트 장비
  4. 2. Trunk Mode Configuration
  5. 1) 서로 다른 Switch 간 동일 VLAN 통신
  6. (1) 서로 다른 Switch 간 동일 VLAN 통신 Configuration
  7. (2) 서로 다른 Switch 간 동일 VLAN 통신 확인
  8. 2) 서로 다른 Switch 간 다른 VLAN 통신
  9. (1) 서로 다른 Switch 간 다른 VLAN 통신 Configuration
  10. (2) 서로 다른 Switch 간 다른 VLAN 통신

1. Trunk Mode Configuration 구성도

1) Trunk Mode Configuration 구성도

  • 본 글은 단순히 vQFX Configuration을 입력하고 동작을 확인하는 목적
  • 동작에 대한 설명은 '동작 과정' 글이나' vMX Configuration' 글을 참고

 

2) 테스트 장비

  • Emulator : EVE-NG
  • OS : Juniper vQFX 19.4R1.10

 

 

2. Trunk Mode Configuration

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

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

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

< SW1 : xe-0/0/0 Trunk Mode 설정 >
set interfaces xe-0/0/0 description SW2
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

< 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 : ge-0/0/0 Trunk Mode 설정 >
set interfaces xe-0/0/0 description SW1
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

< SW2 : ge-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                                tagged   
                VLAN10                 10    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@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                                tagged   
                VLAN10                 10    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          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          default               1

 

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

 

 

2) 서로 다른 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 Trunk Mode 설정 >
set interfaces xe-0/0/0 description SW2
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 : 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 Trunk Mode 설정 >
set interfaces xe-0/0/0 description SW1
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

< 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                                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@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                                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 
                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       
                                                           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*
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
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
  1. 1. Trunk Mode Configuration 구성도
  2. 1) Trunk Mode Configuration 구성도
  3. 2) 테스트 장비
  4. 2. Trunk Mode Configuration
  5. 1) 서로 다른 Switch 간 동일 VLAN 통신
  6. (1) 서로 다른 Switch 간 동일 VLAN 통신 Configuration
  7. (2) 서로 다른 Switch 간 동일 VLAN 통신 확인
  8. 2) 서로 다른 Switch 간 다른 VLAN 통신
  9. (1) 서로 다른 Switch 간 다른 VLAN 통신 Configuration
  10. (2) 서로 다른 Switch 간 다른 VLAN 통신
'Network/VLAN' 카테고리의 다른 글
  • Inter-VLAN Configuration(Juniper vQFX)
  • Native VLAN Configuration(Juniper vQFX)
  • Access Mode Configuration(Juniper vQFX)
  • SVI Configuration(Cisco IOL)
ant-choi의 네트워크
ant-choi의 네트워크
안녕하세요. 네트워크 엔지니어로 근무하고 있는 직장인 입니다. 2024.08.26부터 새로운 버전으로 블로그를 개설하였습니다. 제가 스터디한 내용이나 회사에서 업무 진행 시, 필요한 내용들을 정리하여 업로드 하는 것을 목표로 하고 있습니다. 오류가 있거나 피드백이 있으신 분들은 댓글 남겨주시면 감사하겟습니다.
  • ant-choi의 네트워크
    ant-choi의 네트워크
    ant-choi의 네트워크
  • 전체
    오늘
    어제
    • 분류 전체보기 (148) N
      • Network (131) 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 (2) N
        • Switching, Routing Basic (15)
        • DHCP (15)
        • OSPF (0)
        • BGP (0)
        • Routing Instance (0)
        • VXLAN (0)
        • EVPN-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의 네트워크
    Trunk Mode Configuration(Juniper vQFX)

    개인정보

    • 티스토리 홈
    • 포럼
    • 로그인
    상단으로

    티스토리툴바

    단축키

    내 블로그

    내 블로그 - 관리자 홈 전환
    Q
    Q
    새 글 쓰기
    W
    W

    블로그 게시글

    글 수정 (권한 있는 경우)
    E
    E
    댓글 영역으로 이동
    C
    C

    모든 영역

    이 페이지의 URL 복사
    S
    S
    맨 위로 이동
    T
    T
    티스토리 홈 이동
    H
    H
    단축키 안내
    Shift + /
    ⇧ + /

    * 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.