User Tools

Site Tools


arista:switch:stp_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
arista:switch:stp_commands [2020/11/11 01:32] hvillanuevaarista:switch:stp_commands [2020/11/11 02:11] (current) hvillanueva
Line 428: Line 428:
 {{:arista:switch:stp_arista_37_-_hvillanueva.png?800|}} {{:arista:switch:stp_arista_37_-_hvillanueva.png?800|}}
  
 +===== MST Configuration Commands =====
  
 +==== abort (mst-configuration mode) ====
 +
 +The abort command, in MST-configuration mode, discards pending changes to the MST region configuration, then returns the switch to global configuration mode.
 +
 +The exit (mst-configuration mode) command saves MST region changes to running-config before returning the switch to global configuration mode.
 +
 +{{:arista:switch:stp_arista_38_-_hvillanueva.png?800|}}
 +
 +==== exit (mst-configuration mode) ====
 +
 +The exit command, in MST-configuration mode, saves changes to the MST region configuration, then returns the switch to global configuration mode. MST region configuration changes are also saved by entering a different configuration mode.
 +
 +{{:arista:switch:stp_arista_39_-_hvillanueva.png?800|}}
 +
 +==== instance ====
 +
 +The instance command inserts an entry into the VLAN-to-instance map that associates a set of VLANs to an MST instance. In addition to defining the MST topology, the VLAN-to-instance map is one of three parameters, along with the MST name and revision number, that identifies the switch’s MST region.
 +
 +The no instance command removes specified entries from the VLAN-to-instance map. If the command does not provide a VLAN list, all entries are removed for the specified instance. The no instance and default instance commands function identically.
 +
 +{{:arista:switch:stp_arista_40_-_hvillanueva.png?800|}}
 +
 +==== name (mst-configuration mode) ====
 +
 +The name command configures the MST region name. The name is one of three parameters, along with the MST revision number and VLAN-to-instance map, that identifies the switch’s MST region.
 +
 +The name has up to 32 characters. The default name is an empty string. The name string accepts all characters except the space.
 +
 +The no name and default name commands restore the default name by removing the name command from running-config.
 +
 +{{:arista:switch:stp_arista_41_-_hvillanueva.png?800|}}
 +
 +==== revision (mst-configuration mode) ====
 +
 +The revision command configures the MST revision number. The revision number is one of three parameters, along with the MST name and VLAN-to-instance map, that identifies the switch’s MST region. Revision numbers range from 0 to 65535. The default revision number is 0.
 +
 +The no revision and default revision commands restore the revision number to its default value by removing the revision command from running-config.
 +
 +{{:arista:switch:stp_arista_42_-_hvillanueva.png?800|}}
 +
 +==== show (mst-configuration mode) ====
 +
 +The show command displays the current and pending MST configuration:
 +
 +Exiting MST configuration mode stores all pending configuration changes to running-config.
 +
 +{{:arista:switch:stp_arista_43_-_hvillanueva.png?800|}}
 +
 +==== show (mst-configuration mode) ====
 +
 +The show command displays the current and pending MST configuration:
 +
 +Exiting MST configuration mode stores all pending configuration changes to running-config.
 +
 +{{:arista:switch:stp_arista_44_-_hvillanueva.png?800|}}
 +
 +===== Display Commands =====
 +
 +==== show spanning-tree ====
 +
 +The show spanning-tree command displays spanning tree protocol (STP) data, organized by instance.
 +
 +{{:arista:switch:stp_arista_45_-_hvillanueva.png?800|}}
 +
 +{{:arista:switch:stp_arista_46_-_hvillanueva.png?800|}}
 +
 +{{:arista:switch:stp_arista_47_-_hvillanueva.png?800|}}
 +
 +==== show spanning-tree bridge detail ====
 +
 +The show spanning-tree bridge detail command displays detailed MST information including MSTP-Rapid PVST+ interoperation status.
 +
 +{{:arista:switch:stp_arista_48_-_hvillanueva.png?800|}}
 +
 +==== show spanning-tree blockedports ====
 +
 +The show spanning-tree blockedports command displays the list of blocked (discarding) ports.
 +
 +{{:arista:switch:stp_arista_49_-_hvillanueva.png?800|}}
 +
 +==== show spanning-tree counters ====
 +
 +The show spanning-tree counters command displays the number of BPDU transactions on each interface running spanning tree.
 +
 +{{:arista:switch:stp_arista_50_-_hvillanueva.png?800|}}
 +
 +==== show spanning-tree instance ====
 +
 +The show spanning-tree instance command displays spanning tree protocol bridge configuration settings for each instance on the switch. The display includes Bridge ID, Hello Time, Max Age, and Forward Delay times.
 +
 +The command also displays the restartability of the STP agent when the detail option is selected. A switch can continue support of MLAG operation when its peer is offline and the STP agent is unavailable.
 +
 +{{:arista:switch:stp_arista_51_-_hvillanueva.png?800|}}
 +
 +==== show spanning-tree interface ====
 +
 +The show spanning-tree interface command displays spanning tree protocol information for the specified interface.
 +
 +{{:arista:switch:stp_arista_52_-_hvillanueva.png?800|}}
 +
 +==== show spanning-tree mst ====
 +
 +The show spanning-tree mst command displays configuration and state information for Multiple Spanning Tree Protocol (MST) instances.
 +
 +{{:arista:switch:stp_arista_53_-_hvillanueva.png?800|}}
 +
 +{{:arista:switch:stp_arista_54_-_hvillanueva.png?800|}}
 +
 +==== show spanning-tree mst configuration ====
 +
 +The show spanning-tree mst configuration command displays information about the MST region’s VLAN-to-instance mapping. The command provides two display options:
 +
 +•default displays a table that lists the instance to VLAN map.
 +
 +•digest displays the configuration digest.
 +
 +The configuration digest is a 16-byte hex string calculated from the md5 encoding of the VLAN-to-instance mapping table. Switches with identical mappings have identical digests.
 +
 +{{:arista:switch:stp_arista_55_-_hvillanueva.png?800|}}
 +
 +==== show spanning-tree mst interface ====
 +
 +The show spanning-tree mst interface command displays Multiple Spanning Tree Protocol (MSTP) information for a specified interface on the specified MST instances.
 +
 +{{:arista:switch:stp_arista_56_-_hvillanueva.png?800|}}
 +
 +==== show spanning-tree mst test information ====
 +
 +The show spanning-tree mst test information displays diagnostic spanning tree protocol information.
 +
 +{{:arista:switch:stp_arista_57_-_hvillanueva.png?800|}}
 +
 +==== show spanning-tree root ====
 +
 +The show spanning-tree root command displays the Bridge-ID, cost to the root bridge, root port, and the root bridge timer settings for all instances.
 +
 +{{:arista:switch:stp_arista_58_-_hvillanueva.png?800|}}
 +
 +==== show spanning-tree topology status ====
 +
 +The show spanning-tree topology status command displays the forwarding state of ports on the specified VLANs.
 +
 +{{:arista:switch:stp_arista_59_-_hvillanueva.png?800|}}
 +
 +{{:arista:switch:stp_arista_60_-_hvillanueva.png?800|}}
 +
 +==== show spanning-tree transmit active ====
 +
 +The show spanning-tree transmit active command displays spanning tree protocol bridge assurance information for network ports or for all ports. Bridge assurance-enabled ports will not necessarily be blocked when they link to a port where bridge assurance is not enabled, but if they do not receive periodic BPDUs from the other side of the link the show spanning-tree transmit active command will show a bridge assurance status of “inconsistent” (blocking) for that port.
 +
 +{{:arista:switch:stp_arista_61_-_hvillanueva.png?800|}}
 +
 +===== Clear Commands =====
 +
 +==== clear spanning-tree counters ====
 +
 +The clear spanning-tree counters command resets the BPDU counters for the specified interfaces to zero in all CLI sessions.
 +
 +{{:arista:switch:stp_arista_62_-_hvillanueva.png?800|}}
 +
 +==== clear spanning-tree counters session ====
 +
 +The clear spanning-tree counter session command resets the BPDU counters to zero on all interfaces in the current CLI session. Counters in other CLI sessions are not affected.
 +
 +{{:arista:switch:stp_arista_63_-_hvillanueva.png?800|}}
 +
 +==== clear spanning-tree detected-protocols ====
 +
 +The clear spanning-tree detected-protocols command restarts the spanning tree protocol (STP) migration state machine on the specified interfaces. The switch is reset to running rapid spanning tree protocol on an interface where it previously detected a bridge running an old version of the protocol.
 +
 +{{:arista:switch:stp_arista_64_-_hvillanueva.png?800|}}
 +
 + --- //[[ing.hvillanueva@gmail.com|Humberto Villanueva]] 2020/11/11 02:10//
arista/switch/stp_commands.1605076344.txt.gz · Last modified: 2020/11/11 01:32 by hvillanueva

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki