Cisco switch STP Configuration

Source: Internet
Author: User
Tags cisco switch


The value range of the switch STP configuration spanning tree priority is 0 ~ 61440, increment is 4096, its valid value is ,......, 61440. The smaller the priority value, the higher the priority. 0 is the highest, and 61440 is the lowest. When the root port or blocked port of a vswitch receives an inferior BPDUs packet, it indicates that the indirect link between the vswitch and the root bridge is faulty, the link from the switch to the root bridge may fail in the network. The blocked port is converted to the forwarding working state to fix this fault. Before the blocked port is converted to the forwarding working state, you need to wait for a maximum Spanning Tree survival time, the BackboneFast function is to make the blocked port no longer wait for this period of time, but directly switch the port from listening and learning status to forwarding status. This conversion task takes about 30 s, this improves the convergence speed when the indirect link fails. UplinkFast provides fast convergence when the topology structure of the Spanning Tree changes and the load balancing is completed between redundant links using the "uplink link group. Enable the blocked port to skip the listening and learning statuses and directly switch to the forwarding status. PostFast is used to skip the normal Spanning Tree operation on the access layer switch port to speed up the access of the terminal workstation to the network. Its function is to allow the switch port to skip the listening and learning status and directly switch from the blocking status to the forwarding status. This port can only be used to connect a single host or server. It cannot connect to network devices such as hubs, Concentrator, switches, and bridges. The BPDU Filter causes the switch to stop sending BPDUs on the specified port. The BPDUs entering the port will not be processed, and the port status will be immediately converted to the forwarding status.
Switch STP configuration instance 1 www.2cto.com Catalyst 3500 :( 1) enable or disable the STP format: spanning-tree vlan <vlan id> (Enabled) no spanning-tree vlan <vlan id> (disabled) (2) set the primary root format: spanning-tree vlan <vlan id> root primary (3) backup root format: spanning-tree vlan <vlan id> root secondary (4) configure the spanning tree priority format: spanning-tree vlan <vlan id> priority <0 ~ 61440> (5) configure the optional function Format of the BackboneFast spanning tree: spanning-tree BackboneFast (6) configure the optional function Format of the UplinkFast spanning tree: spanning-tree UplinkFastspanning-tree UplinkFast max-update-rate <0 ~ 32000> the value of max-update-rate is 0 ~ 32000, in packet/s (number of packages updated per second ). (7) configure the optional function Format of the PortFast spanning tree: spanning-tree portfast default (8) configure the optional function Format of the BPDU Filter spanning tree: spanning-tree portfast bpdufilter default switch STP configuration instance 2 www.2cto.com Catalyst 6500 :( 1) enable or disable STP format: set spantree enable <vlan id> (enable STP) set spantree disable <vlan id> (disable STP) (2) set the primary root format: set spantree root <vlan id> (3) backup root format: set spantree root secondary <vlan id> (4) configure the Spanning Tree priority format: set spantree priority level (5) configure the BackboneFast spanning tree (optional) Format: set spantree backbonefast enableset spantree backbonefast disable (6) configure the optional function Format of UplinkFast Spanning Tree: set spantree uplinkfast enableset spantree uplinkfast enable rate <station_update_rate> the default value is 15 packet/100 ms (7). Configure the PortFast spanning tree function in www.2cto.com format: set spantree portfast module number/port number enableset spantree portfast module number/port number disableset spantree portfast module number/port number default (portfast is enabled by default) (8) Configure BPDU Filter generation Function Format: set spantree portfast bpdu-filter enable (bpdu-filter enabled for all ports) set spantree portfast bpdu-filter disable (disable bpdu-filter) set spantree portfast bpdu-filter module number/port number enable (enable bpdu-filter) set spantree portfast bpdu-filter module number/port number disable (disable bpdu-filter) set spantree portfast bpdu-filter module No./port number default (set as default) Two STP configuration instances are provided for you, we hope that you can refer to the above content to complete the STP configuration process of your switch. This article is from the fat shark network.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.