2009年3月10日星期二

Cisco 的根据VLAN的HSRP配置实例[转]


hsrp根据vlan做,spanning-tree推荐使用MST
sh run
Building configuration...

Current configuration : 18704 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service compress-config
!
hostname H4503ex-3B-B
!
enable secret 5 $1$YXms$vL/ft7Gv8YJvaUXP2BKRD1
!





ip subnet-zero
ip dhcp excluded-address 10.10.2.251 10.10.2.254
ip dhcp excluded-address 10.10.2.1 10.10.2.100
ip dhcp excluded-address 10.10.3.1 10.10.3.100
ip dhcp excluded-address 10.10.3.251 10.10.3.254
ip dhcp excluded-address 10.10.6.1 10.10.6.100
ip dhcp excluded-address 10.10.6.251 10.10.6.254
ip dhcp excluded-address 10.10.9.1 10.10.9.100
ip dhcp excluded-address 10.10.9.251 10.10.9.254
ip dhcp excluded-address 10.10.10.1 10.10.10.100
ip dhcp excluded-address 10.10.10.251 10.10.10.254
ip dhcp excluded-address 10.10.8.1 10.10.8.100
ip dhcp excluded-address 10.10.8.251 10.10.8.254
ip dhcp excluded-address 10.10.7.1 10.10.7.100
ip dhcp excluded-address 10.10.7.251 10.10.7.254
ip dhcp excluded-address 10.10.5.1 10.10.5.100
ip dhcp excluded-address 10.10.5.251 10.10.5.254
ip dhcp excluded-address 10.10.4.1 10.10.4.100
ip dhcp excluded-address 10.10.4.251 10.10.4.254
ip dhcp excluded-address 10.10.12.1 10.10.12.100
ip dhcp excluded-address 10.10.12.251 10.10.12.254
ip dhcp excluded-address 10.10.11.1 10.10.11.100
ip dhcp excluded-address 10.10.11.251 10.10.11.254
ip dhcp excluded-address 10.10.14.1 10.10.14.100
ip dhcp excluded-address 10.10.14.251 10.10.14.254
ip dhcp excluded-address 10.10.25.1 10.10.25.100
ip dhcp excluded-address 10.10.25.251 10.10.25.254
ip dhcp excluded-address 10.10.13.1 10.10.13.100
ip dhcp excluded-address 10.10.13.251 10.10.13.254
ip dhcp excluded-address 10.10.20.1 10.10.20.100
ip dhcp excluded-address 10.10.20.251 10.10.20.254
ip dhcp excluded-address 10.10.44.1 10.10.44.100
ip dhcp excluded-address 10.10.44.251 10.10.44.254
ip dhcp excluded-address 10.10.101.1 10.10.101.100
ip dhcp excluded-address 10.10.101.251 10.10.101.254
ip dhcp excluded-address 10.10.17.1 10.10.17.100
ip dhcp excluded-address 10.10.17.251 10.10.17.254
ip dhcp excluded-address 10.10.1.1 10.10.1.100
ip dhcp excluded-address 10.10.1.251 10.10.1.254
ip dhcp excluded-address 10.10.23.1 10.10.23.100
ip dhcp excluded-address 10.10.23.251 10.10.23.254
ip dhcp excluded-address 10.10.108.1 10.10.108.100
ip dhcp excluded-address 10.10.108.251 10.10.108.254
ip dhcp excluded-address 10.10.21.1 10.10.21.100
ip dhcp excluded-address 10.10.21.251 10.10.21.254
ip dhcp excluded-address 10.10.15.1 10.10.15.100
ip dhcp excluded-address 10.10.15.251 10.10.15.254
ip dhcp excluded-address 10.10.106.1 10.10.106.100
ip dhcp excluded-address 10.10.106.251 10.10.106.254
ip dhcp excluded-address 10.10.102.1 10.10.102.100
ip dhcp excluded-address 10.10.102.251 10.10.102.254
ip dhcp excluded-address 10.10.18.1 10.10.18.100
ip dhcp excluded-address 10.10.18.251 10.10.18.254
ip dhcp excluded-address 10.10.30.1 10.10.30.100
ip dhcp excluded-address 10.10.30.251 10.10.30.254
ip dhcp excluded-address 10.10.0.1 10.10.0.100
ip dhcp excluded-address 10.10.0.251 10.10.0.254
ip dhcp excluded-address 10.10.105.1 10.10.105.100
ip dhcp excluded-address 10.10.105.251 10.10.105.254
ip dhcp excluded-address 10.10.103.1 10.10.103.100
ip dhcp excluded-address 10.10.103.251 10.10.103.254
ip dhcp excluded-address 10.10.19.1 10.10.19.100
ip dhcp excluded-address 10.10.19.251 10.10.19.254
ip dhcp excluded-address 10.10.16.1 10.10.16.100
ip dhcp excluded-address 10.10.16.251 10.10.16.254
ip dhcp excluded-address 10.10.22.1 10.10.22.100
ip dhcp excluded-address 10.10.22.251 10.10.22.254
!
ip dhcp pool vlan2
network 10.10.2.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.2.254
lease 30
!
ip dhcp pool vlan3
network 10.10.3.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.3.254
lease 30
!
ip dhcp pool vlan4
network 10.10.6.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.6.254
lease 30
!
ip dhcp pool vlan5
network 10.10.9.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.9.254
lease 30
!
ip dhcp pool vlan6
network 10.10.10.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.10.254
lease 30
!
ip dhcp pool vlan7
network 10.10.8.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.8.254
lease 30
!
ip dhcp pool vlan8
network 10.10.7.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.7.254
lease 30
!
ip dhcp pool vlan9
network 10.10.5.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.5.254
lease 30
!
ip dhcp pool vlan10
network 10.10.4.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.4.254
lease 30
!
ip dhcp pool vlan11
network 10.10.12.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.12.254
lease 30
!
ip dhcp pool vlan12
network 10.10.11.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.11.254
lease 30
!
ip dhcp pool vlan13
network 10.10.14.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.14.254
lease 30
!
ip dhcp pool vlan14
network 10.10.25.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.25.254
lease 30
!
ip dhcp pool vlan15
network 10.10.13.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.13.254
lease 30
!
ip dhcp pool vlan16
network 10.10.20.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.20.254
lease 30
!
ip dhcp pool vlan17
network 10.10.44.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.44.254
lease 30
!
ip dhcp pool vlan18
network 10.10.101.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.101.254
lease 30
!
ip dhcp pool vlan19
network 10.10.17.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.17.254
lease 30
!
ip dhcp pool vlan20
network 10.10.1.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.1.254
lease 30
!
ip dhcp pool vlan21
network 10.10.23.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.23.254
lease 30
!
ip dhcp pool vlan22
network 10.10.108.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.108.254
lease 30
!
ip dhcp pool vlan23
network 10.10.21.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.21.254
lease 30
!
ip dhcp pool vlan24
network 10.10.15.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.15.254
lease 30
!
ip dhcp pool vlan26
network 10.10.106.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.106.254
lease 30
!
ip dhcp pool vlan27
network 10.10.102.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.102.254
lease 30
!
ip dhcp pool vlan28
network 10.10.18.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.18.254
lease 30
!
ip dhcp pool vlan30
network 10.10.30.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.30.254
lease 30
!
ip dhcp pool vlan31
network 10.10.0.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.0.254
lease 30
!
ip dhcp pool vlan33
network 10.10.105.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.105.254
lease 30
!
ip dhcp pool vlan34
network 10.10.103.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.103.254
lease 30
!
ip dhcp pool vlan35
network 10.10.19.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.19.254
lease 30
!
ip dhcp pool vlan36
network 10.10.16.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.16.254
lease 30
!
ip dhcp pool vlan37
network 10.10.22.0 255.255.255.0
dns-server 10.62.1.9
default-router 10.10.22.254
lease 30
!
ip dhcp pool vlan25
lease 30
!
ip dhcp pool vlan29
lease 30
!
ip dhcp pool vlan32
lease 30
!
ip dhcp snooping
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
spanning-tree vlan 1-37 priority 8192
power redundancy-mode redundant
!
!
!
!
interface GigabitEthernet1/1
description link to H3550-4A
switchport trunk encapsulation dot1q
switchport mode trunk
speed nonegotiate
!
interface GigabitEthernet1/2
description link to H3550-26B
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/1
description link to 3B-SW1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/2
description link to 3B-SW2
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/3
description link to 3B-SW3
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/4
description link to 3B-SW4
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/5
description link to 3B-SW5
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/6
description link to 3B-SW6
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/7
description link to 4B-SW1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/8
description link to 4B-SW2
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/9
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/10
description link to 4B-SW4
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/11
description link to 4B-SW5
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/12
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/13
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/14
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/15
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/16
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/17
description link_to_26ceng
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/18
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/19
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/20
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/21
switchport access vlan 31
switchport mode access
!
interface GigabitEthernet3/22
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/23
description link to H650ex-Core-B
no switchport
ip address 10.103.1.2 255.255.255.252
speed 1000
duplex full
!
interface GigabitEthernet3/24
description link to H4503ex-4B-A
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Vlan1
ip address 10.10.254.101 255.255.255.0
!
interface Vlan2
ip address 10.10.2.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 2 ip 10.10.2.254
standby 2 priority 120
standby 2 preempt
!
interface Vlan3
ip address 10.10.3.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 3 ip 10.10.3.254
standby 3 priority 120
standby 3 preempt
!
interface Vlan4
ip address 10.10.6.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 4 ip 10.10.6.254
standby 4 priority 120
standby 4 preempt
!
interface Vlan5
ip address 10.10.9.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 5 ip 10.10.9.254
standby 5 priority 120
standby 5 preempt
!
interface Vlan6
ip address 10.10.10.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 6 ip 10.10.10.254
standby 6 priority 120
standby 6 preempt
!
interface Vlan7
ip address 10.10.8.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 7 ip 10.10.8.254
standby 7 priority 120
standby 7 preempt
!
interface Vlan8
ip address 10.10.7.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 8 ip 10.10.7.254
standby 8 priority 120
standby 8 preempt
!
interface Vlan9
ip address 10.10.5.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 9 ip 10.10.5.254
standby 9 priority 120
standby 9 preempt
!
interface Vlan10
ip address 10.10.4.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 10 ip 10.10.4.254
standby 10 priority 120
standby 10 preempt
!
interface Vlan11
ip address 10.10.12.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 11 ip 10.10.12.254
standby 11 priority 120
standby 11 preempt
!
interface Vlan12
ip address 10.10.11.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 12 ip 10.10.11.254
standby 12 priority 120
standby 12 preempt
!
interface Vlan13
ip address 10.10.14.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 13 ip 10.10.14.254
standby 13 priority 120
standby 13 preempt
!
interface Vlan14
ip address 10.10.25.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 14 ip 10.10.25.254
standby 14 priority 120
standby 14 preempt
!
interface Vlan15
ip address 10.10.13.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 15 ip 10.10.13.254
standby 15 priority 120
standby 15 preempt
!
interface Vlan16
ip address 10.10.20.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 16 ip 10.10.20.254
standby 16 priority 120
standby 16 preempt
!
interface Vlan17
ip address 10.10.44.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 17 ip 10.10.44.254
standby 17 priority 120
standby 17 preempt
!
interface Vlan18
ip address 10.10.101.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 18 ip 10.10.101.254
standby 18 priority 120
standby 18 preempt
!
interface Vlan19
ip address 10.10.17.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 19 ip 10.10.17.254
standby 19 priority 120
standby 19 preempt
!
interface Vlan20
ip address 10.10.1.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 20 ip 10.10.1.254
standby 20 priority 120
standby 20 preempt
!
interface Vlan21
ip address 10.10.23.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 21 ip 10.10.23.254
standby 21 priority 120
standby 21 preempt
!
interface Vlan22
ip address 10.10.108.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 22 ip 10.10.108.254
standby 22 priority 120
standby 22 preempt
!
interface Vlan23
ip address 10.10.21.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 23 ip 10.10.21.254
standby 23 priority 120
standby 23 preempt
!
interface Vlan24
ip address 10.10.15.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 24 ip 10.10.15.254
standby 24 priority 120
standby 24 preempt
!
interface Vlan25
no ip address
ip access-group 100 in
ip access-group 100 out
standby 25 priority 120
standby 25 preempt
!
interface Vlan26
ip address 10.10.106.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 26 ip 10.10.106.254
standby 26 priority 120
standby 26 preempt
!
interface Vlan27
ip address 10.10.102.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 27 ip 10.10.102.254
standby 27 priority 120
standby 27 preempt
!
interface Vlan28
ip address 10.10.18.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 28 ip 10.10.18.254
standby 28 priority 120
standby 28 preempt
!
interface Vlan29
no ip address
ip access-group 100 in
ip access-group 100 out
standby 29 ip
standby 29 priority 120
standby 29 preempt
!
interface Vlan30
ip address 10.10.30.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 30 ip 10.10.30.254
standby 30 priority 120
standby 30 preempt
!
interface Vlan31
ip address 10.10.0.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 31 ip 10.10.0.254
standby 31 priority 120
standby 31 preempt
!
interface Vlan32
no ip address
ip access-group 100 in
ip access-group 100 out
standby 32 priority 120
standby 32 preempt
!
interface Vlan33
ip address 10.10.105.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 33 ip 10.10.105.254
standby 33 priority 120
standby 33 preempt
!
interface Vlan34
ip address 10.10.103.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 34 ip 10.10.103.254
standby 34 priority 120
standby 34 preempt
!
interface Vlan35
ip address 10.10.19.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 35 ip 10.10.19.254
standby 35 priority 120
standby 35 preempt
!
interface Vlan36
ip address 10.10.16.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 36 ip 10.10.16.254
standby 36 priority 120
standby 36 preempt
!
interface Vlan37
ip address 10.10.22.253 255.255.255.0
ip access-group 100 in
ip access-group 100 out
standby 37 ip 10.10.22.254
standby 37 priority 120
standby 37 preempt
!
interface Vlan1000
ip address 10.200.10.2 255.255.255.252
!
ip route 0.0.0.0 0.0.0.0 10.103.1.1
ip route 0.0.0.0 0.0.0.0 10.200.10.1 20
ip route 10.103.2.0 255.255.255.252 Vlan1000
no ip http server
!
!
!
access-list 100 deny tcp any any eq 135
access-list 100 deny tcp any any eq 136
access-list 100 deny tcp any any eq 137
access-list 100 deny tcp any any eq 138
access-list 100 deny udp any any eq 135
access-list 100 deny udp any any eq 136
access-list 100 deny udp any any eq netbios-ns
access-list 100 deny udp any any eq netbios-dgm
access-list 100 deny udp any any eq netbios-ss
access-list 100 deny tcp any any eq 445
access-list 100 deny udp any any eq 445
access-list 100 deny tcp any any eq 4444
access-list 100 deny udp any any eq 389
access-list 100 deny udp any any eq 1434
access-list 100 deny udp any any eq 1433
access-list 100 deny tcp any any eq 1068
access-list 100 deny udp any any eq 1068
access-list 100 deny tcp any any eq 5554
access-list 100 deny udp any any eq 5554
access-list 100 deny tcp any any eq 9996
access-list 100 deny udp any any eq 9996
access-list 100 deny tcp any any eq 1023
access-list 100 deny udp any any eq 1023
access-list 100 deny tcp any any eq 593
access-list 100 permit ip any any
!
!
line con 0
stopbits 1
line vty 0 4
exec-timeout 360 0
password 123
login
!
end

H4503ex-3B-B#sh span
H4503ex-3B-B#sh spanning-tree ?
active Report on active interfaces only
backbonefast Show spanning tree backbonefast status
blockedports Show blocked ports
bridge Status and configuration of this bridge
detail Detailed information
inconsistentports Show inconsistent ports
interface Spanning Tree interface status and configuration
mst Multiple spanning trees
pathcost Show Spanning pathcost options
root Status and configuration of the root bridge
summary Summary of port states
uplinkfast Show spanning tree uplinkfast status
vlan VLAN Switch Spanning Trees
Output modifiers


H4503ex-3B-B#sh spanning-tree su

VLAN0001
Spanning tree enabled protocol rstp
Root ID Priority 8193
Address 0014.f282.4d80
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 8193 (priority 8192 sys-id-ext 1)
Address 0014.f282.4d80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi1/1 Desg FWD 4 128.1 P2p Peer(STP)
Gi3/1 Desg FWD 19 128.129 P2p Peer(STP)
Gi3/2 Desg FWD 19 128.130 P2p Peer(STP)
Gi3/3 Desg FWD 4 128.131 P2p Peer(STP)
Gi3/4 Desg FWD 19 128.132 P2p Peer(STP)
Gi3/5 Desg FWD 19 128.133 P2p Peer(STP)
Gi3/6 Desg FWD 19 128.134 P2p Peer(STP)
Gi3/7 Desg FWD 4 128.135 P2p
Gi3/8 Desg FWD 4 128.136 P2p Peer(STP)
Gi3/17 Desg FWD 19 128.145 P2p Peer(STP)
Gi3/22 Desg FWD 19 128.150 P2p Peer(STP)
Gi3/24 Desg FWD 4 128.152 P2p


