Intel 10/100 manual Spanning Tree Commands, Example

Page 63

C H A P T E R 3

Intel Express 10/100 Fast Ethernet Switch

Spanning Tree Commands

Spanning tree automatically configures a loop-free topology in a bridged environment. The spanning tree agent is implemented in conformance with the IEEE 802.1d standard. In most cases, the defaults work fine and you won’t need to change any parameters.

Example

Spanning tree is enabled anytime a packet could potentially be caught in an infinite loop on the network.

Spanning tree disables this port to prevent a redundant loop.

The protocol uses the port with the most efficient path and turns off the other port. In the example, each hub is connected to switch and to each other. Consequently, the workstation has two paths to the switch. In Ethernet, this isn’t allowed and one of the switch ports must be turned off. Spanning tree sends out configuration messages and automatically determines which port is turned off. However, by changing spanning tree parameters, you can manually determine which port is turned off.

Spanning tree determines which port is turned off by selecting the port with the lowest cost path. This port is then called the root bridge (in this case, the root bridge is a switch port). Think of the lowest cost path as the quickest route from the workstation to the switch. In the case of a tie, the lowest numbered switch port is the root bridge. In the example, port 2 is root bridge and port 8 is turned off.

60

Image 63
Contents User Guide First edition Contents Chapter Troubleshooting Connect the network devices to the switch Check the LEDs for power and linksNext steps Optional Press Eand log into the Console Manager Baud Data bits No parity Stop bit Xon/Xoff flow controlOverview TopologyIntel Express 10/100 Fast Ethernet Switch Installation and SetupRcv Using the SwitchPort status LEDs XmtLink Management status LEDsCabling Requirements UTP requirementsFiber optic requirements NIC RJ-45 MDI Straight-through vs. crossover cablesDetermining which cable to use Configuring the mixed 10 Mbps workgroup environment Typical ConfigurationsConfiguration guidelines A P T E R 1 Intel Express 10/100 Fast Ethernet Switch Full duplex and flow control between Express 10/100 switches Repeater count limitations General rule forOne repeater hop for Configuring Accessing the Console Manager remotely Accessing the Console ManagerUsing the Console Manager Entering commandsMeans you can type one of the following Vlan Console Manager command groups Sample Console Manager Session Procedures using this diagramSet the IP configuration. Type the command Configuring the Snmp agent for IPCommands used To configure the Snmp agentConfiguring a port for full duplex To configure a port for full duplexRecommended environments To create an Svlan Creating Virtual LANs VLANsTo create a VBD Create the two SVLANs. Type the commandsMonitoring traffic To check traffic on a port Detecting speed mismatches Detecting faulty adapters or hub portsDetecting bad or poor quality cable Detecting congested segmentsStatistic Definitions Configuring and Managing the Switch Reference Group to display commands relevant to that groupConsole Command-line Summary Console CommandsSystem Commands IP Commands Snmp Commands Virtual LAN Vlan Commands Switching Database CommandsSpanning Tree Commands Switching Statistics Commands Port Configuration CommandsLogout Console CommandsHelp-kbd BannerSystem Commands Set-passwdSys-stat Set-stst-level Warm-resetCold-reset Get-stst-levelSet-sw-file Init-nvramSet-line-slip Get-sw-fileSw-dnld Set-rsw-fileGet-tftp-srvr Set-tftp-srvrIP configuration IP CommandsSet-ip-conf Get-bootpSet-bootp Set-ipGet-gatew Get-slip-confSet-slip Set-slip-confStops the active ping process. You can also press cC Ping CommandsPing Ping-stopDel-arp-entry Address Resolution Protocol ARP CommandsGet-arp-tbl Add-arp-entrySet-comm Snmp CommandsSnmp community strings Get-commGet-traps Snmp trap message commandsGet-auth Set-authRemoves a station from the trap table Switching Database CommandsAdd-trap Del-trapGet-lt-entry Database control commandsFF-FF-FF-FF-FF-FF Get-lt-16Add-lt-entry Find-lt-addrDel-lt-entry Del-lt-addrCustom filtering Get-lt-ageSet-lt-age Add-cf-entry Get-lt-filterDisplays the custom filter table stored in Nvram Vlan CommandsDel-cf-entry Get-nv-cftblGet-vbc-matrix Get-con-matrixSet-sec-vlan Set-vbc-domainDel-vbc-domain Get-vbc-tblMonitor Get-svlan-tblDisplays the table of defined SVLANs Set-mon-portExample Spanning Tree CommandsGet-stp Set-stpGet-st-bcfg Get-st-pcfg Get-st-syscfgDisplays the spanning tree state for all ports Set-br-prio Set-br-maxageSet-br-hellot Set-prt-pcost Set-br-fwdelSet-prt-prio Set-prt-enbGet-port-cfg Port Configuration CommandsUse these commands to configure and display port settings Displays the current port configurationSet-port-fctrl Statistics CommandsSet-port-dplex Set-speed-selGet-colls-cnt Get-eth-cntGet-br-cnt Get-rmon-cntGet-sdist-cnt Displays the Rmon statistics packet size histogram for port2905033 Bytes Received Get-mgm-brcnt Troubleshooting General Problems Troubleshooting Flow Control ProblemsIntel Express 10/100 Fast Ethernet Switch System Default ConfigurationSpanning tree Not installed see Accessories on nextPorts Console ManagerStatus Indicators per port SpecificationsFeatures AccessoriesMaximum Cabling Distances General IndicatorsBoot and Configuration Connector InterfacesAC line frequency 47Hz-63Hz Fuse 100-120V/4A 200-240V/2A Electrical SpecificationsPower Cord Specifications Electromagnetic Emissions and Safety Agency ApprovalSnmp and MIB Support Limited Hardware Warranty Limited Hardware Warranty Europe only Avertissement Warnung Displaying current state, 44 enabling or disabling IndexControl commands Get-authcommandGet-bootpcommand Database, switchingGet-trapscommand Get-port-cfgcommand, 22Get-slipcommand Get-stpcommandMIB Set-commcommandSet-slipcommand Set-stpcommandXmt Transmit LED Troubleshooting Software updates Installation notes How to accessWorld Wide Web & Internet FTP Intel BBS