12.07.2015 Views

BROCADE IP PRIMER

BROCADE IP PRIMER

BROCADE IP PRIMER

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 9: Spanning Tree ProtocolConfiguring RSTPHow do we configure it? It is not enabled by default (most likely to maintaincompatibility with other manufacturers' switches that may not be so lucky). Toenable RSTP globally, go to the Global config:Switch(config)#spanning-tree 802-1wNotice that you use a “-” instead of a “.” to separate the “2” from the “1.” Thiscan get confusing, so you'll see a lot of more experienced engineers simplyusing the short-cut:Switch(config)#span 8This command accomplishes the exact same thing. You can also define theswitch's priority:Switch(config)#spanning-tree 802-1w priority 10When dealing with RSTP, it's wise to define the individual interfaces in one oftwo types. The premise of these types if very similar to STP's Fast Port Spanand Fast Uplink Span:• Admin-edge-port. This is a similar concept to Fast Port Span in STP.There's no timer change (as RSTP doesn't use timers in the same way),but you've defined this port as a dead end (e.g., a workstation, a server,etc.).• Admin-pt2pt-mac. This is a similar concept to Fast Uplink Span in STP.You are defining this port as a “point-to-point” connection. It is a directlink between two switches.You would configure this at the Interface config:Switch(config-if-e1000-9)#spanning-tree 802-1w admin-pt2ptmacSwitch(config-if-e1000-9)#int e 15Switch(config-if-e1000-15)#spanning-tree 802-1w admin-edgeport802.1w show CommandsThe two main show commands you'll want to use are very similar to the two weintroduced in STP. The first is:Switch#show 802-1w--- VLAN 10 [ STP Instance owned by VLAN 10 ] ----------------------------Bridge IEEE 802.1W Parameters:Bridge Bridge Bridge Bridge Force txIdentifier MaxAge Hello FwdDly Version Holdhex sec sec sec cnt8000000abc123a01 20 2 15 Default 3RootBridge RootPath DesignatedBri- Root Max Fwd HelIdentifier Cost dge Identifier Port Age Dly lohex hex sec sec sec8000000abc123a01 0 8000000abc123a01 Root 20 15 2206 Brocade <strong>IP</strong> Primer

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!