VLAN0002
Spanning tree enabled protocol rstp
Root ID Priority 8194
Address 0014.f282.4d80
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 8194 (priority 8192 sys-id-ext 2)
Address 0014.f282.4d80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi1/1 Desg FWD 4 128.1 P2p Peer(STP)
Gi3/1 Desg FWD 19 128.129 P2p Peer(STP)
Gi3/2 Desg FWD 19 128.130 P2p Peer(STP)
Gi3/3 Desg FWD 4 128.131 P2p Peer(STP)
Gi3/4 Desg FWD 19 128.132 P2p Peer(STP)
Gi3/5 Desg FWD 19 128.133 P2p Peer(STP)
Gi3/6 Desg FWD 19 128.134 P2p Peer(STP)
Gi3/7 Desg FWD 4 128.135 P2p
Gi3/8 Desg FWD 4 128.136 P2p Peer(STP)
Gi3/17 Desg FWD 19 128.145 P2p Peer(STP)
Gi3/22 Desg FWD 19 128.150 P2p Peer(STP)
Gi3/24 Desg FWD 4 128.152 P2p

--More--  
VLAN0003
Spanning tree enabled protocol rstp
Root ID Priority 8195
Address 0014.f282.4d80
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 8195 (priority 8192 sys-id-ext 3)
Address 0014.f282.4d80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi1/1 Desg FWD 4 128.1 P2p Peer(STP)
Gi3/1 Desg FWD 19 128.129 P2p Peer(STP)
Gi3/2 Desg FWD 19 128.130 P2p Peer(STP)
Gi3/3 Desg FWD 4 128.131 P2p Peer(STP)
Gi3/4 Desg FWD 19 128.132 P2p Peer(STP)
Gi3/5 Desg FWD 19 128.133 P2p Peer(STP)
Gi3/6 Desg FWD 19 128.134 P2p Peer(STP)
Gi3/7 Desg FWD 4 128.135 P2p
Gi3/8 Desg FWD 4 128.136 P2p Peer(STP)
Gi3/17 Desg FWD 19 128.145 P2p Peer(STP)
Gi3/22 Desg FWD 19 128.150 P2p Peer(STP)
Gi3/24 Desg FWD 4 128.152 P2p

--More--  
VLAN0004
Spanning tree enabled protocol rstp
Root ID Priority 8196
Address 0014.f282.4d80
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 8196 (priority 8192 sys-id-ext 4)
Address 0014.f282.4d80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi1/1 Desg FWD 4 128.1 P2p Peer(STP)
Gi3/1 Desg FWD 19 128.129 P2p Peer(STP)
Gi3/2 Desg FWD 19 128.130 P2p Peer(STP)
Gi3/3 Desg FWD 4 128.131 P2p Peer(STP)
Gi3/4 Desg FWD 19 128.132 P2p Peer(STP)
Gi3/5 Desg FWD 19 128.133 P2p Peer(STP)
Gi3/6 Desg FWD 19 128.134 P2p Peer(STP)
Gi3/7 Desg FWD 4 128.135 P2p
Gi3/8 Desg FWD 4 128.136 P2p Peer(STP)
Gi3/17 Desg FWD 19 128.145 P2p Peer(STP)
Gi3/22 Desg FWD 19 128.150 P2p Peer(STP)
Gi3/24 Desg FWD 4 128.152 P2p

--More--  
H4503ex-3B-B#sh spanning-tree summ
H4503ex-3B-B#sh spanning-tree summary ?
totals Only show totals
Output modifiers


H4503ex-3B-B#sh spanning-tree summary
Switch is in rapid-pvst mode
Root bridge for: VLAN0001-VLAN0037
Extended system ID is enabled
Portfast Default is disabled
PortFast BPDU Guard Default is disabled
Portfast BPDU Filter Default is disabled
Loopguard Default is disabled
EtherChannel misconfig guard is enabled
UplinkFast is disabled
BackboneFast is disabled
Configured Pathcost method used is short

Name Blocking Listening Learning Forwarding STP Active
---------------------- -------- --------- -------- ---------- ----------
VLAN0001 0 0 0 12 12
VLAN0002 0 0 0 12 12
VLAN0003 0 0 0 12 12
VLAN0004 0 0 0 12 12
VLAN0005 0 0 0 12 12
VLAN0006 0 0 0 12 12
VLAN0007 0 0 0 12 12
VLAN0008 0 0 0 12 12
VLAN0009 0 0 0 12 12
VLAN0010 0 0 0 12 12
VLAN0011 0 0 0 12 12
VLAN0012 0 0 0 12 12
VLAN0013 0 0 0 12 12
VLAN0014 0 0 0 12 12
VLAN0015 0 0 0 12 12
VLAN0016 0 0 0 12 12
VLAN0017 0 0 0 12 12
VLAN0018 0 0 0 12 12
VLAN0019 0 0 0 12 12
VLAN0020 0 0 0 12 12
VLAN0021 0 0 0 12 12
VLAN0022 0 0 0 12 12
VLAN0023 0 0 0 12 12
VLAN0024 0 0 0 12 12
VLAN0025 0 0 0 12 12
VLAN0026 0 0 0 12 12
VLAN0027 0 0 0 12 12
VLAN0028 0 0 0 12 12
VLAN0029 0 0 0 12 12
VLAN0030 0 0 0 12 12
VLAN0031 0 0 0 12 12
VLAN0032 0 0 0 12 12
VLAN0033 0 0 0 12 12
VLAN0034 0 0 0 12 12
VLAN0035 0 0 0 12 12
VLAN0036 0 0 0 12 12
VLAN0037 0 0 0 12 12
VLAN0100 0 0 0 12 12
VLAN1000 0 0 0 12 12
---------------------- -------- --------- -------- ---------- ----------
39 vlans 0 0 0 468 468
H4503ex-3B-B#sh spanning-tree summary         bri
H4503ex-3B-B#sh spanning-tree bridge

