beautypg.com

Displaying mstp statistics – Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual

Page 340

background image

Core2 on MSTP configuration

device(config)#trunk ethernet 3/5 to 3/6 ethernet 3/17 to 3/20

device(config)#vlan 1 name DEFAULT-VLAN by port

device(config-vlan-1)#exit

device(config)#vlan 20 by port

device(config-vlan-20)#tagged ethernet 3/5 to 3/6 ethernet 3/17 to 3/20

device(config-vlan-20)#exit

device(config)#vlan 21 by port

device(config-vlan-21)#tagged ethernet 3/5 to 3/6 ethernet 3/17 to 3/20

device(config-vlan-21)#exit

device(config)#vlan 22 by port

device(config-vlan-22)#tagged ethernet 3/5 to 3/6 ethernet 3/17 to 3/20

device(config-vlan-22)#exit

device(config)#mstp scope all

device(config)#mstp name HR

device(config)#mstp revision 2

device(config)#mstp instance 20 vlan 20

device(config)#mstp instance 21 vlan 21

device(config)#mstp instance 22 vlan 22

device(config)#mstp admin-pt2pt-mac ethernet 3/17 to 3/20 ethernet 3/5 to 3/6

device(config)#mstp admin-pt2pt-mac ethernet 3/10

device(config)#mstp disable ethernet 3/7 ethernet 3/24

device(config)#mstp start

device(config)#hostname CORE2

LAN 4 on MSTP configuration

device(config)#trunk ethernet 3/5 to 3/6 ethernet 3/1 to 3/2

device(config)#vlan 1 name DEFAULT-VLAN by port

device(config-vlan-1)#exit

device(config)#vlan 20 by port

device(config-vlan-20)#tagged ethernet 3/1 to 3/2 ethernet 3/5 to 3/6

device(config)#exit

device(config)#vlan 21 by port

device(config-vlan-21)#tagged ethernet 3/1 to 3/2 ethernet 3/5 to 3/6

device(config-vlan-21)#exit

device(config)#vlan 22 by port

device(config-vlan-22)#tagged ethernet 3/1 to 3/2 ethernet 3/5 to 3/6

device(config)#mstp scope all

device(config)#mstp config name HR

device(config)#mstp revision 2

device(config)#mstp instance 20 vlan 20

device(config)#mstp instance 21 vlan 21

device(config)#mstp instance 22 vlan 22

device(config)#mstp admin-pt2pt-mac ethernet 3/5 to 3/6 ethernet 3/1 to 3/2

device(config)#mstp start

device(config)#hostname LAN4

Displaying MSTP statistics

MSTP statistics can be displayed using the commands shown below.

To display all general MSTP information, enter the following command.

device#show mstp

MSTP Instance 0 (CIST) - VLANs: 1

----------------------------------------------------------------------------

Bridge Bridge Bridge Bridge Bridge Root Root Root Root

Identifier MaxAge Hello FwdDly Hop MaxAge Hello FwdDly Hop

hex sec sec sec cnt sec sec sec cnt

8000000cdb80af01 20 2 15 20 20 2 15 19

Root ExtPath RegionalRoot IntPath Designated Root

Bridge Cost Bridge Cost Bridge Port

hex hex hex

8000000480bb9876 2000 8000000cdb80af01 0 8000000480bb9876 3/1

Port Pri PortPath P2P Edge Role State Designa- Designated

Num Cost Mac Port ted cost bridge

3/1 128 2000 T F ROOT FORWARDING 0 8000000480bb9876

MSTP Instance 1 - VLANs: 2

Displaying MSTP statistics

340

FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide

53-1003086-04