PS: 失敗
Router1
en
conf t
int f0/0
ip add 202.1.1.2 255.255.255.0
no shut
int f0/1
ip add 192.168.0.253 255.255.254.0
no shut
CoreSW1
en
conf t
ip routing
spann mode ra
vlan 101
name 1F
vlan 102
name 2F
vlan 103
name 3F
vlan 81
name Cisco
int vlan 1
ip add 192.168.1.254 255.255.254.0
no shut
int vlan 81
ip add 192.168.81.254 255.255.255.0
no shut
int vlan 101
ip add 10.20.1.126 255.255.255.128
no shut
int vlan 102
ip add 10.20.2.126 255.255.255.128
no shut
int vlan 103
ip add 10.20.3.126 255.255.255.128
no shut
exit
vtp domain stupid
int ran f0/23-24
sw trunk en dot
sw mode trunk
SW1
en
conf t
spann mode ra
int f0/24
sw mode trunk
vtp mode tr
vtp mode cli
int vlan 81
ip add 192.168.81.1 255.255.255.0
no shut
int f0/1
sw mode acc
sw acc vlan 103
spann portf
SW2
en
conf t
spann mode ra
int f0/24
sw mode trunk
vtp mode tr
vtp mode cli
int vlan 81
ip add 192.168.81.2 255.255.255.0
no shut
int f0/1
sw mode acc
sw acc vlan 101
spann portf
Router1
conf t
router ospf 1
network 192.168.0.0 0.0.0.255 area 0
CoreSW1
conf t
router ospf 1
network 192.168.0.0 0.0.0.255 area 0
network 10.20.1.0 0.0.0.127 area 0
network 10.20.2.0 0.0.0.127 area 0
network 10.20.3.0 0.0.0.127 area 0
未做no switch時learn不到, 做了no switch及設定IP後就只learn到192.168.0.0