Hello Max Fwd
Vlan Bridge ID Time Age Dly Protocol
---------------- --------------------------------- ----- --- --- --------
VLAN0001 8193 ( 8192, 1) 0014.f282.4d80 2 20 15 rstp
VLAN0002 8194 ( 8192, 2) 0014.f282.4d80 2 20 15 rstp
VLAN0003 8195 ( 8192, 3) 0014.f282.4d80 2 20 15 rstp
VLAN0004 8196 ( 8192, 4) 0014.f282.4d80 2 20 15 rstp
VLAN0005 8197 ( 8192, 5) 0014.f282.4d80 2 20 15 rstp
VLAN0006 8198 ( 8192, 6) 0014.f282.4d80 2 20 15 rstp
VLAN0007 8199 ( 8192, 7) 0014.f282.4d80 2 20 15 rstp
VLAN0008 8200 ( 8192, 8) 0014.f282.4d80 2 20 15 rstp
VLAN0009 8201 ( 8192, 9) 0014.f282.4d80 2 20 15 rstp
VLAN0010 8202 ( 8192, 10) 0014.f282.4d80 2 20 15 rstp
VLAN0011 8203 ( 8192, 11) 0014.f282.4d80 2 20 15 rstp
VLAN0012 8204 ( 8192, 12) 0014.f282.4d80 2 20 15 rstp
VLAN0013 8205 ( 8192, 13) 0014.f282.4d80 2 20 15 rstp
VLAN0014 8206 ( 8192, 14) 0014.f282.4d80 2 20 15 rstp
VLAN0015 8207 ( 8192, 15) 0014.f282.4d80 2 20 15 rstp
VLAN0016 8208 ( 8192, 16) 0014.f282.4d80 2 20 15 rstp
VLAN0017 8209 ( 8192, 17) 0014.f282.4d80 2 20 15 rstp
VLAN0018 8210 ( 8192, 18) 0014.f282.4d80 2 20 15 rstp
VLAN0019 8211 ( 8192, 19) 0014.f282.4d80 2 20 15 rstp
VLAN0020 8212 ( 8192, 20) 0014.f282.4d80 2 20 15 rstp
VLAN0021 8213 ( 8192, 21) 0014.f282.4d80 2 20 15 rstp
VLAN0022 8214 ( 8192, 22) 0014.f282.4d80 2 20 15 rstp
VLAN0023 8215 ( 8192, 23) 0014.f282.4d80 2 20 15 rstp
VLAN0024 8216 ( 8192, 24) 0014.f282.4d80 2 20 15 rstp
VLAN0025 8217 ( 8192, 25) 0014.f282.4d80 2 20 15 rstp
VLAN0026 8218 ( 8192, 26) 0014.f282.4d80 2 20 15 rstp
VLAN0027 8219 ( 8192, 27) 0014.f282.4d80 2 20 15 rstp
VLAN0028 8220 ( 8192, 28) 0014.f282.4d80 2 20 15 rstp
VLAN0029 8221 ( 8192, 29) 0014.f282.4d80 2 20 15 rstp
VLAN0030 8222 ( 8192, 30) 0014.f282.4d80 2 20 15 rstp
VLAN0031 8223 ( 8192, 31) 0014.f282.4d80 2 20 15 rstp
VLAN0032 8224 ( 8192, 32) 0014.f282.4d80 2 20 15 rstp
VLAN0033 8225 ( 8192, 33) 0014.f282.4d80 2 20 15 rstp
VLAN0034 8226 ( 8192, 34) 0014.f282.4d80 2 20 15 rstp
VLAN0035 8227 ( 8192, 35) 0014.f282.4d80 2 20 15 rstp
VLAN0036 8228 ( 8192, 36) 0014.f282.4d80 2 20 15 rstp
VLAN0037 8229 ( 8192, 37) 0014.f282.4d80 2 20 15 rstp
VLAN0100 32868 (32768, 100) 0014.f282.4d80 2 20 15 rstp
VLAN1000 33768 (32768,1000) 0014.f282.4d80 2 20 15 rstp
H4503ex-3B-B#sh vlan ?
access-map Vlan access-map
brief VTP all VLAN status in brief
dot1q Display dot1q parameters
filter VLAN filter information
id VTP VLAN status by VLAN id
ifindex SNMP ifIndex
internal VLAN internal usage
mtu VLAN MTU information
name VTP VLAN status by VLAN name
private-vlan Private VLAN information
remote-span Remote SPAN VLANs
summary VLAN summary information
Output modifiers


