Stp Config-Digest-Snooping - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

interface-list: Ethernet port list. You can specify multiple Ethernet ports by providing this argument in the
format of interface-list ={ interface-type interface-number [ to interface-type interface-number ] }
&<1-10>, where &<1-10> means that you can provide up to 10 port indexes/port index ranges for this
argument.
Description
Use the stp compliance command in interface view to configure the mode the port(s) will use to
recognize and send MSTP BPDUs. Use the undo stp compliance command to restore the
system default.
Use the stp interface compliance command in system view to set the mode in which a port
recognizes and sends MSTP packets. Use the undo stp interface compliance command to
restore the default.
The default mode is auto, namely all ports recognize the BPDU format automatically.
Note that:
If the mode is set to auto on a port, the port automatically recognizes and resolves the received
compatible-format
compatible-format or 802.1s-compliant BPDUs.
If the mode is set to legacy or dot1s on a port, the port can only receive and send BPDUs of the
specified format. If the port is configured not to detect the packet format automatically while it works
in the MSTP mode, and if it receives a packet in the format other than the configured format, it will
become a designated port and remain in the discarding state to prevent the occurrence of a loop.
Examples
# Configure Ethernet 1/0/1 to recognize and send MSTP BPDUs in dot1s format.
In Ethernet port view.
<Sysname> system-view
Enter system view, return to user view with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] stp compliance dot1s
In system view.
<Sysname> system-view
Enter system view, return to user view with Ctrl+Z.
[Sysname] stp interface Ethernet1/0/1 compliance dot1s
# Configure Ethernet 1/0/2 to Ethernet 1/0/4 to recognize and send MSTP BPDUs in dot1s format.
<Sysname> system-view
[Sysname] stp interface Ethernet 1/0/2 to Ethernet1/0/4 compliance dot1s

stp config-digest-snooping

Syntax
System view, Ethernet port view:
stp config-digest-snooping
undo stp config-digest-snooping
System view:
stp interface interface-list config-digest-snooping
BPDUs
or
802.1s-compliant
1-17
BPDUs,
and
sends,
when
needed,

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents