HP 3600 v2 Series Command Reference Manual

HP 3600 v2 Series Command Reference Manual

Hide thumbs Also See for 3600 v2 Series:
Table of Contents

Advertisement

HP 3600 v2 Switch Series
Layer 2 - LAN Switching

Command Reference

Part number: 5998-2361
Software version: Release 2108P01
Document version: 6W100-20131130

Advertisement

Table of Contents
loading

Summary of Contents for HP 3600 v2 Series

  • Page 1: Command Reference

    HP 3600 v2 Switch Series Layer 2 - LAN Switching Command Reference Part number: 5998-2361 Software version: Release 2108P01 Document version: 6W100-20131130...
  • Page 2 The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty.
  • Page 3: Table Of Contents

    Contents Ethernet interface configuration commands ··············································································································· 1   General Ethernet interface configuration commands ···································································································· 1   combo enable ··························································································································································· 1   default ········································································································································································ 1   description ································································································································································· 2   display counters ························································································································································ 3   display counters rate ················································································································································ 4   display interface ·······················································································································································...
  • Page 4 virtual-cable-test ····················································································································································· 47   Layer 3 Ethernet interface configuration commands ·································································································· 48   mtu ·········································································································································································· 48   Loopback and null interface configuration commands ··························································································· 49   default ····································································································································································· 49   description ······························································································································································ 49   display interface loopback ··································································································································· 50   display interface null ·············································································································································...
  • Page 5 link-aggregation mode ·········································································································································· 94   link-aggregation port-priority ································································································································ 95   link-aggregation selected-port maximum ············································································································ 95   link-aggregation selected-port minimum ············································································································· 96   mtu ·········································································································································································· 97   port link-aggregation group ································································································································· 97   reset counters interface ········································································································································· 98   reset lacp statistics ················································································································································· 99  ...
  • Page 6 stp timer hello ······················································································································································· 147   stp timer max-age ················································································································································ 148   stp timer-factor ····················································································································································· 149   stp transmit-limit ··················································································································································· 149   vlan-mapping modulo ········································································································································· 150   BPDU tunneling configuration commands ············································································································· 152   bpdu-tunnel dot1q ··············································································································································· 152   bpdu-tunnel tunnel-dmac ····································································································································· 153  ...
  • Page 7 Isolate-user-VLAN configuration commands ·········································································································· 195   display isolate-user-vlan ······································································································································ 195   isolate-user-vlan ···················································································································································· 196   isolate-user-vlan enable ······································································································································· 197   isolated-vlan enable ············································································································································ 198   port isolate-user-vlan promiscuous ····················································································································· 199   port isolate-user-vlan host ···································································································································· 201   Voice VLAN configuration commands ··················································································································· 204  ...
  • Page 8 ········································································································································ 275   mvrp registration ·················································································································································· 276   reset mvrp statistics ·············································································································································· 276   Support and other resources ·································································································································· 278   Contacting HP ······························································································································································ 278   Subscription service ············································································································································ 278   Related information ······················································································································································ 278   Documents ···························································································································································· 278  ...
  • Page 9: Ethernet Interface Configuration Commands

    Ethernet interface configuration commands General Ethernet interface configuration commands combo enable Syntax combo enable { copper | fiber } View Ethernet interface view (combo interface) Default level 2: System level Parameters copper: Activates the copper combo port. fiber: Activates the fiber combo port. Description Use combo enable to activate the copper or fiber combo port.
  • Page 10: Description

    View Ethernet interface view Default level 2: System level Parameters None Description CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this command when you perform it on a live network. Use default to restore the default settings for an Ethernet interface.
  • Page 11: Display Counters

    Each Unicode character takes the space of two regular characters. • • To use Unicode characters or symbols in an interface description, install the specific input method editor and log in to the switch through remote login software that supports the character type. When the length of a description string reaches or exceeds the maximum line width on the terminal •...
  • Page 12: Display Counters Rate

    If an interface type is specified, this command displays traffic statistics for all interfaces of the • specified type. If no interface type is specified, this command displays traffic statistics for all interfaces that have • traffic counters. Examples # Display inbound traffic statistics for all Ethernet interfaces. <Sysname>...
  • Page 13 |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
  • Page 14: Display Interface

    display interface Syntax display interface [ interface-type ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ] display interface interface-type interface-number [ brief ] [ | { begin | exclude | include } regular-expression ] View Any view...
  • Page 15 Port priority: 0 Unknown-speed mode, unknown-duplex mode Link speed type is autonegotiation, link duplex type is autonegotiation Flow-control is not enabled The Maximum Frame Length is 10000 Peak value of input: 0 bytes/sec, at 2010-01-01 02:06:26 Peak value of output: 0 bytes/sec, at 2010-01-01 02:06:26 Last 300 seconds input: 0 packets/sec 0 bytes/sec Last 300 seconds output:...
  • Page 16 Field Description promiscuous mode not set The interface operates in non-promiscuous mode. Output queue (current message number in the urgent queue, maximum Output queue (Urgent queue: number of messages allowed in the urgent queue, and number of discarded Size/Length/Discards) messages). Output queue (current message number in the protocol queue, maximum Output queue (Protocol queue: number of messages allowed in the protocol queue, and number of...
  • Page 17 Input (total): 0 packets, 0 bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Input (normal): 0 packets, - bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Input: 0 input errors, 0 runts, 0 giants, 0 throttles 0 CRC, 0 frame, - overruns, 0 aborts - ignored, - parity errors Output (total): 0 packets, 0 bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses...
  • Page 18 Field Description Untagged VLAN ID VLANs for which the interface sends packets after removing VLAN tags. Peak value of input Peak value of inbound traffic, in Bps. Peak value of output Peak value of outbound traffic, in Bps. Last 300 seconds input: 0 packets/sec 0 bytes/sec Average rate of input and output traffic in the last 300 seconds, in pps and Bps.
  • Page 19 Field Description Total number of illegal inbound packets: • Fragment frames—CRC error frames shorter than 64 bytes. The length can be an integral or non-integral value. • Jabber frames—CRC error frames greater than the maximum frame length supported on the Ethernet interface (with an integral or non-integral length).
  • Page 20 NOTE: If an output field is not available, a hyphen (-) is displayed. Table 5 Description on the possible physical states of a Layer 2 Ethernet interface Field Description The interface is physically up. The interface is physically down, because no physical connection exists. DOWN Possible reason: The network cable is disconnected or faulty.
  • Page 21 Eth1/0/9 DOWN auto Eth1/0/10 DOWN auto # Filter the brief interface information to display the line starting with the (s) string and all subsequent lines. <Sysname>display interface brief | begin (s) The brief information of interface(s) under route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface Link Protocol Main IP...
  • Page 22 Field Description Physical link state of the interface: • UP—The link is up. • DOWN—The link is physically down. Link • ADM—The link has been administratively shut down. To recover its physical state, perform the undo shutdown command. • Stby—The interface is a standby interface. Protocol Protocol connection state of the interface, which can be UP, DOWN, or UP(s).
  • Page 23: Display Packet-Drop Interface

    Field Description OAM connection fails (possibly because the connection fails to be established OAM connection failure or the connection is disconnected). DLDP connection fails (possibly because the connection fails to be established DLDP connection failure or the connection is disconnected). Loopback detection-protected The interface is shut down because a loop is detected on it.
  • Page 24: Display Packet-Drop Summary

    Ethernet1/0/1: Packets dropped by GBP full or insufficient bandwidth: 301 Packets dropped by FFP: 261 Packets dropped by STP non-forwarding state: 321 Table 8 Command output Field Description Packets dropped by GBP full or insufficient Packets that are dropped because the buffer is used up or bandwidth the bandwidth is insufficient.
  • Page 25: Duplex

    duplex Syntax duplex { auto | full | half } undo duplex View Ethernet interface view Default level 2: System level Parameters auto: Sets the interface to operate in auto-negotiation mode. full: Sets the interface to operate in full duplex mode. half: Sets the interface to operate in half-duplex mode.
  • Page 26: Flow-Control Receive Enable

    TxRx mode flow control enables an Ethernet interface to receive common pause frames from its peer, and send common pause frames to notify its peer of congestions. By default, generic flow control on an Ethernet interface is disabled. With the flow-control command configured, an interface can both send and receive flow control frames: •...
  • Page 27: Flow-Interval

    [Sysname] interface ethernet 1/0/1 [Sysname-Ethernet1/0/1] flow-control receive enable flow-interval Syntax flow-interval interval undo flow-interval View Ethernet interface view Default level 2: System level Parameters interval: Sets the statistics polling interval, in seconds. It ranges from 5 to 300 and must be a multiple of Description Use flow-interval to set the interface statistics polling interval.
  • Page 28: Jumboframe Enable

    jumboframe enable Syntax jumboframe enable [ value ] undo jumboframe enable View Ethernet interface view, port group view Default level 2: System level Parameters value: Sets the maximum length of Ethernet frames that are allowed to pass through, ranging from 1536 to 10000 bytes.
  • Page 29: Link-Delay Mode Up

    Use undo link-delay to restore the default. By default, the physical state change suppression interval on an Ethernet interface is 0 seconds. Do not use this command on Ethernet interfaces with RRPP, MSTP, or Smart Link enabled. NOTE: This command does not apply to ports that are administratively shut down (with the shutdown command). Examples # Enable physical state change suppression on Ethernet 1/0/1, setting the suppression interval to 8 seconds.
  • Page 30: Loopback

    loopback Syntax loopback { external | internal } View Ethernet interface view Default level 2: System level Parameters external: Enables external loopback testing to test all on-chip functions related to Ethernet interfaces. internal: Enables internal loopback testing to test the hardware of Ethernet interfaces. Description Use loopback to enable loopback testing on an Ethernet interface.
  • Page 31: Port Link-Mode Interface-List

    Use undo port link-mode to restore the default. By default, Ethernet interfaces operate in Layer 2 mode. To meet networking requirements, you can change the link mode of a port, so it can operate as a Layer 2 Ethernet interface (in bridge mode) or Layer 3 Ethernet interface (in route mode). When you change the link mode of an Ethernet interface, all the settings of the Ethernet interface are restored to their defaults under the new link mode.
  • Page 32: Reset Counters Interface

    interface-list: Specifies an Ethernet interface list, in the format of interface-type interface-number [ to interface-type interface-number ] &<1- 1 0>, where &<1- 1 0> indicates that you can specify up to 10 interfaces or interface ranges. Description CAUTION: When you change the link mode of an Ethernet interface, all the settings of the Ethernet interface are restored to their defaults under the new link mode.
  • Page 33: Reset Packet-Drop Interface

    Examples # Clear the statistics of Ethernet 1/0/1. <Sysname> reset counters interface ethernet 1/0/1 reset packet-drop interface Syntax reset packet-drop interface [ interface-type [ interface-number ] ] View Any view Default level 2: System level Parameters interface-type: Specify an interface type. interface-number: Specify an interface number.
  • Page 34: Speed

    Parameters None Description CAUTION: After you shut down an Ethernet interface with this command, it cannot forward packets, even if it is physically connected. Use shutdown to shut down an Ethernet interface. Use undo shutdown to bring up an Ethernet interface. By default, an Ethernet interface is in up state.
  • Page 35: Layer 2 Ethernet Interface Configuration Commands

    For an Ethernet copper port, use the speed command to set its speed to match the speed of the peer interface. For a fiber port, use the speed command to set its speed to match the rate of a pluggable transceiver. The 10 and 1000 keywords are not applicable to FE fiber ports.
  • Page 36: Display Loopback-Detection

    If you execute this command in Ethernet interface view, the configuration takes effect only on the interface. If you execute this command in port group view, the configuration takes effect on all ports in the port group. When you configure the broadcast suppression threshold in kbps, if the input value is less than 64, the value that takes effect is 64;...
  • Page 37: Display Port-Group Manual

    exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display loopback-detection to display the status of the loopback detection function. If loopback detection is enabled, this command also displays the detection interval and ports in a loop condition.
  • Page 38: Display Storm-Constrain

    Description Use display port-group manual to display information about port groups. If the all keyword is specified, this command displays the name and member Ethernet interfaces of each port group on the switch. If a port group is specified, this command displays its name and member Ethernet interfaces. If you do not specify the all keyword or any port group name, the command displays the name of each port group on the switch.
  • Page 39 |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
  • Page 40: Group-Member

    Field Description Number of times the forwarding state of the interface changes. Swi-num When the Swi-num count reaches 65,535, it resets automatically. group-member Syntax group-member interface-list undo group-member interface-list View Port group view Default level 2: System level Parameters interface-list: Specifies an Ethernet interface list, in the form of interface-type interface-number [ to interface-type interface-number ] &<1- 1 0>, where &<1- 1 0>...
  • Page 41: Loopback-Detection Control Enable

    Parameters no-learning: Disables MAC address learning on the interface. semi-block: Blocks all packets but STP BPDUs, and disables MAC address learning on the interface. shutdown: Shuts down the Ethernet interface. To bring up the interface again, use the undo shutdown command.
  • Page 42: Loopback-Detection Enable

    Use undo loopback-detection control enable to restore the default. By default, loopback detection control is disabled on trunk and hybrid ports. When a hybrid or trunk port detects a loop condition, it sends traps, whether loopback detection control is enabled or not. However, only after loopback detection control is enabled will the port perform the protective action configured with the loopback-detection action command.
  • Page 43: Loopback-Detection Interval-Time

    Table 11 Actions to take upon detection of a loop condition Actions Port type No protective action is configured A protective action is configured • Place the interface in controlled mode. The • Perform the configured protective interface drops the incoming packets and action.
  • Page 44: Loopback-Detection Multi-Port-Mode Enable

    <Sysname> system-view [Sysname] loopback-detection interval-time 10 loopback-detection multi-port-mode enable Syntax loopback-detection multi-port-mode enable undo loopback-detection multi-port-mode enable View System view Default level 2: System level Parameters None Description Use loopback-detection multi-port-mode enable to enable multi-port loopback detection. Use undo loopback-detection multi-port-mode enable to restore the default. By default, multi-port loopback detection is disabled.
  • Page 45: Loopback-Detection Per-Vlan Enable

    loopback-detection per-vlan enable Syntax loopback-detection per-vlan enable undo loopback-detection per-vlan enable View Layer 2 Ethernet interface view, port group view Default level 2: System level Parameters None Description Use loopback-detection per-vlan enable to enable loopback detection in each VLAN on trunk or hybrid ports.
  • Page 46: Multicast-Suppression

    normal: Sets the MDI mode to normal. In normal mode, pins 1 and 2 of the port are transmit pins, and pins 3 and 6 are receive pins. Description Use mdi to configure the MDI mode of a copper Ethernet interface. Use undo mdi to restore the default.
  • Page 47: Port Auto-Power-Down

    If you execute this command in Ethernet interface view, the configurations take effect only on the interface. If you execute this command in port group view, the configurations take effect on all ports in the port group. When you configure the multicast suppression threshold in kbps, if the input value is less than 64, the value that takes effect is 64;...
  • Page 48: Port Bridge Enable

    Description Use port auto-power-down to enable auto power-down on Ethernet interfaces for energy efficiency. Use undo port auto-power-down to restore the default. By default, auto power-down is disabled on Ethernet interfaces. Examples # Enable auto power-down on Ethernet 1/0/1. <Sysname> system-view [Sysname] interface ethernet 1/0/1 [Sysname-Ethernet1/0/1] port auto-power-down # Enable auto power-down on all member ports of port group group1.
  • Page 49: Speed Auto

    undo port-group manual port-group-name View System view Default level 2: System level Parameters port-group-name: Sets the port group name, a string of 1 to 32 characters. Description Use port-group manual to create a port group and enter port group view. Use undo port-group manual to remove a port group.
  • Page 50: Storm-Constrain

    If the options for speed auto negotiation configured by using the speed auto command on the two ends overlap with each other, the negotiated speed will be the overlapped speed option. For example, when one end is configured with speed auto 10 100 and the other end is configured with speed auto 100, the negotiated speed will be 100 Mbps.
  • Page 51: Storm-Constrain Control

    An upper threshold must be greater than or equal to the corresponding lower threshold. HP does not recommend configuring the same value for the two thresholds. Examples # Enable unknown unicast storm control on Ethernet 1/0/1, setting the upper and lower thresholds to 200 pps and 150 pps.
  • Page 52: Storm-Constrain Enable Log

    Examples # Configure Ethernet 1/0/1 to block the traffic detected crossing the upper storm control threshold. <Sysname> system-view [Sysname] interface ethernet 1/0/1 [Sysname-Ethernet1/0/1] storm-constrain control block storm-constrain enable log Syntax storm-constrain enable log undo storm-constrain enable log View Layer 2 Ethernet interface view Default level 2: System level Parameters...
  • Page 53: Storm-Constrain Interval

    Description Use storm-constrain enable trap to enable an Ethernet interface to send storm control threshold event traps. Triggering events include traffic exceeding the upper threshold and traffic falling below the lower threshold from the upper threshold. Use undo storm-constrain enable trap to disable trap message sending. By default, a storm control-enabled interface sends traps when monitored traffic exceeds the upper threshold or falls below the lower threshold from the upper threshold.
  • Page 54: Unicast-Suppression

    unicast-suppression Syntax unicast-suppression { ratio | pps max-pps | kbps max-kbps } undo unicast-suppression View Layer 2 Ethernet interface view, port group view Default level 2: System level Parameters ratio: Sets the unknown unicast suppression threshold as a percentage of the maximum interface rate, ranging from 1 to 100.
  • Page 55: Virtual-Cable-Test

    Examples # Set the unknown unicast threshold to 20% on Ethernet 1/0/1. <Sysname> system-view [Sysname] interface ethernet 1/0/1 [Sysname-Ethernet1/0/1] unicast-suppression 20 # Set the unknown unicast threshold to 20% on all ports of port group group1. <Sysname> system-view [Sysname] port-group manual group1 [Sysname-port-group-manual-group1] group-member ethernet 1/0/1 [Sysname-port-group-manual-group1] group-member ethernet 1/0/2 [Sysname-port-group-manual-group1] unicast-suppression 20...
  • Page 56: Layer 3 Ethernet Interface Configuration Commands

    Examples # Test the cable connection of Ethernet 1/0/1. <Sysname> system-view [Sysname] interface ethernet 1/0/1 [Sysname-Ethernet1/0/1] virtual-cable-test Cable status: normal, 1 metres Pair Impedance mismatch: - Pair skew: - ns Pair swap: - Pair polarity: - Insertion loss: - db Return loss: - db Near-end crosstalk: - db NOTE:...
  • Page 57: Loopback And Null Interface Configuration Commands

    Loopback and null interface configuration commands default Syntax default View Loopback interface view, null interface view Default level 2: System level Parameters None Description Use default to restore the default settings for the loopback or null interface. This command might fail to restore the default settings for some commands for reasons such as command dependencies and system restrictions.
  • Page 58: Display Interface Loopback

    Default level 2: System level Parameters text: Creates an interface description, a string of 1 to 80 characters. Valid characters and symbols include English letters (A to Z, a to z), digits (0 to 9), special English characters, spaces, and other Unicode characters and symbols.
  • Page 59 down: Displays information about interfaces in DOWN state and the causes. If you do not specify this keyword, this command displays information about interfaces in all states. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 60 Field Description State of the data link layer protocol: up (spoofing). Spoofing refers to the spoofing attribute of the interface. When the network layer Line protocol current state protocol state of the interface is displayed as up, the corresponding link may not exist, or the corresponding link is non-permanent and established on demand.
  • Page 61: Display Interface Null

    Field Description Interface Abbreviated interface name. Physical link state of the interface: • UP—The link is up. Link • ADM—The link has been administratively shut down. To recover its physical state, perform the undo shutdown command. Protocol connection state of the interface, which can be UP, Protocol DOWN, or UP(s).
  • Page 62: Interface Loopback

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display interface null to display information about the null interface. Because Null 0 interface is the only null interface on a device, this command displays information about Null 0 interface, even if you do not specify the 0 keyword.
  • Page 63: Interface Null

    Default level 2: System level Parameters interface-number: Loopback interface number, ranging from 0 to 127. Description Use interface loopback to create a loopback interface or enter loopback interface view. Use undo interface loopback to remove a loopback interface. Related commands: display interface loopback. Examples # Create interface loopback 0.
  • Page 64: Reset Counters Interface Null

    View User view Default level 2: System level Parameters interface-number: Number of the loopback interface, which can be the number of any existing loopback interface. With this argument, the command clears statistics on a specified loopback interface. Description Use reset counters interface loopback to clear statistics on loopback interfaces. Before collecting traffic statistics within a specific period of time on a loopback interface, clear the existing statistics.
  • Page 65: Shutdown

    shutdown Syntax shutdown undo shutdown View Loopback interface view Default level 2: System level Parameters None Description Use shutdown to shut down the loopback interface. Use undo shutdown to bring up the loopback interface. By default, a loopback interface is up. Examples # Shut down loopback interface loopback 0.
  • Page 66: Bulk Interface Configuration Commands

    Bulk interface configuration commands interface range Syntax interface range interface-list View System view Default level 2: System level Parameters interface-list: Specifies an interface list in the format of interface-list = { interface-type interface-number [ to interface-type interface-number ] }&<1-5>, where &<1-5> indicates that you can specify up to five interfaces or interface ranges.
  • Page 67 undo interface range name name View System view Default level 2: System level Parameters name: Interface range name, a case-sensitive string of 1 to 32 characters. interface-list: Interface list in the format of interface-list = { interface-type interface-number [ to interface-type interface-number ] }&<1-5>.
  • Page 68 # Enter the view of interface range named myEthPort. <Sysname> system-view [Sysname] interface range name myEthPort [Sysname-if-range-myEthPort]...
  • Page 69: Mac Address Table Configuration Commands

    MAC address table configuration commands The MAC address table can contain only Layer 2 Ethernet ports and Layer 2 aggregate interfaces. This feature covers only the unicast MAC address table. For information about configuring static multicast MAC address table entries for IGMP snooping and MLD snooping, see IP Multicast Configuration Guide. display mac-address Syntax display mac-address [ mac-address [ vlan vlan-id ] | [ [ dynamic | static ] [ interface interface-type...
  • Page 70: Display Mac-Address Aging-Time

    If you execute this command without specifying any parameters, it displays information of all MAC address entries on the device, including unicast MAC address entries and static multicast MAC address entries. If you execute this command using only the vlan keyword or the count keyword, or only these two keywords, it displays information of unicast MAC address entries and static multicast MAC address entries.
  • Page 71: Display Mac-Address Mac-Learning

    Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 72: Display Mac-Address Statistics

    Examples # Display MAC address learning status of all Ethernet ports. <Sysname> display mac-address mac-learning Mac address learning status of the switch: enable PortName Learning Status Ethernet1/0/1 enable Ethernet1/0/2 enable Ethernet1/0/3 enable Ethernet1/0/4 enable Table 14 Command output Field Description Mac-address learning status of the switch Global MAC address learning status (enabled or disabled).
  • Page 73: Mac-Address (Interface View)

    Dynamic Multicast Static Multicast Total Multicast Table 15 Command output Field Description MAC address type: • Dynamic Unicast • Static Unicast • MAC TYPE Total Unicast • Dynamic Multicast • Static Multicast • Total Multicast LEARNED Dynamically learned MAC addresses USER-DEFINED User defined MAC addresses (dynamic and static) MAC addresses generated by the system (for example, 802.1x and MAC...
  • Page 74: Mac-Address (System View)

    By default, no MAC address entry is configured on an interface. The MAC address entries configuration cannot survive a reboot unless you save it. The dynamic MAC address table entries, however, are lost at next reboot whether or not you save the configuration. Related commands: display mac-address.
  • Page 75: Mac-Address Destination-Hit Disable

    interface interface-type interface-number: Specifies an outbound interface by its type and number. Description Use mac-address to add or modify a MAC address entry. Use undo mac-address to remove one or all MAC address entries. By default, no MAC address entry is configured in the system. A static or blackhole MAC address entry will not be overwritten by a dynamic MAC address entry.
  • Page 76: Mac-Address Mac-Learning Disable

    mac-address mac-learning disable Syntax mac-address mac-learning disable undo mac-address mac-learning disable View VLAN view Default level 2: System level Parameters None Description Use mac-address mac-learning disable to disable MAC address learning on a VLAN. Use undo mac-address mac-learning disable to enable MAC address learning on a VLAN. By default, MAC address learning is enabled.
  • Page 77: Mac-Address Max-Mac-Count

    Description Use mac-address mac-roaming enable to enable MAC address roaming. Use undo mac-address mac-roaming enable to disable MAC address roaming. By default, MAC address roaming is disabled. Examples # Enable MAC address roaming. <Sysname> system-view [Sysname] mac-address mac-roaming enable mac-address max-mac-count Syntax mac-address max-mac-count count undo mac-address max-mac-count...
  • Page 78: Mac-Flapping Notification Enable

    View System view Default level 2: System level Parameters aging seconds: Sets an aging timer (in seconds) for dynamic MAC address entries. The value is in the range of 10 to 1000000 seconds. no-aging: Sets dynamic MAC address entries not to age. Description Use mac-address timer to configure the aging timer for dynamic MAC address entries.
  • Page 79 [Sysname] mac-flapping notification enable [Sysname] %Sep 21 14:09:22:420 2012 HP MAC/5/MAC_FLAPPING: MAC address 0000-0012-0034 in vlan 500 has flapped from port Ethernet1/0/16 to port Ethernet1/0/1 1 time(s). The output shows that the MAC address 0000-0012-0034 belongs to VLAN 500, the source interface from which the MAC address migrates from is GE1/0/16, the current interface with which the MAC address associates is GE1/0/1, and the MAC address migrates one time in the last one minute.
  • Page 80: Mac Information Configuration Commands

    MAC Information configuration commands MAC Information applies only to Layer 2 Ethernet interfaces. mac-address information enable (interface view) Syntax mac-address information enable { added | deleted } undo mac-address information enable { added | deleted } View Layer 2 Ethernet interface view Default level 1: Monitor level Parameters...
  • Page 81: Mac-Address Information Interval

    Parameters None Description Use mac-address information enable to enable MAC Information globally. Use undo mac-address information enable to restore the default. By default, MAC Information is disabled globally. Examples # Enable MAC Information globally. <Sysname> system-view [Sysname] mac-address information enable mac-address information interval Syntax mac-address information interval interval-time...
  • Page 82: Mac-Address Information Queue-Length

    Parameters syslog: Specifies that the device sends Syslog messages to inform the remote network management device of MAC address changes. trap: Specifies that the device sends trap messages to inform the remote network management device of MAC address changes. Description Use mac-address information mode to set the MAC Information mode (to use Syslog messages or trap messages) to inform the remote network management device of MAC address changes.
  • Page 83: Ethernet Link Aggregation Configuration Commands

    Ethernet link aggregation configuration commands default Syntax default View Layer 2 aggregate interface view, Layer 3 aggregate interface view Default level 2: System level Parameters None Description Use default to restore the default settings for an aggregate interface. CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this command when you execute it on a live network.
  • Page 84: Display Interface

    Default level 2: System level Parameters text: Specifies the interface description, a string of 1 to 80 characters. Description Use description to set a description for an interface. For example, you can include information such as the purpose of the interface for the ease of management. Use undo description to restore the default setting.
  • Page 85 include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display interface to display aggregate interface information. If bridge-aggregation | route-aggregation is not specified, this command displays information about all interfaces.
  • Page 86 Internet protocol processing : disabled IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 0023-8912-3d07 IPv6 Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 0023-8912-3d07 Last clearing of counters: Never Unknown-speed mode, Link speed type is autonegotiation, link duplex type is force link Flow-control is not enabled The Maximum Frame Length is 0 Peak value of input: 0 bytes/sec, at 0000-00-00 00:00:00 Peak value of output: 0 bytes/sec, at 0000-00-00 00:00:00...
  • Page 87 Table 16 Command output Field Description The Layer 2/Layer 3 interface status: • DOWN ( Administratively )—The interface is administratively shut down with the shutdown command. Bridge-Aggregation1/Route-Aggr egation1 current state • DOWN—The interface is administratively up but physically down (possibly because no physical link is present or the link is faulty). •...
  • Page 88: Display Lacp System-Id

    Field Description Speed Interface speed, in bps. Cause Cause of a DOWN physical link. display lacp system-id Syntax display lacp system-id [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression.
  • Page 89: Display Link-Aggregation Load-Sharing Mode

    display link-aggregation load-sharing mode Syntax display link-aggregation load-sharing mode [ interface [ { bridge-aggregation | route-aggregation } interface-number ] ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters bridge-aggregation: Displays the load sharing criteria of the aggregation group corresponding to the specified Layer 2 aggregate interface.
  • Page 90: Display Link-Aggregation Member-Port

    Bridge-Aggregation10 Load-Sharing Mode: Layer 2 traffic: packet type-based sharing Layer 3 traffic: packet type-based sharing Table 18 Command output Field Description Link-Aggregation Load-Sharing Global link-aggregation load sharing criteria. Mode Link-aggregation load sharing criteria of the aggregation group Bridge-Aggregation10 corresponding to the aggregate interface Bridge-Aggregation 10. Load-Sharing Mode Link-aggregation load sharing criteria of the aggregation group Route-Aggregation10...
  • Page 91 Examples # Display detailed link aggregation information for Ethernet 1/0/1, a member port of a static aggregation group. <Sysname>display link-aggregation member-port ethernet 1/0/1 Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation, D -- Synchronization, E -- Collecting, F -- Distributing, G -- Defaulted, H -- Expired Ethernet1/0/1: Aggregation Interface: Bridge-Aggregation1...
  • Page 92: Display Link-Aggregation Summary

    Table 19 Command output Field Description LACP state flags: • A—LACP is enabled. • B—Indicates the LACP short timeout. • C—The sending system detects that the link is aggregatable. • Flags D—The sending system detects that the link is synchronized. •...
  • Page 93 Description Use display link-aggregation summary to display the summary information for all aggregation groups. The information about the remote system for a static link aggregation group may be displayed as none or may not be displayed, because the aggregation group is not aware of the partner’s information. Examples # Display the summary information for all aggregation groups.
  • Page 94: Display Link-Aggregation Verbose

    display link-aggregation verbose Syntax display link-aggregation verbose [ { bridge-aggregation | route-aggregation } [ interface-number ] ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters bridge-aggregation: Displays detailed information about the Layer 2 aggregation groups corresponding to Layer 2 aggregate interfaces.
  • Page 95 G -- Defaulted, H -- Expired Aggregation Interface: Bridge-Aggregation1 Aggregation Mode: Dynamic Loadsharing Type: Shar System ID: 0x8000, 000f-e267-6c6a Local: Port Status Priority Oper-Key Flag ------------------------------------------------------------------------------- Eth1/0/26 32768 {ACDEF} Eth1/0/32 32768 {ACDEF} Remote: Actor Partner Priority Oper-Key SystemID Flag ------------------------------------------------------------------------------- Eth1/0/26 32768 0x8000, 000f-e267-57ad {ACDEF}...
  • Page 96: Enable Snmp Trap Updown

    Field Description LACP state flags: • A—LACP is enabled. • B—Indicates the LACP short timeout. • C—The sending system detects that the link is aggregatable. • Flags D—The sending system detects that the link is synchronized. • E—The sending system detects that the incoming frames are collected. •...
  • Page 97: Interface Bridge-Aggregation

    Use undo enable snmp trap updown to disable linkUp/linkDown trap generation for the aggregate interface. By default, linkUp/linkDown trap generation is enabled for an aggregate interface. For an aggregate interface to generate linkUp/linkDown traps when its link state changes, you must also enable linkUp/linkDown trap generation globally with the snmp-agent trap enable [ standard [ linkdown | linkup ] * ] command.
  • Page 98: Interface Route-Aggregation

    interface route-aggregation Syntax interface route-aggregation interface-number undo interface route-aggregation interface-number View System view Default level 2: System level Parameters interface-number: Specifies a Layer 3 aggregate interface by its number, in the range of 1 to 128. Description Use interface route-aggregation to create a Layer 3 aggregate interface and enter the Layer 3 aggregate interface view.
  • Page 99: Lacp System-Priority

    Examples # Set the LACP timeout interval on Ethernet 1/0/1 to the short timeout interval (1 second). <Sysname> system-view [Sysname] interface ethernet 1/0/1 [Sysname-Ethernet1/0/1] lacp period short lacp system-priority Syntax lacp system-priority system-priority undo lacp system-priority View System view Default level 2: System level Parameters system-priority: Specifies the LACP priority of the local system, in the range of 0 to 65535.
  • Page 100: Link-Aggregation Load-Sharing Mode

    Description Use link-aggregation lacp traffic-redirect-notification enable to enable link-aggregation traffic redirection. Use undo link-aggregation lacp traffic-redirect-notification enable to disable link-aggregation traffic redirection. By default, link-aggregation traffic redirection is disabled. Link-aggregation traffic redirection applies only to dynamic link aggregation groups. To prevent traffic interruption, enable link-aggregation traffic redirection on devices at both ends of the aggregate link.
  • Page 101 source-mac: Performs load sharing in link aggregation groups based on source MAC address. source-port: Performs load sharing in link aggregation groups based on source port. Description Use link-aggregation load-sharing mode to configure the global or group-specific link-aggregation load sharing criteria. Use undo link-aggregation load-sharing mode to restore the default setting.
  • Page 102: Link-Aggregation Load-Sharing Mode Local-First

    [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] link-aggregation load-sharing mode destination-mac link-aggregation load-sharing mode local-first Syntax link-aggregation load-sharing mode local-first undo link-aggregation load-sharing mode local-first View System view Default level 2: System level Parameters None Description Use link-aggregation load-sharing mode local-first to enable local-first load sharing for link aggregation.
  • Page 103: Link-Aggregation Port-Priority

    Description Use the link-aggregation mode dynamic command to configure an aggregation group to operate in dynamic aggregation mode. Use undo link-aggregation mode to restore the default setting. By default, an aggregation group operates in static aggregation mode. To change the aggregation mode of an aggregation group that contains member ports, remove all the member ports from the aggregation group first.
  • Page 104: Link-Aggregation Selected-Port Minimum

    View Layer 2 aggregate interface view, Layer 3 aggregate interface view Default level 2: System level Parameters number: Specifies the maximum number of Selected ports allowed in an aggregation group. This argument ranges from 1 to 8. Description Use link-aggregation selected-port maximum to configure the maximum number of Selected ports allowed in the aggregation group.
  • Page 105: Mtu

    Executing this command may cause all the member ports in the aggregation group to become unselected. The minimum numbers of Selected ports for the local and peer aggregation groups must be consistent. Examples # Configure the minimum number of Selected ports as 3 in the aggregation group corresponding to Layer 2 aggregate interface Bridge-Aggregation 1.
  • Page 106: Reset Counters Interface

    Parameters number: Specifies the number of the aggregate interface corresponding to an aggregation group. The number argument ranges from 1 to 128. Description Use port link-aggregation group to assign the Ethernet interface to the specified aggregation group. Use undo port link-aggregation group to remove the Ethernet interface from the aggregation group to which it belongs.
  • Page 107: Reset Lacp Statistics

    If the bridge-aggregation interface-number or route-aggregation interface-number keyword and • argument combination is specified, the command clears the statistics of the specified Layer 2 or Layer 3 aggregate interface. • The bridge-aggregation or route-aggregation keyword becomes available only after you create Layer 2 or Layer 3 aggregate interfaces on the device.
  • Page 108 Description Use shutdown to shut down the aggregate interface. Use undo shutdown to bring up the aggregate interface. By default, aggregate interfaces are up. Examples # Shut down Layer 2 aggregate interface Bridge-Aggregation 1. <Sysname> system-view [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] shutdown...
  • Page 109: Port Isolation Configuration Commands

    Port isolation configuration commands display port-isolate group Syntax display port-isolate group [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 110: Port-Isolate Enable

    port-isolate enable Syntax port-isolate enable undo port-isolate enable View Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view Default level 2: System level Parameters None Description Use port-isolate enable to assign a port to an isolation group. Use undo port-isolate enable to remove a port from the isolation group.
  • Page 111 # Assign Layer 2 aggregate interface Bridge-Aggregation 1 to the isolation group. <Sysname> system-view [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] quit [Sysname] interface ethernet 1/0/1 [Sysname-Ethernet1/0/1] port link-aggregation group 1 [Sysname-Ethernet1/0/1] quit [Sysname] interface ethernet 1/0/2 [Sysname-Ethernet1/0/2] port link-aggregation group 1 [Sysname-Ethernet1/0/2] quit [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] port-isolate enable...
  • Page 112: Spanning Tree Configuration Commands

    MSTP by using the stp enable command. HP recommends that you use the check region-configuration command to determine whether the MST region configurations to be activated are correct. Run this command only when they are correct.
  • Page 113: Check Region-Configuration

    VLAN-to-instance mapping entries in the MST region, and if they are connected by a physical link. HP recommends that you use this command to determine whether the MST region configurations to be activated are correct. Activate them only when they are correct.
  • Page 114: Display Stp

    Configuration digest :0x41b5018aca57daa8dcfdba2984d99d06 Instance Vlans Mapped 1 to 9, 11 to 4094 Table 23 Command output Field Description Format selector Format selector of the MST region, which is 0 (not configurable). Region name MST region name. Revision level Revision level of the MST region. Instance Vlans Mapped VLAN-to-instance mappings in the MST region.
  • Page 115 Description Use display stp to display the spanning tree status and statistics. Based on the spanning tree status and statistics, you can analyze and maintain the network topology or check whether spanning tree is working properly. In STP/RSTP mode, follow these guidelines: •...
  • Page 116 [Sysname] display stp vlan 2 interface ethernet 1/0/1 to ethernet 1/0/4 brief VLAN Port Role STP State Protection Ethernet1/0/1 ALTE DISCARDING LOOP Ethernet1/0/2 DESI FORWARDING NONE Ethernet1/0/3 DESI FORWARDING NONE Ethernet1/0/4 DESI FORWARDING NONE Table 24 Command output Field Description MSTID MSTI ID in the MST region.
  • Page 117 Port Protocol :enabled Port Role :CIST Designated Port Port Priority :128 Port Cost(Legacy) :Config=auto / Active=200 Desg. Bridge/Port :32768.000f-e200-2200 / 128.2 Port Edged :Config=disabled / Active=disabled Point-to-point :Config=auto / Active=true Transmit Limit :10 packets/hello-time Protection Type :None MST BPDU Format :Config=auto / Active=legacy Port Config- Digest-Snooping...
  • Page 118 Port Edged :Config=disabled / Active=disabled Point-to-point :Config=auto / Active=true Transmit Limit :10 packets/hello-time Protection Type :None Rapid transition :false PortTimes :Hello 2s MaxAge 20s FwDly 15s MsgAge 2s BPDU Sent :186 TCN: 0, Config: 0, RST: 0 BPDU Received TCN: 0, Config: 0, RST: 0, MST: 0 -------[VLAN 2 Global Info]------- Protocol Status :enabled...
  • Page 119 Field Description CIST Root/ERPC CIST root ID and external path cost (the path cost from the device to the CIST root). CIST regional root ID and internal path cost (the path cost from the device to the CIST RegRoot/IRPC CIST regional root). Root ID / RPC VLAN root ID and root path cost (the path cost from the device to the root).
  • Page 120: Display Stp Abnormal-Port

    Field Description Format of the MST BPDUs that the port can send, which can be legacy or 802.1s. • MST BPDU Format Config—Configured value. • Active—Actual value. Port Config- Status of Digest Snooping on the port. Digest-Snooping Rapid transition The port rapidly transits to the forwarding state or not in the MSTI or VLAN. Num of Vlans Mapped Number of VLANs mapped to the MSTI.
  • Page 121 View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 122: Display Stp Bpdu-Statistics

    display stp bpdu-statistics Syntax display stp bpdu-statistics [ interface interface-type interface-number [ instance instance-id ] ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters interface interface-type interface-number: Displays the BPDU statistics on a specified port, where interface-type interface-number indicates the port type and number.
  • Page 123 --------------------------- ---------- ----------------- Invalid BPDUs Looped-back BPDUs MAX-aged BPDUs TCN sent TCN received TCA sent TCA received 10:33:12 01/13/2010 Config sent Config received RST sent RST received MST sent 10:33:11 01/13/2010 MST received 10:37:43 01/13/2010 Instance 0: Type Count Last Updated --------------------------- ---------- ----------------- Timeout BPDUs MAX-hoped BPDUs...
  • Page 124 Port: Ethernet1/0/1 Type Count Last Updated --------------------------- ---------- ----------------- Invalid BPDUs Looped-back BPDUs MAX-aged BPDUs TCN sent TCN received TCA sent TCA received 10:33:12 01/13/2010 Config sent Config received RST sent RST received MST sent 10:33:11 01/13/2010 MST received 10:37:43 01/13/2010 Timeout BPDUs MAX-hoped BPDUs TC detected...
  • Page 125: Display Stp Down-Port

    Field Description Max-Hoped BPDUs BPDUs whose maximum hops were exceeded. TC Detected TC BPDUs detected. TC Sent TC BPDUs sent. TC Received TC BPDUs received. display stp down-port Syntax display stp down-port [ | { begin | exclude | include } regular-expression ] View Any view Default level...
  • Page 126: Display Stp History

    display stp history Syntax display stp [ instance instance-id | vlan vlan-id ] history [ slot slot-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 0: Visit level Parameters instance instance-id: Displays the historical port role calculation information of a specific MSTI. The value of instance-id ranges from 0 to 32, where 0 represents the CIST.
  • Page 127: Display Stp Region-Configuration

    Examples # In MSTP mode, display the historical port role calculation information of IRF member switch 1 in MSTI <Sysname> display stp instance 2 history slot 1 --------------- STP slot 1 history trace --------------- ------------------- Instance 2 --------------------- Port Ethernet1/0/1 Role change : ROOT->DESI (Aged) Time...
  • Page 128 View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 129: Display Stp Root

    Table 30 Command output Field Description Format selector defined by the spanning tree protocol. The default value is 0 Format selector and the selector cannot be configured. Region name MST region name. Revision level of the MST region, which can be configured by using the Revision level revision-level command and defaults to 0.
  • Page 130: Display Stp Tc

    0.00e0-fc0e-6554 200200 Ethernet1/0/1 Table 31 Command output Field Description External path cost. The device automatically calculates the default path cost of a ExtPathCost port. Or, you can use the stp cost command to configure the path cost of a port. Internal path cost.
  • Page 131: Instance

    If you do not specify any MSTI, this command displays the statistics of TC/TCN BPDUs received and • sent by all ports in all MSTIs. The displayed information is sorted by instance ID and by port name in each MSTI. •...
  • Page 132: Region-Name

    Default level 2: System level Parameters instance-id: Specifies an MSTI ID. The minimum value is 0, representing the CIST. • In MSTP mode, the value range of the instance-id argument is 0 to 32 for the instance command and 1 to 32 for the undo instance command. In PVST mode, the value range of the instance-id argument is 0 to 128 for the instance command •...
  • Page 133: Reset Stp

    Description Use region-name to configure the MST region name. Use undo region-name to restore the default MST region name. By default, the MST region name of a device is its MAC address. The MST region name, the VLAN-to-instance mapping table, and the MSTP revision level of a device determine the device's MST region.
  • Page 134: Revision-Level

    revision-level Syntax revision-level level undo revision-level View MST region view Default level 2: System level Parameters level: Specifies an MSTP revision level, in the range of 0 to 65535. Description Use revision-level to configure the MSTP revision level. Use undo revision-level to restore the default MSTP revision level. By default, the MSTP revision level is 0.
  • Page 135: Stp Bridge-Diameter

    Description Use stp bpdu-protection to enable the BPDU guard function. Use undo stp bpdu-protection to disable the BPDU guard function. By default, the BPDU guard function is disabled. Examples # Enable the BPDU guard function. <Sysname> system-view [Sysname] stp bpdu-protection stp bridge-diameter Syntax stp [ vlan vlan-list ] bridge-diameter diameter...
  • Page 136: Stp Compliance

    Examples # In MSTP mode, set the network diameter of the switched network to 5. <Sysname> system-view [Sysname] stp bridge-diameter 5 # In PVST mode, set the network diameter of VLAN 2 to 5. <Sysname> system-view [Sysname] stp mode pvst [Sysname] stp vlan 2 bridge-diameter 5 stp compliance Syntax...
  • Page 137: Stp Config-Digest-Snooping

    stp config-digest-snooping Syntax stp config-digest-snooping undo stp config-digest-snooping View System view, Ethernet interface view, port group view, Layer 2 aggregate interface view Default level 2: System level Parameters None Description Use stp config-digest-snooping to enable Digest Snooping. Use undo stp config-digest-snooping to disable Digest Snooping. The feature is disabled by default.
  • Page 138 Default level 2: System level Parameters instance instance-id: Sets the path cost of the ports in a particular MSTI. The value of instance-id ranges from 0 to 32, where 0 represents the CIST. vlan vlan-list: Specifies a VLAN list in the format of vlan-list = { vlan-id [ to vlan-id ] }&<1- 1 0>, where the vlan-id argument represents the VLAN ID, in the range of 1 to 4094, and &<1- 1 0>...
  • Page 139: Stp Edged-Port

    You can enable the port to transit to the forwarding state rapidly by configuring it as an edge port. HP recommends you to configure ports directly connecting to user terminals as edge ports. Typically, configuration BPDUs from other devices cannot reach an edge port, because the edge port does not connect to any other device.
  • Page 140: Stp Enable

    stp enable Syntax In system view: stp [ vlan vlan-list ] enable undo stp [ vlan vlan-list ] enable In Ethernet interface, Layer 2 aggregate interface, or port group view: stp enable undo stp enable View System view, Ethernet interface view, port group view, Layer 2 aggregate interface view Default level 2: System level Parameters...
  • Page 141: Stp Loop-Protection

    [Sysname] stp enable # In PVST mode, enable the spanning tree feature globally and in VLAN 2. <Sysname> system-view [Sysname] stp mode pvst [Sysname] stp enable [Sysname] stp vlan 2 enable # In MSTP mode, disable the spanning tree feature on port Ethernet 1/0/1. <Sysname>...
  • Page 142: Stp Max-Hops

    stp max-hops Syntax stp max-hops hops undo stp max-hops View System view Default level 2: System level Parameters hops: Sets the maximum hops, in the range of 1 to 40. Description Use stp max-hops to set the maximum hops of the MST region. Use undo stp max-hops to restore the default.
  • Page 143: Stp Mode

    port on Device C and connecting to Device B will transit to the STP mode. After you enable the spanning tree feature on Device B, to run MSTP, RSTP, or PVST between Device B and Device C, you must perform an mCheck operation on the ports interconnecting Device B and Device C, in addition to configuring the spanning tree to operate in MSTP, RSTP, or PVST mode on Device B.
  • Page 144: Stp No-Agreement-Check

    <Sysname> system-view [Sysname] stp mode stp stp no-agreement-check Syntax stp no-agreement-check undo stp no-agreement-check View Ethernet interface view, port group view, Layer 2 aggregate interface view Default level 2: System level Parameters None Description Use stp no-agreement-check to enable No Agreement Check on the ports. Use undo stp no-agreement-check to disable No Agreement Check on the ports.
  • Page 145: Stp Point-To-Point

    Parameters dot1d-1998: Configures the device to calculate the default path cost for ports based on IEEE 802.1d- 1 998. dot1t: Configures the device to calculate the default path cost for ports based on IEEE 802.1t. legacy: Configures the device to calculate the default path cost for ports based on a private standard. Description Use stp pathcost-standard to specify a standard for the device to use when calculating the default path costs for ports.
  • Page 146: Stp Port Priority

    You can configure the link type as point-to-point for a Layer 2 aggregate interface or a port that operates in full duplex mode. HP recommends that you use the default setting, which lets the device automatically detect the port link type.
  • Page 147: Stp Port-Log

    Configured on a member port in an aggregation group, the setting takes effect only after the port leaves the aggregation group. To set the priority of an MSTP port in a specific MSTI, use this command with the MSTI specified. To set the priority of a PVST port in a specific VLAN or multiple VLANs, use this command with a VLAN list specified.
  • Page 148: Stp Priority

    By default, this function is enabled. Examples # In MSTP mode, enable outputting port state transition information for MSTI 2. <Sysname> system-view [Sysname] stp port-log instance 2 %Aug 16 00:49:41:856 2006 Sysname MSTP/3/MSTP_DISCARDING: Instance 2's Ethernet1/0/1 has been set to discarding state! %Aug 16 00:49:41:856 2006 Sysname MSTP/3/MSTP_DISCARDING: Instance 2's Ethernet1/0/2 has been set to forwarding state! The output shows that Ethernet 1/0/1 in MSTI 2 transited to the discarding state and Ethernet 1/0/2 in...
  • Page 149: Stp Region-Configuration

    By default, the device priority is 32768. To set the priority of an MSTP device in a specific MSTI, use this command with the MSTI specified. To set the priority of a PVST device in a specific VLAN or multiple VLANs, use this command with a VLAN list specified.
  • Page 150: Stp Root Primary

    stp root primary Syntax stp [ instance instance-id | vlan vlan-list ] root primary undo stp [ instance instance-id | vlan vlan-list ] root View System view Default level 2: System level Parameters instance instance-id: Configures the device as the root bridge in a particular MSTI. The value of instance-id ranges from 0 to 32, where 0 represents the CIST.
  • Page 151: Stp Root-Protection

    Default level 2: System level Parameters instance instance-id: Configures the device as a secondary root bridge in a particular MSTI. The value of instance-id ranges from 0 to 32, where 0 represents the CIST. vlan vlan-list: Specifies a VLAN list in the format of vlan-list = { vlan-id [ to vlan-id ] }&<1- 1 0>, where the vlan-id argument represents the VLAN ID, in the range of 1 to 4094, and &<1- 1 0>...
  • Page 152: Stp Tc-Protection

    Use undo stp root-protection to restore the default. By default, the root guard function is disabled. Configured in Ethernet interface view, the setting takes effect only on the interface. Configured in port group view, the setting takes effect on all ports in the port group. Configured in Layer 2 aggregate interface view, the setting takes effect only on the aggregate interface.
  • Page 153: Stp Tc-Snooping

    View System view Default level 2: System level Parameters number: Sets the maximum number of immediate forwarding address entry flushes that the device can perform within a certain period of time (10 seconds). The value ranges from 1 to 255. Description Use stp tc-protection threshold to configure the maximum number of forwarding address entry flushes that the device can perform every a certain period of time (10 seconds).
  • Page 154: Stp Timer Forward-Delay

    VLAN or multiple VLANs in PVST mode, use this command with a VLAN list specified. HP does not recommend that you set the forward delay with this command. Instead, you can specify the network diameter of the switched network by using the stp bridge-diameter command and let spanning tree protocols automatically calculate optimal settings of the forward delay timer.
  • Page 155: Stp Timer Hello

    VLAN or multiple VLANs in PVST mode, use this command with a VLAN list specified. HP does not recommend that you set the hello time with this command. Instead, you can specify the network diameter of the switched network by using the stp bridge-diameter command and let spanning tree protocols automatically calculate optimal settings of the hello timer.
  • Page 156: Stp Timer Max-Age

    VLAN or multiple VLANs in PVST mode, use this command with a VLAN list specified. HP does not recommend that you set the max age timer with this command. Instead, you can specify the network diameter of the switched network by using the stp bridge-diameter command and let spanning tree protocols automatically calculate optimal settings of the max age timer.
  • Page 157: Stp Timer-Factor

    You can avoid such unwanted spanning tree calculations by lengthening the timeout time (by setting the timeout factor to 4 or more), saving the network resources. HP recommends you to set the timeout factor to 5, 6, or 7 for a stable network.
  • Page 158: Vlan-Mapping Modulo

    A larger maximum transmission rate value requires more system resources. An appropriate maximum transmission rate setting can prevent spanning tree protocols from using excessive bandwidth resources during network topology changes. HP recommends that you use the default value. Examples # Set the maximum transmission rate of port Ethernet 1/0/1 to 5.
  • Page 159 VLAN 1 will be mapped to MSTI 1, VLAN 2 to MSTI 2, VLAN 15 to MSTI 15, VLAN 16 to MSTI 1, and so on. Related commands: region-name, revision-level, display region-configuration, check region-configuration, and active region-configuration. Examples # Map VLANs to MSTIs as per modulo 8. <Sysname>...
  • Page 160: Bpdu Tunneling Configuration Commands

    BPDU tunneling configuration commands bpdu-tunnel dot1q Syntax In Layer 2 Ethernet interface view or port group view: bpdu-tunnel dot1q { cdp | dldp | eoam | gvrp | hgmp | lacp | lldp | pagp | pvst | stp | udld | vtp } undo bpdu-tunnel dot1q { cdp | dldp | eoam | gvrp | hgmp | lacp | lldp | pagp | pvst | stp | udld | vtp } In Layer 2 aggregate interface view:...
  • Page 161: Bpdu-Tunnel Tunnel-Dmac

    Settings made in Layer 2 Ethernet interface view or Layer 2 aggregate interface view take effect only on the Ethernet interface or aggregate interface. Settings made in port group view take effect on all ports in the port group. You cannot enable BPDU tunneling on a member port of a service loopback group. Before enabling BPDU tunneling for DLDP, EOAM, GVRP, HGMP, LLDP, or STP on a port, disable the protocol on the port first.
  • Page 162 Description Use bpdu-tunnel tunnel-dmac to configure the destination multicast MAC address for BPDUs. Use undo bpdu-tunnel tunnel-dmac to restore the default value. By default, the destination multicast MAC address for BPDUs is 0x010F-E200-0003. Examples # Set the destination multicast MAC address for BPDUs to 0x0100-0CCD-CDD0. <Sysname>...
  • Page 163: Vlan Configuration Commands

    VLAN configuration commands Basic VLAN configuration commands default Syntax default View VLAN interface view Default level 2: System level Parameters None Description CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this command when you perform it on a live network. Use default to restore the default settings for a VLAN interface.
  • Page 164 View VLAN view, VLAN interface view Default level 2: System level Parameters text: Specifies the description of a VLAN or VLAN interface. The string can include case-sensitive letters, digits, special characters such as tilde (~), exclamation point (!), at sign (@), pound sign (#), dollar sign ($), percent sign (%), caret (^), ampersand sign (&), asterisk (*), left brace({), right brace (}), left parenthesis ((), right parenthesis ()), left bracket ([), right bracket (]), left angle bracket (<), right angle bracket (>), hyphen (-), underscore(_), plus sign (+), equal sign (=), vertical bar (|), back slash (\), colon...
  • Page 165: Display Interface Vlan-Interface

    display interface vlan-interface Syntax display interface [ vlan-interface ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ] display interface vlan-interface vlan-interface-id [ brief ] [ | { begin | exclude | include } regular-expression ] View Any view...
  • Page 166 0 packets input, 0 bytes, 0 drops 0 packets output, 0 bytes, 0 drops # Display brief information for VLAN-interface 2. <Sysname> display interface vlan-interface 2 brief The brief information of interface(s) under route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface Link Protocol Main IP...
  • Page 167: Display Vlan

    Field Description Time when the reset counters interface vlan-interface command was last used to clear the interface statistics. Last clearing of counters Never indicates the reset counters interface command has never been used on the interface since the device’s startup. Last 300 seconds input: 0 bytes/sec Average rate of input packets in the last 300 seconds (in bps and pps).
  • Page 168 Default level 1: Monitor level Parameters vlan-id1: Displays information about a VLAN specified by VLAN ID, in the range of 1 to 4094. vlan-id1 to vlan-id2: Displays information about VLANs specified by a VLAN ID range. The vlan-id2 argument cannot be smaller than the vlan-id1 argument. all: Displays all VLAN information but the reserved VLANs.
  • Page 169: Interface Vlan-Interface

    2001::1, subnet is 2001::/64 [TENTATIVE] Description: VLAN 0003 Name: VLAN 0003 Tagged Ports: none Untagged Ports: none Table 34 Command output Field Description VLAN Type VLAN type, static or dynamic. Route interface Indicates whether the VLAN interface is configured or not. Description Description of the VLAN.
  • Page 170: Ip Address

    To configure an IP address for a VLAN interface that will perform IP routing, use the ip address command in VLAN interface view. Related commands: display interface vlan-interface. Examples # Create VLAN-interface 2. <Sysname> system-view [Sysname] vlan 2 [Sysname-vlan2] quit [Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2] ip address...
  • Page 171: Mtu

    Examples # Specify the IP address as 1.1.0.1, the subnet mask as 255.255.255.0 for VLAN interface 1. <Sysname> system-view [Sysname] interface vlan-interface 1 [Sysname-Vlan-interface1] ip address 1.1.0.1 255.255.255.0 Syntax mtu size undo mtu View VLAN interface view Default level 2: System level Parameters size: Sets the maximum transmission unit (MTU), in the range of 46 to 1500 bytes.
  • Page 172: Reset Counters Interface Vlan-Interface

    parenthesis ((), right parenthesis ()), left bracket ([), right bracket (]), left angle bracket (<), right angle bracket (>), hyphen (-), underscore(_), plus sign (+), equal sign (=), vertical bar (|), back slash (\), colon (:), semi-colon (;) quotation marks ("), apostrophe ('), comma (,), dot (.), and slash (/), spaces, and other Unicode characters and symbols.
  • Page 173: Shutdown

    shutdown Syntax shutdown undo shutdown View VLAN interface view Default level 2: System level Parameters None Description Use shutdown to manually shut down a VLAN interface. Use undo shutdown to cancel the action of shutting down a VLAN interface. By default, a VLAN interface is not manually shut down. The VLAN interface is up if one or more ports in the VLAN is up, and goes down if all ports in the VLAN go down.
  • Page 174: Port-Based Vlan Configuration Commands

    Parameters vlan-id1, vlan-id2: Specifies a VLAN ID, in the range of 1 to 4094. vlan-id1 to vlan-id2: Specifies a VLAN range. The vlan-id2 argument cannot be smaller than the vlan-id1 argument. all: Creates or removes all VLANs except reserved VLANs. The keyword is not supported when the maximum number of VLANs that can be created on a device is less than 4094.
  • Page 175 View Any view Default level 1: Monitor level Parameters hybrid: Displays hybrid ports. trunk: Displays trunk ports. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 176: Port

    port Syntax port interface-list undo port interface-list View VLAN view Default level 2: System level Parameters interface-list: Specifies an interface list, in the format of interface-list = { interface-type interface-number [ to interface-type interface-number ] }&<1- 1 0>, where interface-type interface-number represents the interface type and interface number and &<1- 1 0>...
  • Page 177: Port Hybrid Pvid

    Parameters vlan-id: Specifies a VLAN ID, in the range of 1 to 4094. Verify that the VLAN specified by the VLAN ID already exists. Description Use port access vlan to assign the access ports to the specified VLAN. Use undo port access vlan to restore the default. By default, all access ports belong to VLAN 1.
  • Page 178: Port Hybrid Vlan

    • moves to the next member port. HP recommends that you set the same PVID for the local and remote hybrid ports. You must use the port hybrid vlan command to configure the hybrid port to allow and forward packets from the PVID.
  • Page 179 Parameters vlan-list: Specifies a list of VLANs that the hybrid ports will be assigned to, in the format of [ vlan-id1 [ to vlan-id2 ] ]&<1- 1 0>, where vlan-id1 and vlan-id2 represent VLAN IDs and each range from 1 to 4094 and &<1- 1 0>...
  • Page 180: Port Link-Type

    Configuring Ethernet1/0/6... Done. # Assign the hybrid Layer 2 aggregate interface Bridge-Aggregation 1 and its member ports to VLAN 2, and configure them to send packets of VLAN 2 with tags removed. <Sysname> system-view [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] port link-type hybrid [Sysname-Bridge-Aggregation1] port hybrid vlan 2 untagged Please wait...
  • Page 181: Port Trunk Permit Vlan

    After you change the link type of an interface with the port link-type command, the loopback detection action configured on the interface with the loopback-detection action command automatically restores the default. For more information about the loopback detection action configuration, see Layer 2—LAN Switching Configuration Guide.
  • Page 182: Port Trunk Pvid

    The port trunk permit vlan all command can be ineffective to super VLANs or voice VLANs. If you are prompted with a configuration error message when using this command, use the display this command to view the execution result. On a trunk port, only traffic of the PVID can pass through untagged. The configuration made in Layer 2 Ethernet interface view applies only to the port.
  • Page 183: Mac-Based Vlan Configuration Commands

    Parameters vlan-id: Specifies a VLAN ID, in the range of 1 to 4094 Description Use port trunk pvid to configure the PVID for the trunk port. Use undo port trunk pvid to restore the default. By default, the PVID of a trunk port is VLAN 1. You can use a nonexistent VLAN as the PVID for a trunk port.
  • Page 184 View Any view Default level 1: Monitor level Parameters all: Displays all the MAC address-to-VLAN entries. dynamic: Displays dynamically configured MAC address-to-VLAN entries. mac-address mac-address: Displays the MAC address-to-VLAN entry containing the specified MAC address. mask mac-mask: Displays the MAC address-to-VLAN entries with their MAC addresses in the specified range.
  • Page 185: Display Mac-Vlan Interface

    Field Description MAC ADDR MAC address of a MAC address-to-VLAN entry. MASK Mask of the MAC address of a MAC address-to-VLAN entry. VLAN ID VLAN ID of a MAC address-to-VLAN entry. 802.1p priority corresponding to the MAC address of a MAC PRIO address-to-VLAN entry State of a MAC address-to-VLAN entry:...
  • Page 186: Mac-Vlan Enable

    mac-vlan enable Syntax mac-vlan enable undo mac-vlan enable View Layer 2 Ethernet port view Default level 2: System level Parameters None Description Use mac-vlan enable to enable the MAC-based VLAN feature on a port. Use undo mac-vlan enable to disable the MAC-based VLAN feature on a port. By default, the MAC-based VLAN feature is disabled on a port.
  • Page 187: Mac-Vlan Trigger Enable

    all: Removes all the static MAC address-to-VLAN entries. Description Use mac-vlan mac-address to associate the specified VLAN and priority value with the specified MAC addresses. Use undo mac-vlan to remove the association. Two MAC address-to-VLAN entry tables exist in a device. One table contains the MAC address-to-VLAN entries configured with the mask keyword specified.
  • Page 188: Port Pvid Disable

    corresponding VLAN. Then, subsequent packets with this source MAC address can be directly forwarded through the port. If the MAC address does not match any MAC address-to-VLAN entry or matches only a MAC address-to-VLAN entry whose mask is not all Fs, the device will not dynamically learn the MAC address and assign the receiving port to the corresponding VLAN.
  • Page 189: Protocol-Based Vlan Configuration Commands

    Default level 2: System level Parameters mac-vlan: Matches VLANs based on single MAC addresses preferentially. ip-subnet-vlan: Matches VLANs based on IP subnets preferentially. Description Use vlan precedence to set the order of VLAN matching. Use undo vlan precedence to restore the default. By default, VLANs are matched based on single MAC addresses preferentially.
  • Page 190: Display Protocol-Vlan Vlan

    include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display protocol-vlan interface to display information about protocol-based VLANs for the specified ports. Examples # Display protocol-based VLAN information on Ethernet 1/0/1. [Sysname] display protocol-vlan interface ethernet 1/0/1 Interface: Ethernet1/0/1 VLAN ID...
  • Page 191: Port Hybrid Protocol-Vlan

    Description Use display protocol-vlan vlan to display the protocols and protocol indexes configured on the specified VLANs. Related commands: display vlan. Examples # Display the protocols and protocol indexes configured on all protocol-based-VLANs. <Sysname> display protocol-vlan vlan all VLAN ID:2 Protocol Index Protocol Type ======================================================...
  • Page 192 Description Use port hybrid protocol-vlan to associate the hybrid ports with a protocol-based VLAN. Use undo port hybrid protocol-vlan to remove the association. The configuration made in Layer 2 Ethernet interface view applies only to the port. The configuration made in port group view applies to all ports in the port group. The configuration made in Layer 2 aggregate interface view applies to the aggregate interface and its aggregation member ports.
  • Page 193: Protocol-Vlan

    protocol-vlan Syntax protocol-vlan [ protocol-index ] { at | ipv4 | ipv6 | ipx { ethernetii | llc | raw | snap } | mode { ethernetii etype etype-id | llc { dsap dsap-id [ ssap ssap-id ] | ssap ssap-id } | snap etype etype-id } } undo protocol-vlan { protocol-index [ to protocol-end ] | all } View VLAN view...
  • Page 194: Ip Subnet-Based Vlan Configuration Commands

    of the matching packets will be the same as that of the IPv4, AppleTalk, IPX, and IPv6 packets, respectively. Do not configure both the dsap-id and ssap-id arguments in the protocol-vlan command as 0xE0 or 0xFF when you configure the user-defined template for llc encapsulation. Otherwise, the encapsulation format of the matching packets will be the same as that of the ipx llc or ipx raw packets, respectively.
  • Page 195: Display Ip-Subnet-Vlan Vlan

    interface-type interface-number1 to interface-type interface-number2: Specifies an interface range. interface-number2 must be no smaller than interface-number1. all: Displays IP subnet information about all the ports with IP subnet-based VLAN configured. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 196: Ip-Subnet-Vlan

    all: Specifies all the VLANs. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 197: Port Hybrid Ip-Subnet-Vlan

    the source IP address or network address, in dotted decimal notation with a default value of 255.255.255.0. to: Specifies an IP subnet index range. ip-subnet-end: Specifies an end IP subnet index, in the range of 0 to 1 1. The value must be greater than or equal to the beginning IP subnet index.
  • Page 198 If the system fails to apply the configuration to the aggregate interface, it stops applying the • configuration to aggregation member ports. If the system fails to apply the configuration to an aggregation member port, it skips the port and •...
  • Page 199: Super Vlan Configuration Commands

    Super VLAN configuration commands display supervlan Syntax display supervlan [ supervlan-id ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters supervlan-id: Specifies a super VLAN ID, in the range of 1 to 4094. |: Filters command output by specifying a regular expression.
  • Page 200 Untagged Ports: none VLAN ID: 3 VLAN Type: static It is a Sub VLAN. Route Interface: configured IPv4 address: 10.153.17.41 IPv4 subnet mask: 255.255.252.0 IPv6 global unicast address(es): 2001::1, subnet is 2001::/64 [TENTATIVE] Description: VLAN 0003 Name: VLAN 0003 Tagged Ports: none Untagged Ports: Ethernet1/0/3...
  • Page 201: Subvlan

    Field Description Subvlan ID Sub-VLAN ID. VLAN Type VLAN type (static or dynamic). Indicates whether a VLAN interface is configured or not for the sub-VLAN or Route Interface super VLAN. IPv4 address of the VLAN interface. This field for a sub-VLAN is the same as IPv4 address that for the super VLAN.
  • Page 202: Supervlan

    You can configure DHCP, Layer 3 multicast, and dynamic routing for the VLAN interface of a super VLAN. However, only DHCP can take effect. HP does not recommend that you configure VRRP for the VLAN interface of a super VLAN, because the configuration affects network performance.
  • Page 203: Isolate-User-Vlan Configuration Commands

    Isolate-user-VLAN configuration commands display isolate-user-vlan Syntax display isolate-user-vlan [ isolate-user-vlan-id ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters isolate-user-vlan-id: Specifies an isolate-user-VLAN ID, in the range of 1 to 4094. |: Filters command output by specifying a regular expression.
  • Page 204: Isolate-User-Vlan

    Untagged Ports: Ethernet1/0/2 Ethernet1/0/3 Ethernet1/0/4 VLAN ID: 3 VLAN Type: static Isolate-user-VLAN type : secondary Route Interface: not configured Description: VLAN 0003 Name: VLAN 0003 Tagged Ports: none Untagged Ports: Ethernet1/0/2 Ethernet1/0/3 VLAN ID: 4 VLAN Type: static Isolate-user-VLAN type : secondary Route Interface: not configured Description: VLAN 0004 Name: VLAN 0004...
  • Page 205: Isolate-User-Vlan Enable

    View System view Default level 2: System level Parameters isolate-user-vlan-id: Specifies an isolate-user-VLAN ID, in the range of 1 to 4094. Do not specify VLAN 1 for this argument. secondary secondary-vlan-id1 [ to secondary-vlan-id2 ]: Specifies a secondary VLAN ID or a secondary VLAN ID range.
  • Page 206: Isolated-Vlan Enable

    View VLAN view Default level 2: System level Parameters None Description Use isolate-user-vlan enable to configure the VLAN as an isolate-user-VLAN. Use undo isolate-user-vlan enable to remove the isolate-user-VLAN configuration for the VLAN. By default, no VLAN is an isolate-user-VLAN. An isolate-user-VLAN may include multiple ports, including the one connected to the upstream device.
  • Page 207: Port Isolate-User-Vlan Promiscuous

    After you configure the isolated-vlan enable command in VLAN view, you cannot assign any port in the VLAN to an isolation group. Layer 2 isolation configured with the isolated-vlan enable command takes effect only after the secondary VLAN is associated with an isolate-user-VLAN. Related commands: isolate-user-vlan.
  • Page 208 By default, a port does not operate in promiscuous mode or host mode in a VLAN. When you use the port isolate-user-vlan vlan-id promiscuous command on a port that is operating in promiscuous mode, the device automatically executes the undo port isolate-user-vlan command to cancel the promiscuous mode of the port first.
  • Page 209: Port Isolate-User-Vlan Host

    return [Sysname-Ethernet1/0/1] undo port isolate-user-vlan [Sysname-Ethernet1/0/1] display this interface Ethernet1/0/1 port link-mode bridge port link-type hybrid undo port hybrid vlan 1 port hybrid vlan 20 untagged port hybrid pvid vlan 2 return # Assign access port Ethernet 1/0/1 to VLAN 10, which is not an isolate-user-VLAN, configure the port to operate in promiscuous mode in VLAN 10, and then cancel the configuration.
  • Page 210 Default level 2: System level Parameters None Description Use port isolate-user-vlan host to configure a port to operate in host mode. Use undo port isolate-user-vlan to restore the default. By default, a port does not operate in promiscuous mode or host mode. If the port has been assigned to a secondary VLAN, the switch automatically assigns the target port to the isolate-user-VLAN associated with the secondary VLAN.
  • Page 211 port hybrid pvid vlan 20 return...
  • Page 212: Voice Vlan Configuration Commands

    Voice VLAN configuration commands display voice vlan oui Syntax display voice vlan oui [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 213: Display Voice Vlan State

    Field Description Mask Masks of the OUI addresses supported Description Description strings of the OUI addresses supported display voice vlan state Syntax display voice vlan state [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters...
  • Page 214: Lldp Voice-Vlan

    Field Description Security mode of the voice VLAN: • Voice VLAN security mode Security—Security mode. • Normal—Normal mode. Voice VLAN aging time Aging time of the voice VLAN. Voice VLAN enabled port and its Voice VLAN-enabled port and its voice VLAN assignment mode. mode PORT Voice VLAN-enabled port name.
  • Page 215: Voice Vlan Aging

    voice vlan aging Syntax voice vlan aging minutes undo voice vlan aging View System view Default level 2: System level Parameters minutes: Sets the voice VLAN aging time, in the range of 5 to 43200 minutes. Description Use voice vlan aging to configure the voice VLAN aging time. Use undo voice vlan aging to restore the default.
  • Page 216: Voice Vlan Mac-Address

    Use undo voice vlan enable to disable the voice VLAN feature on an Ethernet port. By default, the voice VLAN feature is disabled on ports. Enable the voice VLAN feature on a hybrid or trunk port operating in automatic voice VLAN assignment mode, but not on an access port operating in automatic voice VLAN assignment mode.
  • Page 217: Voice Vlan Mode Auto

    Number OUI address Vendor 0003-6B00-0000 Cisco phone 0004-0D00-0000 Avaya phone 00D0-1E00-0000 Pingtel phone 0060-B900-0000 Philips/NEC phone 00E0-7500-0000 Polycom phone 00E0-BB00-0000 3Com phone Related commands: display voice vlan oui. Examples # Add a recognizable OUI address 1234- 1 200-0000 by specifying the MAC address as 1234- 1 234- 1 234 and the mask as fff-ff00-0000, and configure its description string as PhoneA.
  • Page 218: Voice Vlan Qos

    voice vlan qos Syntax voice vlan qos cos-value dscp-value undo voice vlan qos View Layer 2 Ethernet interface view Default level 2: System level Parameters cos-value: Sets the CoS precedence value for voice VLAN traffic. The default value is 6. dscp-value: Sets the DSCP value for voice VLAN traffic.
  • Page 219: Voice Vlan Security Enable

    Parameters None Description Use voice vlan qos trust to configure the interface to trust the priority settings carried in incoming voice traffic. With this command configured, an interface keeps the CoS and DSCP values marked for incoming voice traffic unchanged. Use undo voice vlan qos to restore the default.
  • Page 220: Voice Vlan Track Lldp

    When a voice VLAN operates in common mode, other data traffic is also transmitted in the voice VLAN. Examples # Disable voice VLAN security mode. <Sysname> system-view [Sysname] undo voice vlan security enable voice vlan track lldp Syntax voice vlan track lldp undo voice vlan track lldp View System view...
  • Page 221: Gvrp Configuration Commands

    GVRP configuration commands display garp statistics Syntax display garp statistics [ interface interface-list ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters interface interface-list: Displays the GARP statistics of one or multiple ports. You can specify up to 10 port lists.
  • Page 222: Display Garp Timer

    <Sysname> display garp statistics interface ethernet 1/0/1 to ethernet 1/0/2 GARP statistics on port Ethernet1/0/1 Number of GVRP Frames Received Number of GVRP Frames Transmitted Number of Frames Discarded GARP statistics on port Ethernet1/0/2 Number of GVRP Frames Received Number of GVRP Frames Transmitted Number of Frames Discarded display garp timer Syntax...
  • Page 223: Display Gvrp Local-Vlan

    GARP timers on port Ethernet1/0/1 Garp Join Time : 20 centiseconds Garp Leave Time : 60 centiseconds Garp LeaveAll Time : 1000 centiseconds Garp Hold Time : 10 centiseconds display gvrp local-vlan Syntax display gvrp local-vlan interface interface-type interface-number [ | { begin | exclude | include } regular-expression ] View Any view...
  • Page 224 Parameters interface interface-type interface-number: Specifies an interface by its type and number. vlan vlan-id: Specifies a VLAN ID, ranging from 1 to 4094. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
  • Page 225: Display Gvrp Statistics

    Field Description Registrar state machine records the registration of attributes declared by other participants. Its state can be INN, LV, L3, L2, L1, MT, INR, LVR, L3R, L2R, L1R, MTR, INF, LVF, L3F, L2F, L1F, and MTF. Each state consists of two or three letters or numbers with the following meanings: •...
  • Page 226: Display Gvrp Status

    GVRP statistics on port Ethernet1/0/1 GVRP Status : Enabled GVRP Running : YES GVRP Failed Registrations GVRP Last Pdu Origin : 0000-0000-0000 GVRP Registration Type : Normal Table 47 Command output Field Description GVRP Status Indicates whether GVRP is enabled or disabled. GVRP Running Indicates whether GVRP is running.
  • Page 227: Display Gvrp Vlan-Operation

    display gvrp vlan-operation Syntax display gvrp vlan-operation interface interface-type interface-number [ | { begin | exclude | include } regular-expression ] View Any view Default level 0: Visit level Parameters interface interface-type interface-number: Specifies an interface by its type and number. |: Filters command output by specifying a regular expression.
  • Page 228: Garp Timer Join

    Description Use garp timer hold to set the GARP Hold timer for an Ethernet port, Layer-2 aggregate interface, or all ports in a port group. Use undo garp timer hold to restore the default of the GARP Hold timer. This may fail if the default is beyond the valid value range for the Hold timer.
  • Page 229: Garp Timer Leave

    garp timer leave Syntax garp timer leave timer-value undo garp timer leave View Ethernet interface view, Layer-2 aggregate interface view, port group view Default level 2: System level Parameters timer-value: Leave timer (in centiseconds), which must be a multiple of 5 and range from twice the Join timer (exclusive) to the LeaveAll timer (exclusive).
  • Page 230: Gvrp

    Use undo garp timer leaveall to restore the default. This may fail if the default is beyond the valid value range for the LeaveAll timer. By default, the LeaveAll timer is 1000 centiseconds. NOTE: To keep the dynamic VLANs learned through GVRP stable, do not set the LeaveAll timer smaller than its default value.
  • Page 231: Gvrp Registration

    gvrp registration Syntax gvrp registration { fixed | forbidden | normal } undo gvrp registration View Ethernet interface view, Layer-2 aggregate interface view, port group view Default level 2: System level Parameters fixed: Sets the GVRP registration mode to fixed. forbidden: Sets the GVRP registration mode to forbidden.
  • Page 232 As an individual port in the form of interface-type interface-number • • As a port range in the form of interface-type interface-number1 to interface-type interface-number2, where the end-port number specified by interface-number2 must be greater than the start port number specified by interface-number1. Description Use reset garp statistics to clear the GARP statistics on the specified ports.
  • Page 233: Qinq Configuration Commands

    QinQ configuration commands Throughout this document, customer network VLANs (CVLANs), also called inner VLANs, refer to • the VLANs that a customer uses on the private network; and service provider network VLANs (SVLANs), also called outer VLANs, refer to the VLANs that a service provider uses to carry VLAN tagged traffic for customers.
  • Page 234: Qinq Enable

    qinq enable Syntax qinq enable undo qinq enable View Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view Default level 2: System level Parameters None Description Use qinq enable to enable basic QinQ on the Ethernet ports. Use undo qinq enable to disable basic QinQ on the Ethernet ports.
  • Page 235: Qinq Ethernet-Type Service-Tag

    Parameters hex-value: Hexadecimal Tag Protocol Identifier (TPID) value, ranging from 0x0001 to 0xFFFF. However, do not set it to any of the protocol type values listed in Table Table 48 Common protocol type values Protocol type Value 0x0806 0x0200 RARP 0x8035 0x0800 IPv6...
  • Page 236: Qinq Transparent-Vlan

    Parameters hex-value: Hexadecimal TPID value, ranging from 0x0001 to 0xFFFF. However, do not set it to any of the protocol type values listed in Table Description Use qinq ethernet-type service-tag to configure the TPID value in SVLAN tags. Use undo qinq ethernet-type service-tag to restore the TPID value in SVLAN tags to the default setting. By default, the TPID value in SVLAN tags is 0x8100.
  • Page 237 interface and all the member ports in the aggregation group. Configured in port group view, the command takes effect on all ports in the port group. Examples # Enable basic QinQ on Ethernet 1/0/1, and configure Ethernet 1/0/1 to transparently transmit frames from VLAN 2, VLAN 3, and VLAN 50 through VLAN 100.
  • Page 238: Vlan Mapping Configuration Commands

    VLAN mapping configuration commands VLAN mapping is achieved through QoS policies. For QoS policy configuration commands, see ACL and QoS Command Reference. qinq enable downlink Syntax qinq enable downlink undo qinq enable View Layer 2 Ethernet interface view, port group view Default level 2: System level Parameters...
  • Page 239: Remark Customer-Vlan-Id

    View Layer 2 Ethernet interface view, port group view Default level 2: System level Parameters None Description Use qinq enable uplink to enable network-side QinQ on an Ethernet port. Use undo qinq enable to disable network-side QinQ on the Ethernet port. By default, network-side QinQ is disabled on Ethernet ports.
  • Page 240: Remark Service-Vlan-Id

    Examples # Configure traffic behavior b1 to mark matching packets with CVLAN 1 1 1. <Sysname> system-view [Sysname] traffic behavior b1 [Sysname-behavior-b1] remark customer-vlan-id 111 remark service-vlan-id Syntax remark service-vlan-id vlan-id undo remark service-vlan-id View Traffic behavior view Default level 2: System level Parameters vlan-id: Specifies a service-provider VLAN (SVLAN) ID, ranging from 1 to 4094.
  • Page 241: Lldp Configuration Commands

    # Display all LLDP information to be sent. <Sysname> display lldp local-information Global LLDP local-information: Chassis ID : 00e0-fc00-5600 System name : Sysname System description : HP Comware Platform Software System capabilities supported : Bridge,Router System capabilities enabled : Bridge,Router...
  • Page 242 SoftwareRev : 5.20 Alpha 2108 SerialNum : NONE Manufacturer name : HP Model name : HP Comware Asset tracking identifier : Unknown LLDP local-information of port 1[Ethernet1/0/1]: Port ID subtype : Interface name Port ID : Ethernet1/0/1 Port description : Ethernet1/0/1 Interface...
  • Page 243 Link aggregation enabled : No Aggregation port ID Maximum frame Size: 1536 MED information Media policy type : Unknown Unknown Policy : Yes VLAN tagged : No Media policy VlanID Media policy L2 priority : 0 Media policy Dscp PoE PSE power source : Primary Port PSE Priority : high...
  • Page 244 Field Description Port ID subtype Port ID type, which can be MAC address or interface name. Port ID Port ID, the value of which depends on the port ID subtype. Management address interface Numbering type of the interface identified by the management address. type Management address interface Index of the interface identified by the management address.
  • Page 245 Field Description This field appears only on the devices that support PoE+. PoE power supply priority of PSE ports: • Unknown Power priority • Critical • High • This field appears only on the devices that support PoE+. PD requested power value Power (in W) that the PD requests.
  • Page 246: Display Lldp Neighbor-Information

    Field Description When the device is a PSE device, this field displays the PoE power supply priority of PSE ports: • Unknown Port PSE Priority • Critical • High • When the device supports PoE, this field displays the available PoE power Port available power value on PSE ports or power needed on PD ports, in watts.
  • Page 247 : Interface name Port ID : Ethernet1/0/1 Port description : Ethernet1/0/1 Interface System name : HP System description : HP Comware Platform Software System capabilities supported : Repeater,Bridge,Router System capabilities enabled : Repeater,Bridge,Router Management address type : ipv4 Management address : 192.168.1.55...
  • Page 248: Neighbor Index

    Maximum frame Size: 1536 CDP neighbor-information of port 1[Ethernet1/0/1]: CDP neighbor index : 2 Chassis ID : C4507 Address : 192.168.1.56 Port ID : Ethernet1/0/1 Software version : Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500-ENTSERVICESK9-M), Version 12.2(31)SGA4, RELEASE SOFTWARE (fc1) Platform : cisco WS-C4507R Duplex...
  • Page 249: Management Address

    Field Description ID of the port that connects the LLDP neighboring device to the local Port ID device, whose type is the port ID type. Description of the port that connects the LLDP neighboring device to Port description the local device. System name System name of the LLDP neighboring device.
  • Page 250 Field Description Indicates whether or not the LLDP neighboring device can operate as PSE power supported a PSE. Indicates whether or not the LLDP neighboring device is operating as PSE power enabled a PSE. Indicates whether or not the PSE-PD pair control is available on the PSE pairs control ability LLDP neighboring device.
  • Page 251: Aggregation Port Id

    Field Description Indicates whether or not link aggregation is enabled on the port that Link aggregation enabled connects the LLDP neighboring device to the local device. Aggregation port ID Aggregation group ID, which is 0 when link aggregation is disabled. Maximum frame size of the port that connects the LLDP neighboring Maximum frame size device to the local device.
  • Page 252: Display Lldp Statistics

    Field Description This field appears only when the device receives unknown basic TLVs. TLV type Unknown basic TLV type. This field appears only when the device receives unknown basic TLVs. TLV information Information contained in the unknown basic TLV type. This field appears only when the device receives unknown organizationally-defined TLVs.
  • Page 253 View Any view Default level 1: Monitor level Parameters global: Displays the global LLDP statistics. interface interface-type interface-number: Specifies a port by its type and number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 254: Display Lldp Status

    Field Description LLDP neighbor information last change time Time the neighbor information was last updated. The number of LLDP neighbor information inserted Number of times of adding neighbor information. The number of LLDP neighbor information deleted Number of times of removing neighbor information. Number of times of dropping neighbor information The number of LLDP neighbor information dropped due to lack of available memory space.
  • Page 255 Port 1 [Ethernet1/0/1]: Port status of LLDP : Enable Admin status : Tx_Rx Trap flag : No Polling interval : 0s Number of neighbors Number of MED neighbors Number of CDP neighbors Number of sent optional TLV : 23 Number of received unknown TLV : 0 Table 52 Command output Field Description...
  • Page 256: Display Lldp Tlv-Config

    display lldp tlv-config Syntax display lldp tlv-config [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters interface interface-type interface-number: Specifies a port by its type and number. |: Filters command output by specifying a regular expression.
  • Page 257: Lldp Admin-Status

    LLDP-MED extend TLV: Capabilities TLV Network Policy TLV Location Identification TLV Extended Power via MDI TLV Inventory TLV Table 53 Command output Field Description LLDP tlv-config of port 1 Advertisable optional TLVs of port 1. NAME TLV type. STATUS Indicates whether or not a specific type of TLV is sent through a port. Indicates whether or not a specific type of TLV is sent through a port by DEFAULT default.
  • Page 258: Lldp Check-Change-Interval

    View Layer 2 Ethernet interface view, Layer 3 Ethernet interface view, port group view Default level 2: System level Parameters disable: Specifies the Disable mode. A port in this mode does not send or receive LLDPDUs. rx: Specifies the Rx mode. A port in this mode only receives LLDPDUs. tx: Specifies the Tx mode.
  • Page 259: Lldp Compliance Admin-Status Cdp

    lldp compliance admin-status cdp Syntax lldp compliance admin-status cdp { disable | txrx } undo lldp compliance admin-status cdp View Layer 2 Ethernet interface view, Layer 3 Ethernet interface view, port group view Default level 2: System level Parameters disable: Specifies the disable mode, where CDP-compatible LLDP cannot receive or transmit CDP packets.
  • Page 260: Lldp Enable

    Description Use lldp compliance cdp to enable global CDP compatibility. Use undo lldp compliance cdp to restore the default. By default, CDP compatibility is globally disabled. Because the maximum TTL allowed by CDP is 255 seconds, the TTL configuration must be no more than 255 seconds for CDP-compatible LLDP to operate with Cisco IP phones.
  • Page 261: Lldp Fast-Count

    View Layer 2 Ethernet interface view, Layer 3 Ethernet interface view, port group view Default level 2: System level Parameters None Description Use lldp encapsulation snap to configure the encapsulation format for LLDPDUs as SNAP on a port or a group of ports.
  • Page 262: Lldp Hold-Multiplier

    lldp hold-multiplier Syntax lldp hold-multiplier value undo lldp hold-multiplier View System view Default level 2: System level Parameters value: Sets the TTL multiplier, ranging from 2 to 10. Description Use lldp hold-multiplier to set the TTL multiplier. Use undo lldp hold-multiplier to restore the default. By default, the TTL multiplier is 4.
  • Page 263: Lldp Management-Address-Tlv

    Use undo lldp management-address-format to restore the default. By default, the management address is encapsulated in the form of numbers in TLVs. Examples # Configure Ethernet 1/0/1 to encapsulate the management address in the form of strings in management address TLVs. <Sysname>...
  • Page 264: Lldp Notification Remote-Change Enable

    [Sysname-Ethernet1/0/1] lldp management-address-tlv 192.6.0.1 lldp notification remote-change enable Syntax lldp notification remote-change enable undo lldp notification remote-change enable View Layer 2 Ethernet interface view, Layer 3 Ethernet interface view, port group view Default level 2: System level Parameters None Description Use lldp notification remote-change enable to enable LLDP trapping for a port or all ports in a port group.
  • Page 265: Lldp Timer Reinit-Delay

    Examples # Set the LLDP trap transmit interval to 8 seconds. <Sysname> system-view [Sysname] lldp timer notification-interval 8 lldp timer reinit-delay Syntax lldp timer reinit-delay delay undo lldp timer reinit-delay View System view Default level 2: System level Parameters delay: Sets the LLDP re-initialization delay, ranging from 1 to 10 seconds. Description Use lldp timer reinit-delay to set the LLDP re-initialization delay.
  • Page 266: Lldp Timer Tx-Interval

    It is a good practice to set the LLDPDU transmit delay to be no greater than a quarter of the LLDPDU transmit interval. If the LLDPDU transmit delay is greater than the LLDPDU transmit interval, the device uses the LLDPDUs transmit delay as the transmit interval.
  • Page 267 dot3-tlv { all | link-aggregation | mac-physic | max-frame-size | power } | med-tlv { all | capability | inventory | location-id { civic-address device-type country-code { ca-type ca-value }&<1- 1 0> | elin-address tel-number } | network-policy | power-over-ethernet } } undo lldp tlv-enable { basic-tlv { all | port-description | system-capability | system-description | system-name } | dot1-tlv { all | port-vlan-id | protocol-vlan-id | vlan-name } | dot3-tlv { all | link-aggregation | mac-physic | max-frame-size | power } | med-tlv { all | capability | inventory |...
  • Page 268 max-frame-size: Advertises maximum frame size TLVs. power: Advertises power via MDI TLVs and power stateful control TLVs. med-tlv: Advertises LLDP-MED TLVs. capability: Advertises LLDP-MED capabilities TLVs. inventory: Advertises the following TLVs: hardware revision, firmware revision, software revision, serial number, manufacturer name, model name, and asset ID. location-id: Advertises location identification TLVs.
  • Page 269 [Sysname-Ethernet1/0/1] lldp tlv-enable dot3-tlv link-aggregation...
  • Page 270: Service Loopback Group Configuration Commands

    Service loopback group configuration commands display service-loopback group Syntax display service-loopback group [ number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters number: ID of the service loopback group to be displayed. If no service loopback group is specified, information of all service loopback groups is displayed.
  • Page 271: Port Service-Loopback Group

    Field Description Service type of the service loopback group: • Service Type Multicast tunnel—Supports multicast tunnel traffic • Tunnel—Supports unicast tunnel traffic Member Member ports of the service loopback group Status Port state, which can be selected or unselected port service-loopback group Syntax port service-loopback group number undo port service-loopback group...
  • Page 272 Default level 2: System level Parameters number: Service loopback group ID, ranging from 1 to 1024. type: Specifies the service type of a service loopback group. tunnel: Specifies the service type of a service loopback group as Tunnel (unicast tunnel service). multicast-tunnel: Specifies the service type of a service loopback group as Multicast tunnel.
  • Page 273: Mvrp Commands

    MVRP commands display mvrp running-status Syntax display mvrp running-status [ interface interface-list ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters interface interface-list: Specifies an Ethernet interface list in the form of interface-list = { interface-type interface-number1 [ to interface-type interface-number2 ] }&<1- 1 0>, where interface-type interface-number specifies an interface by its type and number and &<1- 1 0>...
  • Page 274: Display Mvrp State

    Local VLANs : 1(default), 2-10, Table 55 Command output Field Description MVRP Global Info Global MVRP information. Global MVRP status: • Global Status Enabled • Disabled GVRP compatibility status: • Compliance-GVRP True—Compatible • False—Incompatible Interface prompt. The information between the current interface ----[Ethernet1/0/1] ---- prompt and the next interface prompt is information about the current interface.
  • Page 275 Parameters interface interface-type interface-number: Displays the MVRP state of an interface specified by its type and number. vlan vlan-id: Displays the MVRP state of an interface in an VLAN specified by its VLAN ID, which ranges from 1 to 4094. |: Filters command output by specifying a regular expression.
  • Page 276: Display Mvrp Statistics

    Field Description Declaration state, which indicates the state of the attribute that the local participant declares to the remote participant. The state can be VO, VP, VN, AN, AA, QA, LA, AO, QO, AP, QP, or LO. Each state consists of two letters. The first letter indicates the state: •...
  • Page 277 specify up to 10 interfaces or interface ranges. If this option is not specified, this command displays MVRP statistics of all MVRP-enabled trunk ports. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
  • Page 278: Display Mvrp Vlan-Operation

    LeaveAll Event Received Frames Transmitted New Event Transmitted JoinIn Event Transmitted In Event Transmitted JoinMt Event Transmitted Mt Event Transmitted Leave Event Transmitted LeaveAll Event Transmitted Frames Discarded Table 57 Command output Field Description Interface prompt. The statistics between the current interface ----[Ethernet1/0/1]---- prompt and the next interface prompt are statistics of the current interface.
  • Page 279: Mrp Timer Join

    View Any view Default level 0: Visit level Parameters interface interface-type interface-number: Displays the dynamic VLAN operations of an interface specified its type and number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
  • Page 280: Mrp Timer Leave

    Default level 2: System level Parameters timer-value: Join timer value (in centiseconds). The Join timer must be less than half the Leave timer, and must be a multiple of 20. Description Use mrp timer join to set the Join timer. Use undo mrp timer join to restore the default.
  • Page 281: Mrp Timer Leaveall

    [Sysname-Ethernet1/0/1] mrp timer leave 100 mrp timer leaveall Syntax mrp timer leaveall timer-value undo mrp timer leaveall View Layer 2 Ethernet port view, Layer 2 aggregate interface view, port group view Default level 2: System level Parameter timer-value: LeaveAll timer value (in centiseconds). The LeaveAll timer must be greater than any Leave timer on each port, no greater than 32760, and a multiple of 20.
  • Page 282: Mvrp Global Enable

    Default The Periodic timer is 100 centiseconds. View Layer 2 Ethernet port view, Layer 2 aggregate interface view, port group view Default level 2: System level Parameters timer-value: Periodic timer (in centiseconds), which can be 0 or 100. Description Use mrp timer periodic to set the Periodic timer. Use undo mrp timer periodic to restore the default.
  • Page 283: Mvrp Enable

    [Sysname] mvrp global enable mvrp enable Syntax mvrp enable undo mvrp enable View Layer 2 Ethernet port view, Layer 2 aggregate interface view, port group view Default level 2: System level Description Use mvrp enable to enable MVRP on a port. Use undo mvrp enable to disable MVRP on a port.
  • Page 284: Mvrp Registration

    Use undo mvrp gvrp-compliance enable to restore the default. By default, GVRP compatibility is disabled. Examples # Enable GVRP compatibility. <Sysname> system-view [Sysname] mvrp gvrp-compliance enable mvrp registration Syntax mvrp registration { fixed | forbidden | normal } undo mvrp registration View Layer 2 Ethernet port view, Layer 2 aggregate interface view, port group view Default level...
  • Page 285 Default level 2: System level Parameters interface interface-list: Specifies an Ethernet interface list in the form of interface-list = { interface-type interface-number1 [ to interface-type interface-number2 ] }&<1- 1 0>, where interface-type interface-number specifies an interface by its type and number and &<1- 1 0> indicates that you can specify up to 10 interfaces or interface ranges.
  • Page 286: Support And Other Resources

    Related information Documents To find related documents, browse to the Manuals page of the HP Business Support Center website: http://www.hp.com/support/manuals For related documentation, navigate to the Networking section, and select a networking category. •...
  • Page 287: Conventions

    Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. Square brackets enclose syntax choices (keywords or arguments) that are optional. Braces enclose a set of required syntax choices separated by vertical bars, from which { x | y | ...
  • Page 288 Network topology icons Represents a generic network device, such as a router, switch, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features.
  • Page 289: Index

    Index A B C D E F G I J L M N P Q R S U V display lacp system-id,80 display link-aggregation load-sharing mode,81 active region-configuration,104 display link-aggregation member-port,82 display link-aggregation summary,84 display link-aggregation verbose,86 bpdu-drop any,104 display lldp local-information,233 bpdu-tunnel dot1q,152...
  • Page 290 display supervlan,191 link-aggregation load-sharing mode local-first,94 display vlan,159 link-aggregation mode,94 display voice vlan oui,204 link-aggregation port-priority,95 display voice vlan state,205 link-aggregation selected-port maximum,95 duplex,17 link-aggregation selected-port minimum,96 link-delay,20 link-delay mode up,21 enable snmp trap updown,88 lldp admin-status,249 lldp check-change-interval,250 lldp compliance admin-status cdp,251 flow-control,17 lldp compliance...
  • Page 291 mac-flapping notification enable,70 qinq enable,226 mac-vlan enable,178 qinq enable downlink,230 mac-vlan mac-address,178 qinq enable uplink,230 mac-vlan trigger enable,179 qinq ethernet-type customer-tag,226 mdi,37 qinq ethernet-type service-tag,227 mrp timer join,271 qinq transparent-vlan,228 mrp timer leave,272 mrp timer leaveall,273 region-name,124 mrp timer periodic,273 remark customer-vlan-id,231 mtu,163...
  • Page 292 mode,135 subvlan,193 no-agreement-check,136 supervlan,194 pathcost-standard,136 point-to-point,137 unicast-suppression,46 stp port priority,138 port-log,139 priority,140 virtual-cable-test,47 region-configuration,141 vlan,165 stp root primary,142 vlan precedence,180 stp root secondary,142 vlan-mapping modulo,150 root-protection,143 voice vlan aging,207 tc-protection,144 voice vlan enable,207 stp tc-protection threshold,144 voice vlan mac-address,208 tc-snooping,145 voice vlan mode auto,209 stp timer...

This manual is also suitable for:

5500 hi series

Table of Contents