H4503ex-3B-B#sh vlan ?
access-map Vlan access-map
brief VTP all VLAN status in brief
dot1q Display dot1q parameters
filter VLAN filter information
id VTP VLAN status by VLAN id
ifindex SNMP ifIndex
internal VLAN internal usage
mtu VLAN MTU information
name VTP VLAN status by VLAN name
private-vlan Private VLAN information
remote-span Remote SPAN VLANs
summary VLAN summary information
Output modifiers


H4503ex-3B-B#sh vlan

VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Gi1/2, Gi3/9, Gi3/10, Gi3/11, Gi3/12
Gi3/13, Gi3/14, Gi3/15, Gi3/16
Gi3/18, Gi3/19, Gi3/20
2 VLAN0002 active
3 VLAN0003 active
4 VLAN0004 active
5 VLAN0005 active
6 VLAN0006 active
7 VLAN0007 active
8 VLAN0008 active
9 VLAN0009 active
10 VLAN0010 active
11 VLAN0011 active
12 VLAN0012 active
13 VLAN0013 active
14 VLAN0014 active
15 VLAN0015 active
16 VLAN0016 active
17 VLAN0017 active
18 VLAN0018 active
19 VLAN0019 active
20 VLAN0020 active
21 VLAN0021 active
22 VLAN0022 active
23 VLAN0023 active
24 VLAN0024 active
25 VLAN0025 active
26 VLAN0026 active
27 VLAN0027 active
28 VLAN0028 active
29 VLAN0029 active
30 VLAN0030 active
31 VLAN0031 active Gi3/21
32 VLAN0032 active
33 VLAN0033 active
34 VLAN0034 active
35 VLAN0035 active
36 VLAN0036 active
37 VLAN0037 active
100 VLAN0100 active
1000 VLAN1000 active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
--More--  
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1004 fddinet-default act/unsup
1005 trnet-default act/unsup

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
2 enet 100002 1500 - - - - - 0 0
3 enet 100003 1500 - - - - - 0 0
4 enet 100004 1500 - - - - - 0 0
5 enet 100005 1500 - - - - - 0 0
6 enet 100006 1500 - - - - - 0 0
7 enet 100007 1500 - - - - - 0 0
8 enet 100008 1500 - - - - - 0 0
9 enet 100009 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
11 enet 100011 1500 - - - - - 0 0
12 enet 100012 1500 - - - - - 0 0
13 enet 100013 1500 - - - - - 0 0
14 enet 100014 1500 - - - - - 0 0
15 enet 100015 1500 - - - - - 0 0
16 enet 100016 1500 - - - - - 0 0
17 enet 100017 1500 - - - - - 0 0
18 enet 100018 1500 - - - - - 0 0
19 enet 100019 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
21 enet 100021 1500 - - - - - 0 0
22 enet 100022 1500 - - - - - 0 0
23 enet 100023 1500 - - - - - 0 0
24 enet 100024 1500 - - - - - 0 0
25 enet 100025 1500 - - - - - 0 0
26 enet 100026 1500 - - - - - 0 0
27 enet 100027 1500 - - - - - 0 0
28 enet 100028 1500 - - - - - 0 0
29 enet 100029 1500 - - - - - 0 0
30 enet 100030 1500 - - - - - 0 0
31 enet 100031 1500 - - - - - 0 0
32 enet 100032 1500 - - - - - 0 0
33 enet 100033 1500 - - - - - 0 0
34 enet 100034 1500 - - - - - 0 0
35 enet 100035 1500 - - - - - 0 0
36 enet 100036 1500 - - - - - 0 0
37 enet 100037 1500 - - - - - 0 0
100 enet 100100 1500 - - - - - 0 0
1000 enet 101000 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - srb 0 0
--More--  
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0

Remote SPAN VLANs
------------------------------------------------------------------------------


Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------

0 评论:

发表评论