"Data Collation" Cisco [STP]

Source: Internet
Author: User

"Data Collation" Cisco [STP]

STP{STP 802.1D--------------sh mac address-table sh int vlan 1sh  Spanning-treestate: blocking, listening, learning, forwarding, disabledswitch (config) #int  f0/1switch (config-if) #switchport  port-security mac-address sticky  // The first two addresses that enter the port are static address switch (CONFIG-IF) #switchport  port-security mac-address maximum 2   //can only use 2 Macswitch (config-if) #switchport  port-security violation shutdown //violation to close switch (config) #spanning-tree vlan 1 priority 4096  //setup root bridgeswitch (config) # spanning-tree vlan 1 root primary  //directly set to root bridge//set a range with range, Configure multiple ports for Portfastswitch (config) #int  range fastethernet 0/1 - 12switch (config-if-range ) #spanning-tree portfastrstp 802.1w--------------ETHERCHANNEL: PAGP (port aggregation  Protocol),  LACP (link aGGREGATION CONTROL PROTOCOL, 802.3AD) #port  securitys1#conf ts1 (config) #int  range  F0/3-4S1 (Config-if-range) #switchport  port-security maximum 1s1 (config-if-range) # Switchport port-security mac-address stickys1 (config-if-range) #switchport  port-security  violation shutdown#portfasts1 (config) #int  range f0/3-4s1 (config-if-range) #spanning-tree  portfast#bpduguard, bpdufilters1 (Config-if-range) #spanning-tree bpduguard enbales1 ( Config-if-range) #spanning-tree bpdufilter enable#uplinkfasts1 (config) #spanning-tree  Uplinkfasts1#sh spanning-tree uplinkfast#backbonefasts1 (config) #spanning-tree backbonefasts1#sh  spanning-tree backbonefast#rstpcore (config) #spanning-tree mode rapid-pvstcore (config) #do  sh spanning-tree#etherchannelpagp:s1 (config) #int  port-channel 1s1 (config-if) #int   RANGE F0/1-2S1 (Config-if-range) #switchpoRT MODE TRUNKS1 (config-if-range) #switchport  nonegotiate     The organization switch automatically detects the link type and sets the relay type S1 (config-if-range) #channel-group 1 mode desirables1 (config-if-range) #do  sh int fa0/1 etherchannels2 (config) #int  port-channel 1s2 (config-if) #int   RANGE F0/7-8S2 (Config-if-range) #switchport  trunk encap dot1qs2 (config-if-range) #switchport  mode trunks2 (Config-if-range) #switchport  nonegotiates2 (config-if-range) #channel-group 1  mode desirables1 (Config-if-range) #do  sh int port-channel 1}


"Data Collation" Cisco [STP]

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.