HP VPN Firewall Appliances Network Management Command Reference

95
Examples
# In MSTP mode, set the network diameter of the switched network to 5.
<Sysname> system-view
[Sysname] stp bridge-diameter 5
Related commands
stp timer forward-delay
stp timer hello
stp timer max-age
stp compliance
Use stp compliance to configure the mode the specified ports will use to recognize and send MSTP
BPDUs.
Use undo stp compliance to restore the default.
Syntax
stp compliance { auto | dot1s | legacy }
undo stp compliance
Default
A port automatically recognizes the formats of received MSTP packets and determines the formats of
MSTP packets to be sent based on the recognized formats.
Views
Ethernet interface view, Layer 2 aggregate interface view
Default command level
2: System level
Parameters
auto: Configures the ports to recognize the MSTP BPDU format automatically and determine the format
of MSTP BPDUs to send.
dot1s: Configures the ports to receive and send only standard-format (802.1s-compliant) MSTP BPDUs.
legacy: Configures the ports to receive and send only compatible-format MSTP BPDUs.
Usage guidelines
Configured in Ethernet interface view, the setting takes effect only on that interface.
Configured in Layer 2 aggregate interface view, the setting takes effect only on the aggregate interface.
Configured on a member port in an aggregation group, the setting takes effect only after the port leaves
the aggregation group.
Examples
# Configure GigabitEthernet 0/1 to receive and send only standard-format (802.1s) MSTP packets.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] stp compliance dot1s