SW1 = VTP Server
나머지는 VTP Client
SW1]
vtp domain VTP0313
#show cdp neigh
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce Holdtme Capability Platform Port ID
SW2 Fas 1/1 174 R S I 3660 Fas 1/1
SW2 Fas 1/0 174 R S I 3660 Fas 1/0
SW3 Fas 1/2 174 R S I 3660 Fas 1/2
SW3 Fas 1/3 174 R S I 3660 Fas 1/1
int range f1/0 - 1
sw tr enc dot
sw mod tr
channel-group 1 mod on
exit
int range f1/2 - 3
sw tr enc dot
sw mod tr
channel-group 2 mod on
exit
#show ether summary
Flags: D - down P - in port-channel
I - stand-alone s - suspended
R - Layer3 S - Layer2
U - in use
Group Port-channel Ports
-----+------------+-----------------------------------------------------------
1 Po1(SU) Fa1/0(P) Fa1/1(P)
2 Po2(SU) Fa1/2(P) Fa1/3(P)
vlan 10
vlan 20
exit
int lo 0
ip add 1.1.1.1 255.255.255.0
int vlan 10
ip add 1.1.10.254 255.255.255.0
exit
int vlan 20
ip add 1.1.20.254 255.255.255.0
exit
sw2]
no ip routing
vtp mod client
#do show cdp neigh
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce Holdtme Capability Platform Port ID
SW4 Fas 1/4 166 S I 3660 Fas 1/4
SW4 Fas 1/3 166 S I 3660 Fas 1/1
SW1 Fas 1/1 166 R S I 3660 Fas 1/1
SW1 Fas 1/0 166 R S I 3660 Fas 1/0
int range f1/0 - 1
sw tr enc dot
sw mod tr
channel-group 1 mod on
exit
int range f1/3 - 4
sw tr enc dot
sw mod tr
channel-group 3 mod on
exit
//vlan정보 안만들어도 server모드에서 받아
sw3]
vtp mod client
no ip routing
#do show cdp neigh
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce Holdtme Capability Platform Port ID
SW4 Fas 1/3 126 S I 3660 Fas 1/3
SW4 Fas 1/4 126 S I 3660 Fas 1/2
SW1 Fas 1/1 126 R S I 3660 Fas 1/3
SW1 Fas 1/2 126 R S I 3660 Fas 1/2
int range f1/1 - 2
sw tr enc dot
sw mod tr
channel-group 2 mod on
exit
int range f1/3 - 4
sw tr enc dot
sw mod tr
channel-group 4 mod on
exit
sw4]
vtp mod client
no ip routing
#do show cdp neigh
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce Holdtme Capability Platform Port ID
SW2 Fas 1/4 129 S I 3660 Fas 1/4
SW2 Fas 1/1 129 S I 3660 Fas 1/3
SW3 Fas 1/2 129 S I 3660 Fas 1/4
SW3 Fas 1/3 129 S I 3660 Fas 1/3
int range f1/1 , f1/4
sw tr enc dot
sw mod tr
channel-group 3 mod on
exit
int range f1/2 - 3
sw tr enc dot
sw mod tr
channel-group 4 mod on
exit
int f1/5
sw mod ac
sw ac vlan 10
exit
int f1/6
sw mod ac
sw ac vlan 20
exit
pc1]
no ip routing
ip default-gateway 1.1.10.254
int f0/0
ip add 1.1.10.1 255.255.255.0
no sh
pc2]
no ip routing
ip default-gateway 1.1.20.254
int f0/0
ip add 1.1.20.2 255.255.255.0
no sh
[Spanning-Tree]
SW1]
spanning-tree vlan 10 priority 0
spanning-tree vlan 20 priority 0
둘다 우선순위 0을 주어 route로 만듦
둘다 designated포트가 된다.
SW2]
spanning-tree vlan 10 priority 4096
spanning-tree vlan 20 priority 8192
로 우선순위 정함
SW3]
spanning-tree vlan 10 priority 8192
spanning-tree vlan 20 priority 4096
로 우선순위 정함
'네트워크 수업' 카테고리의 다른 글
[실습] DRP(Dynamic Routing Protocol) - RIP (1) 23.03.14 (0) | 2023.03.14 |
---|---|
IPv6.pdf 23.03.13 (0) | 2023.03.13 |
[실습] VTP(Vlan Trunking Protocols) 23.03.13 (0) | 2023.03.13 |
Secured DHCP + NATP 실습 23.03.13 (0) | 2023.03.13 |
[실습] Secured DHCP /트러블슈팅 23.03.10 (0) | 2023.03.10 |
댓글