※ 쿠팡 파트너스 활동을 통해 일정액의 수수료를 제공받을 수 있습니다.
1. Interface Trunking Configuration (SW1 G0/1 & SW2 G0/1).
(1) Access mode configuration for SW1 G1/1 & G1/2 (-> VLAN ID 1개만 연결되는 Interface에 설정.)
SW1>enable
SW1#conf t
SW1 (config)#int g1/1
SW1 (config-if)#switchport mode access
SW1 (config-if)#switchport access vlan 11
SW1 (config-if)#exit
SW1 (config)#int g1/2
SW1 (config-if)#switchport mode access
SW1 (config-if)#switchport access vlan 12
SW1 (config-if)#exit
SW1 (config)#int vlan 11
SW1 (config-if)#no shut
SW1 (config-if)#exit
SW1 (config)#int vlan 12
SW1 (config-if)#no shut
SW1 (config-if)#end
SW1#wr
(2) Trunk mode configuration for SW1 G0/1 & SW2 G0/1 (-> VLAN ID 2개 이상 연결되는 Interface에 설정.)
SW1 >enable
SW1#conf t
SW1 (config)#int g0/1
SW1 (config-if)#switchport trunk encapsulation dot1q
SW1 (config-if)#switchport mode trunk
SW1 (config-if)#switchport trunk allowed vlan 11,12
SW1 (config-if)#end
SW1#wr
SW2 >enable
SW2#conf t
SW2 (config)#int g0/1
SW2 (config-if)#switchport trunk encapsulation dot1q
SW2 (config-if)#switchport mode trunk
SW2 (config-if)#switchport trunk allowed vlan 11,12
SW2 (config)#int g1/1
SW2 (config-if)#switchport trunk encapsulation dot1q
SW2 (config-if)#switchport mode trunk
SW2 (config-if)#switchport trunk allowed vlan 11,12
SW2 (config-if)#end
SW2#wr
2. Rapid PVST Configuration.
SW2#conf t
SW2(config)#spanning-tree mode rapid-pvst
SW2(config)#end
SW2#wr
'Cisco Switch 시작하기' 카테고리의 다른 글
Cisco Switch Port EtherChannel Configuration (0) | 2024.09.27 |
---|---|
Cisco Switch Web GUI with EVE-NG (0) | 2024.09.26 |
Cisco Switch Access Restriction and Control Plane Policing (0) | 2024.09.24 |
Cisco Switch Banner and Login Configuration (0) | 2024.09.23 |
Cisco Switch Time and Port Speed Limit & Port Security (0) | 2024.09.22 |