hit counter script
HP 6125XLG Command Reference Manual
HP 6125XLG Command Reference Manual

HP 6125XLG Command Reference Manual

Blade switch layer 2 - lan switching
Table of Contents

Advertisement

HP 6125XLG Blade Switch
Layer 2—LAN Switching

Command Reference

Part number: 5998-3732
Software version: Release 2306
Document version: 6W100-20130912

Advertisement

Table of Contents
loading

Summary of Contents for HP 6125XLG

  • Page 1: Command Reference

    HP 6125XLG Blade Switch Layer 2—LAN Switching Command Reference Part number: 5998-3732 Software version: Release 2306 Document version: 6W100-20130912...
  • Page 2 HEWLETT-PACKARD COMPANY MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Hewlett-Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material.
  • Page 3: Table Of Contents

    Contents Ethernet interface commands ······································································································································ 1   broadcast-suppression ············································································································································· 1   default ········································································································································································ 2   description ································································································································································· 2   display counters ························································································································································ 3   display counters rate ················································································································································ 4   display interface ······················································································································································· 6   display interface brief ··········································································································································· 11  ...
  • Page 4 MAC address table commands································································································································· 47   display mac-address ············································································································································· 47   display mac-address nickname ···························································································································· 48   display mac-address aging-time ·························································································································· 49   display mac-address mac-learning ······················································································································ 49   display mac-address statistics ······························································································································ 50   mac-address (interface view) ································································································································ 51  ...
  • Page 5 bpdu-drop any ······················································································································································· 94   check region-configuration ··································································································································· 95   display stp ······························································································································································ 96   display stp abnormal-port ··································································································································· 101   display stp bpdu-statistics ··································································································································· 102   display stp down-port ·········································································································································· 104   display stp history ················································································································································ 105   display stp region-configuration ························································································································ 106  ...
  • Page 6 loopback-detection interval-time ························································································································ 143   VLAN commands ···················································································································································· 144   Basic VLAN commands ··············································································································································· 144   default ··································································································································································· 144   description ···························································································································································· 144   display interface vlan-interface ·························································································································· 145   display vlan ·························································································································································· 148   interface vlan-interface ········································································································································ 149   mtu ········································································································································································...
  • Page 7 lldp timer reinit-delay ·········································································································································· 199   lldp timer tx-delay ················································································································································ 199   lldp timer tx-interval ············································································································································· 200   lldp tlv-enable ······················································································································································· 201   Service loopback group commands ······················································································································ 204   display service-loopback group ························································································································· 204   port service-loopback group ······························································································································ 204  ...
  • Page 8: Ethernet Interface Commands

    Ethernet interface commands broadcast-suppression Use broadcast-suppression to enable broadcast suppression and set the broadcast suppression threshold. Use undo broadcast-suppression to restore the default. Syntax broadcast-suppression { ratio | pps max-pps | kbps max-kbps } undo broadcast-suppression Default Ethernet interfaces do not suppress broadcast traffic. Views Ethernet interface view Predefined user roles...
  • Page 9: Default

    Examples # Set the broadcast suppression threshold to 10000 kbps on Ten-GigabitEthernet 1/1/5. <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/1/5 [Sysname-Ten-GigabitEthernet1/1/5] broadcast-suppression kbps 10000 Related commands multicast-suppression • unicast-suppression • default Use default to restore the default settings for an Ethernet interface. Syntax default Views...
  • Page 10: Display Counters

    Default description interface interface name plus Interface (for example, Ten-GigabitEthernet1/1/5 Interface). Views Ethernet interface view Predefined user roles network-admin Parameters text: Specifies the interface description, a case-sensitive string of 1 to 80 characters. Usage guidelines When you use a network management system (for example, IMC) to manage devices, to guarantee the normal operation of the network management system, make sure the text argument is of no more than 64 characters.
  • Page 11: Display Counters Rate

    If no interface type is specified, this command displays traffic statistics for all interfaces that have traffic counters. If an interface type is specified but no interface number is specified, this command displays traffic statistics for all interfaces of the specified type. If an interface type and an interface number are specified, this command displays traffic statistics of the specified interface.
  • Page 12 Predefined user roles network-admin network-operator Parameters inbound: Displays inbound traffic rate statistics. outbound: Displays outbound traffic rate statistics. interface-type: Specifies an interface type. interface-number: Specifies an interface number. Usage guidelines The statistics cover only interfaces in up state. If an interface type is specified, the command displays traffic rate statistics for all up interfaces of the specified type over the last statistics polling interval.
  • Page 13: Display Interface

    Field Description Average rate (in pps) of receiving or sending packets during the statistics Total (pkts/sec) polling interval. Average rate (in pps) of receiving or sending broadcast packets during the Broadcast (pkts/sec) statistics polling interval. Average rate (in pps) of receiving or sending multicast packets during the Multicast (pkts/sec) statistics polling interval.
  • Page 14 Loopback is not set Media type is not sure,Port hardware type is No connector 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 Allow jumbo frame to pass Broadcast MAX-ratio: 100% Multicast MAX-ratio: 100% Unicast MAX-ratio: 100%...
  • Page 15 Field Description Indicate that the rate of the interface is unknown. The reason might Unknown-speed mode be that the speed negotiation fails or the physical interface is disconnected. Indicate that the duplex mode of the interface is unknown. The unknown-duplex mode reason might be that the duplex mode negotiation fails or the physical interface is disconnected.
  • Page 16 Field Description Inbound normal traffic and pause frame statistics (in packets and bytes) for the interface. Input(normal): 0 packets, - bytes The number of normal unicast packets, the number of normal 0 unicasts, 0 broadcasts, 0 broadcasts, the number of normal multicasts, and the number of multicasts, 0 pauses normal pause frames.
  • Page 17 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 18: Display Interface Brief

    Field Description The number of packets dropped because the transmit buffer of the buffer failures interface ran low. The number of packets that failed to be transmitted, for example, aborts because of Ethernet collisions. The number of frames that the interface deferred to transmit deferred because of detected collisions.
  • Page 19 If both the interface type and interface number are specified, this command displays information about the specified interface. Examples # Display brief information about all interfaces. <Sysname> display interface 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 20 Field Description If the network layer protocol state of an interface is shown as UP (s), it means that its link is up at the network layer but the link is an on-demand Protocol: (s) – spoofing link or not present at all. This attribute is typical of interface Null 0 and the loopback interfaces.
  • Page 21: Display Packet-Drop

    Field Description Causes for the physical state of an interface to be DOWN. • Not connected—No physical connection exists (possibly because the network cable is disconnected or faulty). Cause • Administratively DOWN—The port was shut down with the shutdown command. To restore the physical state of the interface, use the undo shutdown command.
  • Page 22: Display Storm-Constrain

    display storm-constrain Use display storm-constrain to display storm control settings and statistics. Syntax display storm-constrain [ broadcast | multicast | unicast ] [ interface interface-type interface-number ] Views Any view Predefined user roles network-admin network-operator Parameters broadcast: Displays broadcast storm control settings and statistics. multicast: Displays multicast storm control settings and statistics.
  • Page 23: Duplex

    Field Description Storm control threshold unit: • pps. Unit • kbps. • percentage. Protective action (block or shutdown) taken on the port when the upper CtrlMode threshold is reached. N/A indicates that no protective action is configured. Packet forwarding status: •...
  • Page 24: Flow-Control

    Examples # Configure interface Ten-GigabitEthernet 1/1/5 to operate in full duplex mode. <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/1/5 [Sysname-Ten-GigabitEthernet1/1/5] duplex full flow-control Use flow-control to enable TxRx mode generic flow control on an Ethernet interface. Use undo flow-control to disable generic flow control on the Ethernet interface. Syntax flow-control undo flow-control...
  • Page 25: Flow-Interval

    Default Rx flow control is disabled on Ethernet interfaces. Views Ethernet interface view Predefined user roles network-admin Usage guidelines With the flow-control receive enable command configured, an interface can receive, but not send, flow control frames. When the interface receives a flow control frame from its peer, it suspends sending packets to the peer.
  • Page 26: Interface

    <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/1/5 [Sysname-Ten-GigabitEthernet1/1/5] flow-interval 100 interface Use interface to enter interface view. Syntax interface interface-type interface-number Views System view Predefined user roles network-admin Parameters interface-type: Specifies an interface type. interface-number: Specifies an interface number. Examples # Enter Ten-GigabitEthernet 1/1/5 interface view. <Sysname>...
  • Page 27: Link-Delay

    Examples # Enable jumbo frames to pass through Ten-GigabitEthernet 1/1/5. <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/1/5 [Sysname-Ten-GigabitEthernet1/1/5] jumboframe enable link-delay Use link-delay to set the physical state change suppression interval on an Ethernet interface. Use undo link-delay to restore the default. Syntax link-delay delay-time [ mode { up | updown } ] undo link-delay...
  • Page 28: Loopback

    Do not configure this command on a port with MSTP enabled. Examples # Set the link-down event suppression interval to 8 seconds on interface Ten-GigabitEthernet 1/1/5. <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/1/5 [Sysname-Ten-GigabitEthernet1/1/5] link-delay 8 loopback Use loopback to perform a loopback test on an Ethernet interface. Syntax loopback { external | internal } Views...
  • Page 29 Use undo multicast-suppression to restore the default. Syntax multicast-suppression { ratio | pps max-pps | kbps max-kbps } undo multicast-suppression Default Ethernet interfaces do not suppress multicast traffic. Views Ethernet interface view Predefined user roles network-admin Parameters ratio: Sets the multicast suppression threshold as a percentage of the maximum interface rate. The value range for this argument (in percentage) is 0 to 100.
  • Page 30: Priority-Flow-Control

    priority-flow-control Use priority-flow-control to enable PFC on an Ethernet interface through automatic negotiation or forcibly. Use undo priority-flow-control to disable PFC on the interface. Syntax priority-flow-control { auto | enable } undo priority-flow-control Default PFC is disabled on Ethernet interfaces. Views Ethernet interface view Predefined user roles...
  • Page 31 Views Ethernet interface view Predefined user roles network-admin Parameters dot1p-list: Specifies an 802.1p priority (or dot1p priority) list to identify flows subject to PFC. For example: 1,3-5. A hyphen (-) connects two numeric values, which together indicate a continuous value range. Different values or value ranges are separated with commas (,).
  • Page 32: Reset Counters Interface

    Examples # Configure Ten-GigabitEthernet 1/1/5 to automatically negotiate with the peer port to enable PFC, and enable PFC for 802.1p priority 5. <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/1/5 [Sysname-Ten-GigabitEthernet1/1/5] priority-flow-control auto [Sysname-Ten-GigabitEthernet1/1/5] priority-flow-control no-drop dot1p 5 Related commands priority-flow-control • flow-control •...
  • Page 33: Reset Packet-Drop Interface

    reset packet-drop interface Use reset packet-drop interface to clear the dropped packet statistics on an interface or multiple interfaces. Syntax reset packet-drop interface [ interface-type [ interface-number ] ] Views User view Predefined user roles network-admin Parameters interface-type: Specify an interface type. If you do not specify an interface type, this command clears dropped packet statistics on all the interfaces on the device.
  • Page 34: Speed

    Usage guidelines You might need to shut down and then bring up an Ethernet interface to make some interface configurations take effect. For more information about startup with empty configuration and startup with the default configuration file, see Fundamentals Configuration Guide. Examples # Shut down and then bring up Ten-GigabitEthernet 1/1/5.
  • Page 35: Storm-Constrain

    <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/1/5 [Sysname-Ten-GigabitEthernet1/1/5] speed auto storm-constrain Use storm-constrain to enable broadcast, multicast, or unknown unicast storm control on an Ethernet port. Use undo storm-constrain to disable storm control. Syntax storm-constrain { broadcast | multicast | unicast } { pps | kbps | ratio } upperlimit lowerlimit undo storm-constrain { all | broadcast | multicast | unicast } Default Traffic storm control is disabled.
  • Page 36: Storm-Constrain Control

    When configuring this command, make sure upperlimit is greater than lowerlimit. Examples # Enable unknown unicast storm control on Ten-GigabitEthernet 1/1/5, setting the upper and lower thresholds to 200 pps and 150 pps. <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/1/5 [Sysname-Ten-GigabitEthernet1/1/5] storm-constrain unicast pps 200 150 # Enable broadcast storm control on Ten-GigabitEthernet 1/1/6, setting the upper and lower thresholds to 2000 kbps and 1500 kbps.
  • Page 37: Storm-Constrain Enable Log

    forward the traffic. To bring up the interface, use the undo shutdown command or disable the storm control function. Examples # Configure Ten-GigabitEthernet 1/1/5 to block the traffic detected crossing the upper storm control threshold. <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/1/5 [Sysname-Ten-GigabitEthernet1/1/5] storm-constrain control block Related commands storm-constrain...
  • Page 38: Storm-Constrain Interval

    Default An interface sends out traps when monitored traffic exceeds the upper threshold or falls below the lower threshold. Views Ethernet interface view Predefined user roles network-admin Examples # Enable Ten-GigabitEthernet 1/1/5 to send traps when it detects storm control threshold events. <Sysname>...
  • Page 39: Unicast-Suppression

    storm-constrain control • unicast-suppression Use unicast-suppression to enable unicast storm suppression and set the unicast storm suppression threshold. Use undo unicast-suppression to restore the default. Syntax unicast-suppression { ratio | pps max-pps | kbps max-kbps } undo unicast-suppression Default Ethernet interfaces do not suppress unicast traffic. Views Ethernet interface view Predefined user roles...
  • Page 40: Using Fortygige

    <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/1/5 [Sysname-Ten-GigabitEthernet1/1/5] unicast-suppression kbps 10000 Related commands broadcast-suppression • multicast-suppression • using fortygige Use using fortygige to combine four 10-GE interfaces that are split from a 40-GE interface into a 40-GE interface. Use undo using fortygige to cancel the configuration. Syntax using fortygige undo using fortygige...
  • Page 41: Using Tengige

    using tengige Use using tengige to split a 40-GE interface into four 10-GE interfaces. Use undo using tengige to cancel the configuration. Syntax using tengige undo using tengige Default A 40-GE interface is used as a single interface, and it will not be automatically split. Views 40-GE interface view Predefined user roles...
  • Page 42: Loopback And Null Interface Commands

    Loopback and null interface commands default Use default to restore the default settings for a loopback or null interface. Syntax default Views Loopback interface view, null interface view Predefined user roles network-admin Usage guidelines CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this command before using it on a live network.
  • Page 43: Display Interface Loopback

    Views Loopback interface view, null interface view Predefined user roles network-admin Parameters text: Specifies an interface description, a string of 1 to 80 characters. Usage guidelines Configure a description for an interface for easy identification and management purposes. You can use the display interface command to view the configured description. Examples # Set the description to for RouterID for interface loopback 1.
  • Page 44 If the loopback keyword is specified but the interface-number argument is not specified, the command displays information about all existing loopback interfaces. Examples # Display detailed information about interface loopback 0. <Sysname> display interface loopback 0 LoopBack0 current state: UP Line protocol current state: UP (spoofing) Description: LoopBack0 Interface The Maximum Transmit Unit is 1536...
  • Page 45 Field Description Average output rate over the last 300 seconds (displayed when the interface supports traffic statistics collection): Last 300 seconds output: 0 • packets/sec—Average number of packets sent per second. bytes/sec, 0 bits/sec, 0 packets/sec • bytes/sec—Average number of bytes sent per second. •...
  • Page 46: Display Interface Null

    Field Description Physical layer state of the interface: • UP—The interface is up. • DOWN—The interface is physically down. Link • ADM—The interface has been administratively shut down. To recover its physical state, run the undo shutdown command. • Stby—The interface is a standby interface. Protocol connection state of the interface: •...
  • Page 47: Interface Loopback

    If the null keyword is not specified, the command displays information about all interfaces of the device. If the null keyword is specified but the 0 keyword is not specified, the command displays information about interface Null 0, because the device has only one null interface Null 0. Examples # Display detailed information about interface Null 0.
  • Page 48: Interface Null

    Default No loopback interface exists. Views System view Predefined user roles network-admin Parameters interface-number: Specifies a loopback interface by its number.. The interface-number argument is in the range of 0 to 127. Usage guidelines The physical layer state and link layer protocols of a loopback interface are always up unless the loopback interface is manually shut down.
  • Page 49: Reset Counters Interface Loopback

    reset counters interface loopback Use reset counters interface loopback to clear the statistics on the specified or all loopback interfaces. Syntax reset counters interface loopback [ interface-number ] Views User view Predefined user roles network-admin Parameters interface-number: Specifies a loopback interface by its number, which can be the number of any existing loopback interface.
  • Page 50: Shutdown

    Examples # Clear the statistics on interface Null 0. <Sysname> reset counters interface null 0 Related commands display interface null shutdown Use shutdown to shut down a loopback interface. Use undo shutdown to bring up a loopback interface. Syntax shutdown undo shutdown Default A loopback interface is up.
  • Page 51: Bulk Interface Configuration Commands

    Bulk interface configuration commands interface range Use interface range to create an interface range and enter the interface range view. Syntax interface range interface-list Views System view Predefined user roles network-admin Parameters interface-list: Specifies an interface list in the format of interface-list = { interface-type interface-number [ to interface-type interface-number ] }&<1-5>.
  • Page 52: Interface Range Name

    <Sysname> system-view [Sysname] interface range ten-gigabitethernet 1/1/5 to ten-gigabitethernet 1/1/10 vlan-interface 2 [Sysname-if-range] shutdown interface range name Use interface range name name interface interface-list to create an interface range, configure a name for the interface range, and enter the interface range view. Use interface range name name without the interface keyword to enter the view of an interface range with the specified name.
  • Page 53 Do not assign an aggregate interface and any of its member interfaces to an interface range at the • same time. Some commands, after being executed on both an aggregate interface and its member interfaces, can break up the aggregation. •...
  • Page 54: Mac Address Table Commands

    MAC address table commands This document covers the configuration of unicast MAC address entries, including static, dynamic, blackhole, and multiport unicast MAC address entries. For more information about configuring static multicast MAC address entries, see IP Multicast Configuration Guide. display mac-address Use display mac-address to display MAC address entries.
  • Page 55: Display Mac-Address Nickname

    <Sysname> display mac-address vlan 100 MAC Address VLAN ID State Port/NickName Aging 0001-0101-0101 Multiport FGE1/1/1 FGE1/1/2 0033-0033-0033 Blackhole 0000-0000-0002 Static FGE1/1/3 00e0-fc00-5829 Learned FGE1/1/4 # Display the total number of MAC address entries. <Sysname> display mac-address count 1 mac address(es) found. Table 10 Command output Field Description...
  • Page 56: Display Mac-Address Aging-Time

    Predefined user roles network-admin network-operator Parameters nickname nickname: Specifies an egress RB by its nickname. The value range for the nickname argument is 0x1 to 0xFFFE in hexadecimal format. Examples # Display the MAC address information of the egress RB with the nickname 0x8c81. <Sysname>...
  • Page 57: Display Mac-Address Statistics

    Predefined user roles network-admin network-operator Parameters interface interface-type interface-number: Specifies an interface by its type and number. If you execute this command without specifying an interface, this command displays the global MAC address learning status and the MAC address learning status of each interface. Examples # Display the global MAC address learning status and the MAC learning status of each interface.
  • Page 58: Mac-Address (Interface View)

    Usage guidelines This command displays the number of MAC address entries per type and the maximum number of MAC address entries allowed for each type. Examples # Display the statistics of the MAC address table. <Sysname> display mac-address statistics MAC Address Count: Dynamic Unicast Address (Learned) Count: Dynamic Unicast Address (Security-service-defined) Count: Static Unicast Address (User-defined) Count:...
  • Page 59 undo mac-address { dynamic | static } mac-address vlan vlan-id Default An interface is not configured with any MAC address entry. Views Ethernet interface view, aggregate interface view, S-channel interface view Predefined user roles network-admin Parameters dynamic: Specifies dynamic MAC address entries. static: Specifies static MAC address entries.
  • Page 60: Mac-Address (System View)

    mac-address (system view) Use mac-address to add or modify a MAC address entry. Use undo mac-address to delete one or all MAC address entries. Syntax mac-address { dynamic | static } mac-address interface interface-type interface-number vlan vlan-id mac-address blackhole mac-address vlan vlan-id undo mac-address [ [ dynamic | static ] mac-address interface interface-type interface-number vlan vlan-id ] undo mac-address [ blackhole | dynamic | static ] [ mac-address ] vlan vlan-id...
  • Page 61: Mac-Address Mac-Learning Enable

    You can delete all the MAC address entries (including unicast MAC address entries and static multicast MAC address entries) of a specified VLAN, or you can delete only a specific type (dynamic, static, or blackhole) of MAC address entries. You can single out certain interfaces and delete the corresponding unicast MAC address entries, but not the corresponding static multicast MAC address entries.
  • Page 62: Mac-Address Mac-Learning Priority

    With MAC address learning enabled globally, you can disable MAC address learning for the • specific interface or VLAN. This command does not take effect in a TRILL network, or for an S-channel in an EVB. For information about TRILL, see TRILL Configuration Guide. For information about S-channel and EVB, see EVB Configuration Guide.
  • Page 63: Mac-Address Mac-Roaming Enable

    Predefined user roles network-admin Parameters high: Assigns high MAC learning priority. low: Assigns low MAC learning priority. Usage guidelines The MAC address learning priority values can be high and low. An interface with high MAC address learning priority can learn any MAC address. An interface with low MAC address learning priority can learn only the MAC addresses that have not been learned by the high-priority interfaces.
  • Page 64: Mac-Address Max-Mac-Count

    Usage guidelines If ports on different IRF member devices are selected ports from the same aggregation group, MAC address entries are synchronized among these IRF member devices regardless of whether MAC address synchronization is enabled for the IRF fabric. For more information about aggregation groups, see Layer 2—LAN Switching Configuration Guide.
  • Page 65: Mac-Address Multiport (Interface View)

    Usage guidelines This command limits the number of MAC address entries for a device. When the number of MAC address entries learned by an interface reaches the limit, the interface stops learning MAC address entries. Examples # Configure interface Ten-GigabitEthernet 1/0/1 to learn up to 600 MAC address entries. Disable the device from forwarding frames with unknown source MAC addresses after the number of learned MAC addresses reaches the upper limit.
  • Page 66: Mac-Address Multiport (System View)

    <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] mac-address multiport 0001-0001-0101 vlan 2 [Sysname-Ten-GigabitEthernet1/0/1] quit [Sysname] interface ten-gigabitethernet 1/0/2 [Sysname-Ten-GigabitEthernet1/0/2] mac-address multiport 0001-0001-0101 vlan 2 Related commands • display mac-address multiport mac-address multiport (system view) • mac-address multiport (system view) Use mac-address multiport to add the specified interfaces to a multiport unicast MAC address entry. Use undo mac-address multiport to remove the specified interfaces from a multiport unicast MAC address entry.
  • Page 67: Mac-Address Timer

    If you execute the undo mac-address [ multiport ] [ [ mac-address ] vlan vlan-id ] command without specifying the multiport keyword, this command deletes all matching MAC address entries. Examples # Add a multiport unicast MAC address entry for MAC address 000f-e201-0101 to send all frames destined for this MAC address out of interfaces Ten-GigabitEthernet 1/0/1 through Ten-GigabitEthernet 1/0/3 that belong to VLAN 2.
  • Page 68 A short aging interval results in removal of valid entries and unnecessary broadcasts that affect • device performance. Examples # Set the aging time to 500 seconds for dynamic MAC address entries. <Sysname> system-view [Sysname] mac-address timer aging 500 Related commands display mac-address aging-time...
  • Page 69: Mac Information Commands

    MAC Information commands mac-address information enable (interface view) Use mac-address information enable to enable MAC Information on an interface. Use undo mac-address information enable to disable MAC Information on an interface. Syntax mac-address information enable { added | deleted } undo mac-address information enable { added | deleted } Default MAC Information is disabled on an interface.
  • Page 70: Mac-Address Information Enable (System View)

    mac-address information enable (system view) Use mac-address information enable to enable MAC Information globally. Use undo mac-address information enable to disable MAC Information globally. Syntax mac-address information enable undo mac-address information enable Default MAC Information is disabled globally. Views System view Predefined user roles network-admin Usage guidelines...
  • Page 71: Mac-Address Information Mode

    Usage guidelines To prevent Syslog messages or SNMP notifications from being sent too frequently, set the MAC change sending interval to a larger value. Examples # Set the MAC change sending interval to 200 seconds. <Sysname> system-view [Sysname] mac-address information interval 200 mac-address information mode Use mac-address information mode to set the MAC Information mode (to use Syslog messages or SNMP notifications) to send MAC address changes.
  • Page 72 Views System view Predefined user roles network-admin Parameters value: Specifies the MAC Information queue length in the range of 0 to 1000. Usage guidelines If the MAC Information queue length is 0, the device sends a Syslog message or SNMP notification immediately after learning or deleting a MAC address.
  • Page 73: Ethernet Link Aggregation Commands

    Ethernet link aggregation commands default Use default to restore the default settings for an aggregate interface. Syntax default Views Aggregate interface view Predefined user roles network-admin Usage guidelines 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 74: Display Interface

    Views Aggregate interface view Predefined user roles network-admin Parameters text: Specifies the interface description, a string of 1 to 80 characters. Examples # Set the description of aggregate interface Bridge-Aggregation 1 to connect to the lab. <Sysname> system-view [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] description connect to the lab display interface Use display interface to display aggregate interface information.
  • Page 75 Bridge-Aggregation123 current state: DOWN IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 00e0-fc00-5800 Description: Bridge-Aggregation123 Interface Unknown-speed mode, unknown-duplex mode Link speed type is autonegotiation, link duplex type is autonegotiation PVID: 1 Port link-type: access Tagged Vlan: none UnTagged Vlan: 1 Last clearing of counters: Never Last 300 seconds input: 0 packets/sec 0 bytes/sec...
  • Page 76 Field Description IPv4 packet frame format. IP Packet Frame Type The value PKTFMT_ETHNT_2 indicates that packets are encapsulated in Ethernet II format. Unknown-speed mode, unknown-duplex mode The interface speed and duplex mode are unknown. PVID Port VLAN ID (PVID). Port link type. Port link-type The value might be access, trunk, or hybrid.
  • Page 77: Display Lacp System-Id

    Field Description Link status: • ADM—The interface has been administratively shut down. To recover its physical layer state, run Link: ADM - administratively down; Stby - standby the undo shutdown command. • Stby—The interface is operating as a backup interface. If the speed of an interface is automatically negotiated, its speed attribute includes the autonegotiation flag, indicated by the letter a in...
  • Page 78: Display Link-Aggregation Load-Sharing Mode

    Table 14 Command output Field Description Local system ID, which comprises the system LACP priority Actor System ID: 0x8000, 0000-fc00-6504 (0x8000 in this sample output) and the system MAC address (0000-FC00-6504 in this sample output). Related commands lacp system-priority display link-aggregation load-sharing mode Use display link-aggregation load-sharing mode to display global or group-specific link-aggregation load sharing criteria.
  • Page 79: Display Link-Aggregation Member-Port

    <Sysname> display link-aggregation load-sharing mode interface bridge-aggregation 10 Bridge-Aggregation10 Load-Sharing Mode: Layer 2 traffic: packet type-based sharing Layer 3 traffic: packet type-based sharing Table 15 Command output Field Description Global link-aggregation load sharing criteria. If the default global load sharing criteria are used, this field Link-Aggregation Load-Sharing Mode displays the load sharing criteria for Layer 2 and Layer 3 traffic.
  • Page 80 Usage guidelines For a member port in a static aggregation group, which is unaware of information about the peer group, this command displays the port number, port priority, and operational key of the local end only. Examples # Display detailed link aggregation information for Ten-GigabitEthernet 1/1/5, which is a member port of a static aggregation group.
  • Page 81: Display Link-Aggregation Summary

    Table 16 Command output Field Description LACP state flags. This field is 1 byte long, represented by ABCDEFGH from the least significant bit to the most significant bit. The letter is present when its bit is 1 and absent when its bit is 0. •...
  • Page 82: Display Link-Aggregation Verbose

    Usage guidelines Information about the remote system for a static link aggregation group is displayed as none or not displayed at all, because static link aggregation groups are unaware of information about the peer groups. Examples # Display the summary information for all aggregation groups. <Sysname>...
  • Page 83 Syntax display link-aggregation verbose [ bridge-aggregation [ interface-number ] ] Views Any view Predefined user roles network-admin network-operator Parameters bridge-aggregation: Displays detailed information about the aggregation groups that correspond to aggregate interfaces. interface-number: Specifies an existing aggregate interface number. Usage guidelines To display information about a specific aggregation group, use the display link-aggregation verbose bridge-aggregation interface-number command.
  • Page 84 # Display detailed information about the aggregation group that correspond to aggregate interface Bridge-Aggregation 20, which is a static aggregation group. <Sysname> display link-aggregation verbose bridge-aggregation 20 Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing Port Status: S -- Selected, U -- Unselected Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation, D -- Synchronization, E -- Collecting, F -- Distributing,...
  • Page 85: Interface Bridge-Aggregation

    Field Description System ID Local system ID, comprising the system LACP priority and the system MAC address. Information about the local end: • Port—Port type and number. • Status—Selected or Unselected state of the port. • Priority—Port priority. • Local Oper-Key—Operational key.
  • Page 86: Lacp Period Short

    Examples # Create aggregate interface Bridge-Aggregation 1 and enter its view. <Sysname> system-view [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] lacp period short Use lacp period short to set the LACP timeout interval on a port to the short timeout interval (3 seconds), and make the peer end to send LACPDUs quickly.
  • Page 87: Link-Aggregation Global Load-Sharing Mode

    Predefined user roles network-admin Parameters system-priority: Specifies the system LACP priority in the range of 0 to 65535. The smaller the value, the higher the system LACP priority. Examples # Set the system LACP priority to 64. <Sysname> system-view [Sysname] lacp system-priority 64 Related commands link-aggregation port-priority link-aggregation global load-sharing mode...
  • Page 88: Link-Aggregation Ignore Vlan

    The load sharing criteria that you configure will overwrite the previous criteria. If unsupported load sharing criteria are configured, an error prompt will appear. In system view, the switch supports the following load sharing criteria and combinations: • Load sharing criteria automatically determined based on the packet type Source IP address •...
  • Page 89: Link-Aggregation Lacp Traffic-Redirect-Notification Enable

    Usage guidelines With this command configured, a Layer 2 aggregate interface ignores the permitted VLAN and VLAN tagging mode configuration of the specified VLANs when determining Selected ports. Inconsistent configuration about these VLANs does not affect the member ports that will become Selected ports. Examples # Configure Layer 2 aggregate interface bridge-aggregation 1 to ignore VLAN 50.
  • Page 90: Link-Aggregation Load-Sharing Mode

    Examples # Enable link-aggregation traffic redirection. <Sysname> system-view [Sysname] link-aggregation lacp traffic-redirect-notification enable link-aggregation load-sharing mode Use link-aggregation load-sharing mode to configure the link-aggregation load sharing criteria for an aggregation group. Use undo link-aggregation load-sharing mode to restore the default setting. Syntax link-aggregation load-sharing mode { destination-ip | destination-mac | source-ip | source-mac } * undo link-aggregation load-sharing mode...
  • Page 91: Link-Aggregation Load-Sharing Mode Local-First

    Examples # Configure the destination MAC address as the load sharing criterion that is specific to the link aggregation group of aggregate interface Bridge-Aggregation 1. <Sysname> system-view [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] link-aggregation load-sharing mode destination-mac Related commands link-aggregation global load-sharing mode link-aggregation load-sharing mode local-first Use link-aggregation load-sharing mode local-first to enable local-first load sharing for link aggregation.
  • Page 92: Link-Aggregation Port-Priority

    Default An aggregation group operates in static aggregation mode. Views Aggregate interface view Predefined user roles network-admin Examples # Configure the aggregation group that corresponds to Bridge-Aggregation 1 to operate in dynamic aggregation mode. <Sysname> system-view [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] link-aggregation mode dynamic link-aggregation port-priority Use link-aggregation port-priority to set the port priority of an interface.
  • Page 93: Link-Aggregation Selected-Port Maximum

    link-aggregation selected-port maximum Use link-aggregation selected-port maximum to configure the maximum number of Selected ports allowed in the aggregation group. Use undo link-aggregation selected-port maximum to restore the default setting. Syntax link-aggregation selected-port maximum number undo link-aggregation selected-port maximum Default The maximum number of Selected ports allowed in an aggregation group is 16.
  • Page 94: Link-Aggregation Selected-Port Minimum

    link-aggregation selected-port minimum Use link-aggregation selected-port minimum to configure the minimum number of Selected ports in the aggregation group. Use undo link-aggregation selected-port minimum to restore the default setting. Syntax link-aggregation selected-port minimum number undo link-aggregation selected-port minimum Default The minimum number of Selected ports in an aggregation group is not specified. Views Aggregate interface view Predefined user roles...
  • Page 95: Reset Counters Interface

    Default An Ethernet interface does not belong to any aggregation group. Views Ethernet interface view Predefined user roles network-admin Parameters number: Specifies the number of the aggregate interface that corresponds to an aggregation group. The value range for the number argument is 1 to 1024. Usage guidelines An Ethernet interface can belong to only one aggregation group.
  • Page 96: Reset Lacp Statistics

    Examples # Clear the statistics for aggregate interface Bridge-Aggregation 1. <Sysname> reset counters interface bridge-aggregation 1 reset lacp statistics Use reset lacp statistics to clear the LACP statistics on the specified member ports or all member ports. Syntax reset lacp statistics [ interface interface-list ] Views User view Predefined user roles...
  • Page 97 [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] shutdown...
  • Page 98: Port Isolation Commands

    Port isolation commands display port-isolate group Use display port-isolate group to display port isolation group information. Syntax display port-isolate group [ group-number ] Views Any view Predefined user roles network-admin network-operator Parameters group-number: Specifies an isolation group by its number in the range of 1 to 8. Examples # Display all isolation groups.
  • Page 99: Port-Isolate Group

    Syntax port-isolate enable group group-number undo port-isolate enable Default No ports are assigned to an isolation group. Views Ethernet interface view, aggregate interface view Predefined user roles network-admin Parameters group group-number: Specifies an isolation group by its number in the range of 1 to 8. Usage guidelines The configuration in Ethernet interface view applies only to the interface.
  • Page 100 Views System view Predefined user roles network-admin Parameters group-number: Specifies an isolation group by its number in the range of 1 to 8. all: Deletes all isolation groups. Examples # Create isolation group 2. <Sysname> system-view [Sysname] port-isolate group 2...
  • Page 101: Spanning Tree Commands

    Spanning tree commands active region-configuration Use active region-configuration to activate your MST region configuration. Syntax active region-configuration Views MST region view Predefined user roles network-admin Usage guidelines When you configure MST region parameters, MSTP launches a new spanning tree calculation process that might cause network topology instability.
  • Page 102: Check Region-Configuration

    Syntax bpdu-drop any undo bpdu-drop any Default BPDU drop is disabled on a port. Views Ethernet interface view Predefined user roles network-admin Examples # Enable BPDU drop on port FortyGigE 1/1/1. <Sysname> system-view [Sysname] interface fortygige 1/1/1 [Sysname-FortyGigE1/1/1] bpdu-drop any check region-configuration Use check region-configuration to display MST region pre-configuration information, including the region name, revision level, and VLAN-to-instance mapping settings.
  • Page 103: Display Stp

    Configuration digest : 0x3ab68794d602fdf43b21c0b37ac3bca8 Instance VLANs Mapped 1, 3 to 4094 Table 20 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 104 brief: Displays brief spanning tree status and statistics. If this keyword is not specified, the command displays the detailed spanning tree status and statistics. slot slot-number: Displays the spanning tree status and statistics on the specified IRF member device. The slot-number argument represents the ID of the IRF member device.
  • Page 105 Field Description Spanning tree status on the port: • FORWARDING—The port can receive and send BPDUs and also forward user traffic. STP State • DISCARDING—The port can receive and send BPDUs but cannot forward user traffic. • LEARNING—The port is in a transitional state. It can receive and send BPDUs but cannot forward user traffic.
  • Page 106 BPDU received TCN: 0, Config: 0, RST: 0, MST: 0 -------[MSTI 1 Global Info]------- Bridge ID : 0.000f-e23e-9ca4 RegRoot ID/IRPC : 0.000f-e23e-9ca4, 0 RootPort ID : 0.0 Root type : Primary root Master bridge : 32768.000f-e23e-9ca4 Cost to master TC received # Display the spanning tree status and statistics when the spanning tree feature is disabled.
  • Page 107 Field Description [LEARNING] The port is in learning state. Port protocol Status of the spanning tree feature on the port. Port role: • Alternate. • Backup. • Port role Root. • Designated. • Master. • Disabled. (Boundary) The port is a regional boundary port. Path cost of the port.
  • Page 108: Display Stp Abnormal-Port

    Field Description Major parameters for the port: • Hello—Hello timer. • MaxAge—Maximum age timer. Port times • FwdDelay—Forward delay timer. • MsgAge—Message age timer. • RemHops—Remaining hops. BPDU sent Statistics on sent BPDUs. BPDU received Statistics on received BPDUs. RegRoot ID/IRPC MSTI regional root/internal path cost.
  • Page 109: Display Stp Bpdu-Statistics

    Examples # In MSTP mode, display information about ports that are blocked by spanning tree protection functions. <Sysname> display stp abnormal-port MSTID Blocked Port Reason FortyGigE1/1/1 Root-Protected FortyGigE1/1/2 Loop-Protected FortyGigE1/1/3 Loopback-Protected Table 23 Command output Field Description MSTID MSTI of the blocked port. Blocked Port Name of a blocked port.
  • Page 110: Field Description

    If you specify a port but not an MSTI, this command displays the BPDU statistics of all MSTIs on the • port. The displayed information is sorted by MSTI ID. If you specify both an MSTI ID and a port, this command displays the BPDU statistics of the specified •...
  • Page 111: Display Stp Down-Port

    Field Description Looped-back BPDUs BPDUs sent and then received by the same port. MAX-aged BPDUs BPDUs whose max age was exceeded. TCN sent TCN BPDUs sent. TCN received TCN BPDUs received. TCA sent TCA BPDUs sent. TCA received TCA BPDUs received. Config sent Configuration BPDUs sent.
  • Page 112: Display Stp History

    Table 25 Command output Field Description Down Port Name of a port that was shut down by the spanning tree protection functions. Reason that the port was shut down. BPDU-Protected indicates the BPDU guard Reason function. display stp history Use display stp history to display the historical port role calculation information for the specified MSTI or all MSTIs.
  • Page 113: Display Stp Region-Configuration

    Role change : ROOT->DESI (Aged) Time : 2009/02/08 00:22:56 Port priority : 0.00e0-fc01-6510 0 0.00e0-fc01-6510 128.1 Port FortyGigE1/1/2 Role change : ALTER->ROOT Time : 2009/02/08 00:22:56 Port priority : 0.00e0-fc01-6510 0 0.00e0-fc01-6510 128.2 128.153 Table 26 Command output Field Description Port Port name.
  • Page 114: Display Stp Root

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

    display stp tc Use display stp tc to display the statistics of TC/TCN BPDUs received and sent by all ports in an MSTI or all MSTIs. Syntax display stp [ instance instance-list ] tc [ slot slot-number ] Views Any view Predefined user roles network-admin network-operator...
  • Page 116: Instance

    instance Use instance to map a list of VLANs to the specified MSTI. Use undo instance to remap the specified VLAN or all VLANs to the CIST (MSTI 0). Syntax instance instance-id vlan vlan-list undo instance instance-id [ vlan vlan-list ] Default All VLANs are mapped to the CIST.
  • Page 117: Region-Name

    display stp region-configuration • region-name Use region-name to configure the MST region name. Use undo region-name to restore the default MST region name. Syntax region-name name undo region-name Default The MST region name of a device is its MAC address. Views MST region view Predefined user roles...
  • Page 118: Revision-Level

    Syntax reset stp [ interface interface-list ] Views User view Predefined user roles network-admin Parameters interface interface-list: Clears the MSTP statistics information of the ports that are specified in the format of interface-list = { interface-type interface-number [ to interface-type interface-number ] }&<1- 1 0>, where &<1- 1 0>...
  • Page 119: Stp Bpdu-Protection

    Examples # Set the MSTP revision level of the MST region to 5. <Sysname> system-view [Sysname] stp region-configuration [Sysname-mst-region] revision-level 5 Related commands active region-configuration • check region-configuration • display stp region-configuration • • instance region-name • vlan-mapping modulo • stp bpdu-protection Use stp bpdu-protection to enable the BPDU guard function.
  • Page 120: Stp Compliance

    Default The network diameter of the switched network is 7. Views System view Predefined user roles network-admin Parameters diameter: Specifies the switched network diameter in the range of 2 to 7. Usage guidelines An appropriate setting of hello time, forward delay, and max age can speed up network convergence. The values of these timers are related to the network size, and you can set the timers by setting the network diameter.
  • Page 121: Stp Config-Digest-Snooping

    Parameters auto: Configures the ports to recognize the MSTP BPDU format automatically and determine the format of MSTP BPDUs to send. dot1s: Configures the ports to receive and send only standard-format (802.1s-compliant) MSTP BPDUs. legacy: Configures the ports to receive and send only compatible-format MSTP BPDUs. Usage guidelines When the setting is configured in Ethernet interface view, it takes effect on only that interface.
  • Page 122: Stp Cost

    <Sysname> system-view [Sysname] interface fortygige 1/1/1 [Sysname-FortyGigE1/1/1] stp config-digest-snooping [Sysname-FortyGigE1/1/1] quit [Sysname] stp global config-digest-snooping Related commands display stp • • stp global config-digest-snooping stp cost Use stp cost to set the path cost of the port or ports. Use undo stp cost to restore the default. Syntax stp [ instance instance-list ] cost cost undo stp [ instance instance-list ] cost...
  • Page 123: Stp Edged-Port

    When the setting is configured in Ethernet interface view, it takes effect on only that interface. When the setting is configured in aggregate interface view, it takes effect on only the aggregate interface. When the setting is configured on a member port in an aggregation group, is takes effect only after the port leaves the aggregation group.
  • Page 124: Stp Enable

    When the setting is configured on a member port in an aggregation group, it takes effect only after the port leaves the aggregation group. Examples # Configure FortyGigE 1/1/1 as an edge port. <Sysname> system-view [Sysname] interface fortygige 1/1/1 [Sysname-FortyGigE1/1/1] stp edged-port Related commands stp bpdu-protection •...
  • Page 125: Stp Global Config-Digest-Snooping

    [Sysname-FortyGigE1/1/1] undo stp enable Related commands • stp global enable stp mode • stp global config-digest-snooping Use stp global config-digest-snooping to enable digest snooping globally. Use undo stp global config-digest-snooping to disable digest snooping globally. Syntax stp global config-digest-snooping undo stp global config-digest-snooping Default The feature is disabled globally.
  • Page 126: Stp Global Mcheck

    Default If the device starts up with the initial settings (or empty configuration), the spanning tree feature is disabled globally. If the device starts up with the default configuration file (or factory defaults), the spanning tree feature is enabled globally. For more information about the startup configuration, see Fundamentals Configuration Guide.
  • Page 127: Stp Loop-Protection

    The stp global mcheck command is effective only when the device operates in MSTP or RSTP mode. Examples # Perform mCheck globally. <Sysname> system-view [Sysname] stp global mcheck Related commands • stp mcheck stp mode • stp loop-protection Use stp loop-protection to enable the loop guard function on the ports. Use undo stp loop-protection to disable the loop guard function on the ports.
  • Page 128: Stp Max-Hops

    stp max-hops Use stp max-hops to set the maximum number of hops for the MST region. Use undo stp max-hops to restore the default. Syntax stp max-hops hops undo stp max-hops Default The maximum number of hops for an MST region is 20. Views System view Predefined user roles...
  • Page 129: Stp Mode

    the STP mode. If you configure Device B to run RSTP or MSTP with Device C, perform mCheck operations on the ports that connect Device B and Device C. The device operates in STP, RSTP, or MSTP mode depending on the spanning tree mode setting. The stp mcheck command is effective only when the device operates in MSTP or RSTP mode.
  • Page 130: Stp No-Agreement-Check

    <Sysname> system-view [Sysname] stp mode stp Related commands stp enable • stp global enable • stp global mcheck • stp mcheck • stp no-agreement-check 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. Syntax stp no-agreement-check undo stp no-agreement-check...
  • Page 131: Stp Point-To-Point

    Syntax stp pathcost-standard { dot1d-1998 | dot1t | legacy } undo stp pathcost-standard Default The devices uses the legacy standard to calculate the default path costs for ports. Views System view Predefined user roles network-admin Parameters dot1d-1998: Configures the device to calculate the default path cost for ports based on IEEE 802.1d- 1 998.
  • Page 132: Stp Port Priority

    Parameters auto: Specifies automatic detection of the link type. force-false: Specifies the non-point-to-point link type. force-true: Specifies the point-to-point link type. Usage guidelines When connecting to a non-point-to-point link, a port is incapable of rapid state transition. You can configure the link type as point-to-point for an aggregate interface or a port that operates in full duplex mode.
  • Page 133: Stp Port-Log

    Parameters instance instance-list: Sets the priority of the ports in the MSTIs that are specified by an instance list, in the format of instance-list = { instance-id [ to instance-id ] }&<1- 1 0>, where &<1- 1 0> indicates that you can specify up to 10 instances or instance ranges.
  • Page 134: Stp Priority

    instance instance-list: Specifies the MSTIs by an instance list, in the format of instance-list = { instance-id [ to instance-id ] }&<1- 1 0>, where &<1- 1 0> indicates that you can specify up to 10 instances or instance ranges. The value range for the instance-id argument is 0 to 4094, and the value 0 represents the CIST. Examples # In MSTP mode, enable outputting port state transition information for MSTI 2.
  • Page 135: Stp Region-Configuration

    stp region-configuration Use stp region-configuration to enter MST region view. Use undo stp region-configuration to restore the default MST region configurations. Syntax stp region-configuration undo stp region-configuration Default The default settings for the MST region are as follows: • The MST region name of the device is the MAC address of the device. All VLANs are mapped to the CIST.
  • Page 136: Stp Root Primary

    Usage guidelines When port role restriction is enabled on a port, the port cannot become a root port. When the setting is configured in Ethernet interface view, it takes effect on only that interface. When the setting is configured in aggregate interface view, it takes effect on only the aggregate interface.
  • Page 137: Stp Root Secondary

    Related commands stp priority • stp root secondary • stp root secondary Use stp root secondary to configure the device as a secondary root bridge. Use undo stp root to restore the default. Syntax stp [ instance instance-list ] root secondary undo stp [ instance instance-list ] root Default A device is not a secondary root bridge.
  • Page 138: Stp Tc-Protection

    undo stp root-protection Default The root guard function is disabled. Views Ethernet interface view, aggregate interface view Predefined user roles network-admin Usage guidelines On a port, the loop guard function, the root guard function, and the edge port setting are mutually exclusive, and the one that is configured first takes effect.
  • Page 139: Stp Tc-Protection Threshold

    Usage guidelines With the TC-BPDU guard function, you can set the maximum number of immediate forwarding address entry flushes that the device can perform within a certain interval (every 10 seconds). For TC-BPDUs received that exceed the limit, the device performs a forwarding address entry flush when the interval elapses.
  • Page 140: Stp Timer Forward-Delay

    Syntax stp tc-restriction undo stp tc-restriction Default TC-BPDU transmission restriction is disabled. Views Ethernet interface view, aggregate interface view Predefined user roles network-admin Usage guidelines When TC-BPDU transmission restriction is enabled on a port, the port does not send TC-BPDUs to the other ports, and it does not delete the MAC address entries.
  • Page 141: Stp Timer Hello

    Usage guidelines The forward delay timer determines the time interval of state transition. To prevent temporary loops, a spanning tree port goes through the learning (intermediate) state before it transits from the discarding state to the forwarding state. To stay synchronized with the remote device, the port has a wait period between transition states that is determined by the forward delay timer.
  • Page 142: Stp Timer Max-Age

    protocols automatically calculate the optimal settings for the hello timer. If the network diameter uses the default value, the hello timer also uses the default value. Examples # In MSTP mode, set the hello time to 400 centiseconds. <Sysname> system-view [Sysname] stp timer hello 400 Related commands •...
  • Page 143: Stp Timer-Factor

    Related commands stp bridge-diameter • stp timer forward-delay • • stp timer hello stp timer-factor Use stp timer-factor to configure the timeout interval by setting the timeout factor. Timeout interval = timeout factor × 3 × hello time. Use undo stp timer-factor to restore the default. Syntax stp timer-factor factor undo stp timer-factor...
  • Page 144: Vlan-Mapping Modulo

    Use undo stp transmit-limit to restore the default. Syntax stp transmit-limit limit undo stp transmit-limit Default The BPDU transmission rate of each port is 10. Views Ethernet interface view, aggregate interface view Predefined user roles network-admin Parameters limit: Sets the BPDU transmission rate in the range of 1 to 255. Usage guidelines The maximum number of BPDUs that a port can send within each hello time equals the BPDU transmission rate plus the hello timer value.
  • Page 145 Predefined user roles network-admin Parameters modulo: Sets the modulo value in the range of 1 to 64. Usage guidelines You cannot map a VLAN to different MSTIs. If you map a VLAN that has been mapped to an MSTI to a new MSTI, the old mapping is automatically removed.
  • Page 146: Loop Detection Commands

    Loop detection commands display loopback-detection Use display loopback-detection to display the loop detection configuration and status. Syntax display loopback-detection Views Any view Predefined user roles network-admin network-operator Example # Display the loop detection configuration and status. <Sysname> display loopback-detection Loopback detection is enabled. Loopback detection interval is 30 second(s).
  • Page 147: Loopback-Detection Enable

    Use undo loopback-detection action to restore the default. Syntax In Ethernet interface view: loopback-detection action { block | no-learning | shutdown } undo loopback-detection action In aggregate interface view: loopback-detection action shutdown undo loopback-detection action Default When the device detects a loop on a port, it generates a log but performs no action on the port. Views Ethernet interface view, aggregate interface view Predefined user roles...
  • Page 148: Loopback-Detection Global Action

    Use undo loopback-detection enable to disable loop detection on a port. Syntax loopback-detection enable vlan { vlan-list | all } undo loopback-detection enable vlan { vlan-list | all } Default The loop detection function is disabled on ports. Views Ethernet interface view, aggregate interface view Predefined user roles network-admin Parameters...
  • Page 149: Loopback-Detection Global Enable

    Views System view Predefined user roles network-admin Parameters shutdown: Enables the shutdown mode. If a loop is detected, the device generates a log and shuts down the port. Usage guidelines Use this command to configure the loop protection action globally. To configure the loop protection action on a specific port, use the loopback-detection action command in interface view.
  • Page 150: Loopback-Detection Interval-Time

    Usage guidelines Use this command to enable loop detection globally. To enable loop detection on a specific port, use the loopback-detection enable command in interface view. The global configuration applies to all ports in the specified VLAN. The per-port configuration applies to the individual port only when the port belongs to the specified VLAN.
  • Page 151: Vlan Commands

    VLAN commands Basic VLAN commands default Use default to restore the default settings for a VLAN interface. Syntax default Views VLAN interface view Predefined user roles network-admin Usage guidelines CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this command when you use it in a live network.
  • Page 152: Display Interface Vlan-Interface

    Default For a VLAN, the description is VLAN vlan-id, which specifies the ID of the VLAN. For example, the default description of VLAN 100 is VLAN 0100. For a VLAN interface, the description is the name of the interface. For example, Vlan-interface1 Interface.
  • Page 153 Syntax display interface vlan-interface [ vlan-interface-id ] [ brief [ description ] ] Views Any view Predefined user roles network-admin network-operator Parameters vlan-interface-id: Specifies a VLAN interface number. If you do not specify this argument, this command displays information about all VLAN interfaces. brief: Displays brief interface information.
  • Page 154 Table 31 Command output Field Description Physical state of a VLAN interface: • DOWN ( Administratively )—The administrative state of the VLAN interface is down, because it has been shut down with the shutdown command. • DOWN—The administrative state of the VLAN interface is up, Vlan-interface2 current state but its physical state is down.
  • Page 155: Display Vlan

    Field Description Protocol connection state of the interface: • Protocol • DOWN. • UP(s). Main IP Main IP address of the interface. Description Description of the interface. display vlan Use display vlan to display VLAN information. Syntax display vlan [ vlan-id1 [ to vlan-id2 ] | all | dynamic | reserved | static ] Views Any view Predefined user roles...
  • Page 156: Interface Vlan-Interface

    FortyGigE1/1/1 FortyGigE1/1/2 FortyGigE1/1/3 # Display VLAN 3 information. <Sysname> display vlan 3 VLAN ID: 3 VLAN type: static Route interface: Configured IP address: 1.1.1.1 Subnet mask: 255.255.255.0 Description: VLAN 0003 Name: VLAN 0003 Tagged ports: None Untagged ports: None Table 32 Command output Field Description VLAN type...
  • Page 157: Mtu

    Predefined user roles network-admin Parameters vlan-interface-id: Specifies a VLAN interface number in the range of 1 to 4094. Usage guidelines Create the VLAN before you create the VLAN interface. Examples # Create VLAN interface 2, and enter its view. <Sysname> system-view [Sysname] vlan 2 [Sysname-vlan2] quit [Sysname] interface vlan-interface 2...
  • Page 158: Name

    Examples # Set the MTU to 1492 bytes for VLAN-interface 1. <Sysname> system-view [Sysname] interface vlan-interface 1 [Sysname-Vlan-interface1] mtu 1492 Related commands display interface vlan-interface name Use name to configure a name for the VLAN. Use undo name to restore the default name of the VLAN. Syntax name text undo name...
  • Page 159: Service

    service Use service to specify the IRF member device for forwarding the traffic on the current VLAN interface. Use undo service to restore the default. Syntax service slot slot-number undo service slot Default No IRF member device is specified for forwarding the traffic on the VLAN interface. Views VLAN interface view Predefined user roles...
  • Page 160: Vlan

    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 it goes down if all ports in the VLAN go down. Views VLAN interface view Predefined user roles network-admin Usage guidelines...
  • Page 161: Port-Based Vlan 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-id1 and vlan-id2 arguments specify VLAN IDs in the range of 1 to 4094. The vlan-id1 argument cannot be greater than vlan-id2. all: Creates or removes all VLANs except reserved VLANs.
  • Page 162: Port

    Examples # Display information about the hybrid ports in the system. <Sysname> display port hybrid Interface PVID VLAN Passing XGE1/0/4 Tagged: 1000, 1002, 1500, 1600-1611, 2000, 2555-2558, 3000, 4000 Untagged:1, 10, 15, 18, 20-30, 44, 55, 67, 100, 150-160, 200, 255, 286, 300-302 # Display information about the trunk ports in the system.
  • Page 163: Port Access Vlan

    Usage guidelines This command is applicable only on access ports. By default, all ports are access ports. However, you can manually configure the port type. For more information, see "port link-type." Examples # Assign FortyGigE 1/1/1 through FortyGigE 1/1/3 to VLAN 2. <Sysname>...
  • Page 164: Port Hybrid Pvid

    Examples # Assign FortyGigE 1/1/1 to VLAN 3. <Sysname> system-view [Sysname] vlan 3 [Sysname-vlan3] quit [Sysname] interface fortygige 1/1/1 [Sysname-FortyGigE1/1/1] port access vlan 3 port hybrid pvid Use port hybrid pvid to configure the PVID of the hybrid port. Use undo port hybrid pvid to restore the default. Syntax port hybrid pvid vlan vlan-id undo port hybrid pvid...
  • Page 165: Port Hybrid Vlan

    [Sysname] vlan 100 [Sysname-vlan100] quit [Sysname] interface fortygige 1/1/1 [Sysname-FortyGigE1/1/1] port link-type hybrid [Sysname-FortyGigE1/1/1] port hybrid pvid vlan 100 [Sysname-FortyGigE1/1/1] port hybrid vlan 100 untagged Related commands • port hybrid vlan port link-type • port hybrid vlan Use port hybrid vlan to assign the hybrid ports to the specified VLANs. Use undo port hybrid vlan to remove the hybrid ports from the specified VLANs.
  • Page 166: Port Link-Type

    Examples # Assign the hybrid port FortyGigE 1/1/1 to VLAN 2, VLAN 4, and VLAN 50 through VLAN 100, and configure FortyGigE 1/1/1 to send packets of these VLANs with tags. <Sysname> system-view [Sysname] interface fortygige 1/1/1 [Sysname-FortyGigE1/1/1] port link-type hybrid [Sysname-FortyGigE1/1/1] port hybrid vlan 2 4 50 to 100 tagged Related commands port link-type...
  • Page 167: Port Trunk Permit Vlan

    [Sysname] interface fortygige 1/1/1 [Sysname-FortyGigE1/1/1] port link-type trunk port trunk permit vlan Use port trunk permit vlan to assign the trunk ports to the specified VLANs. Use undo port trunk permit vlan to remove the trunk ports from the specified VLANs. Syntax port trunk permit vlan { vlan-list | all } undo port trunk permit vlan { vlan-list | all }...
  • Page 168: Port Trunk Pvid

    Related commands port link-type port trunk pvid Use port trunk pvid to configure the PVID for the trunk port. Use undo port trunk pvid to restore the default. Syntax port trunk pvid vlan vlan-id undo port trunk pvid Default The PVID of a trunk port is VLAN 1. Views Ethernet interface view, aggregate interface view, S-channel interface view Predefined user roles...
  • Page 169 Related commands port link-type • port trunk permit vlan •...
  • Page 170: Qinq Commands

    QinQ commands This document uses the following terms: CVLAN—Customer network VLANs, also called "inner VLANs," refer to VLANs that a customer • uses on the private network. SVLAN—Service provider network VLANs, also called "outer VLANs," refer to VLANs that a service •...
  • Page 171: Qinq Enable

    Interface FortyGigE1/1/1 FortyGigE1/1/3 Table 34 Command output Field Description Interface Interface name. FortyGigE1/1/1 QinQ-enabled interface. Related commands qinq enable qinq enable Use qinq enable to enable QinQ on an Ethernet interface. Use undo qinq enable to restore the default. Syntax qinq enable undo qinq enable Default...
  • Page 172: Qinq Ethernet-Type Service-Tag

    Default The CVLAN TPID is 0x8100. Views System view Predefined user roles network-admin Parameters hex-value: Sets a hexadecimal TPID value in the range of 0x0001 to 0xFFFF, excluding the common protocol type values listed in Table Table 35 Common protocol type values Protocol type Value 0x0806...
  • Page 173: Qinq Transparent-Vlan

    Syntax qinq ethernet-type service-tag hex-value undo qinq ethernet-type service-tag Default The SVLAN TPID is 0x8100. Views Ethernet interface view, aggregate interface view Predefined user roles network-admin Parameters hex-value: Sets a hexadecimal TPID value in the range of 0x0001 to 0xFFFF, excluding the common protocol type values listed in Table Usage guidelines...
  • Page 174 Parameters vlan-list: Specifies a space-separated list of up to 10 VLAN items. Each item specifies a VLAN ID or a range of VLAN IDs in the start-vlan-id to end-vlan-id form. The value range for VLAN IDs are 1 to 4094. Make sure the VLANs have been created.
  • Page 175: Vlan Mapping Commands

    VLAN mapping commands display vlan mapping Use display vlan mapping to display VLAN mapping information. Syntax display vlan mapping [ interface interface-type interface-number ] Views Any view Predefined user roles network-admin network-operator Parameters interface interface-type interface-number: Displays VLAN mapping information of an interface specified by its type and number.
  • Page 176: Vlan Mapping

    Table 36 Command output Field Description Interface Interface information. Outer VLAN Original outer VLAN. Inner VLAN Original inner VLAN. Translated Outer VLAN Translated outer VLAN. Translated Inner VLAN Translated inner VLAN. Related commands vlan mapping vlan mapping Use vlan mapping to configure VLAN mapping on an interface. Use undo vlan mapping to cancel the VLAN mapping configuration.
  • Page 177 is specified in the format of { vlan-id }&<1- 1 0>, where &<1- 1 0> indicates that you can specify up to ten VLAN IDs. The vlan-id argument is in the range of 1 to 4094. Any of the original VLANs cannot be the same as the translated VLAN.
  • Page 178 Examples # Configure one-to-one VLAN mapping on FortyGigE 1/1/1 to map VLAN 1 to VLAN 101. <Sysname> system-view [Sysname] interface fortygige 1/1/1 [Sysname-FortyGigE1/1/1] vlan mapping 1 translated-vlan 101 # Configure many-to-one VLAN mapping on customer-side port FortyGigE 1/1/2 to map VLANs 1 through 50 and VLAN 80 to VLAN 101.
  • Page 179: Lldp Commands

    LLDP commands dcbx version Use dcbx version to configure the DCBX version. Use undo dcbx version to restore the default. Syntax dcbx version { rev100 | rev101 } undo dcbx version Default The DCBX version is autonegotiated by two interfaces, with DCBX Rev 1.01 as the initial version for negotiation at the local end.
  • Page 180 System name : HP System description : HP Comware Platform Software, Software Version 7.1.035, T est 2302 HP 6125XLG Blade Switch Copyright (c) 2010-2013 Hewlett-Packard Development Compa ny, L.P. System capabilities supported : Bridge, Router System capabilities enabled : Bridge, Router...
  • Page 181 Global LLDP local-information: Chassis ID : 00e0-fc00-5800 System name : HP System description : HP Comware Platform Software, Software Version 7.1.035, T est 2302 HP 6125XLG Blade Switch Copyright (c) 2010-2013 Hewlett-Packard Development Compa ny, L.P. System capabilities supported : Bridge, Router...
  • Page 182 : 102 SoftwareRev : 7.1.035 Test 2302 SerialNum : DPPMWWB123456 Manufacturer name : HP Model name : HP 6125XLG Blade Switch Asset tracking identifier : Unknown LLDP local-information of port 1[FortyGigE1/1/1]: Port ID type : Interface name Port ID : FortyGigE1/1/1]...
  • Page 183 TCP or UDP port 0xEA Auto-negotiation supported : No Auto-negotiation enabled : No OperMau : Speed(0)/Duplex(Unknown) Power port class : PSE PSE power supported : No PSE power enabled : No PSE pairs control ability : No Power pairs : Signal Port power classification : Class 0 Link aggregation supported : Yes...
  • Page 184 Field Description Port ID type: • Port ID type MAC address. • Interface name. Port ID Port ID, the value of which depends on the port ID type. 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 185: Display Lldp Neighbor-Information

    Field Description PoE device type: • Power port class PSE—Power sourcing equipment. • PD—Powered device. PSE power supported Indicates whether the device can operate as a PSE. PSE power enabled Indicates whether the device is operating as a PSE. PSE pairs control ability Indicates whether the PSE-PD pair control is available.
  • Page 186 system-name system-name: Displays the LLDP information that the local device receives from a neighboring device specified by its system name. The system-name argument is a character string of 1 to 255 characters. If this option is not specified, this command displays the LLDP information that the local device receives from all neighboring devices in a list.
  • Page 187 DCBX APP subTLV info: CoS map: 0x10 Auto-negotiation supported : No Auto-negotiation enabled : No OperMau : Speed(0)/Duplex(Unknown) Power port class : PSE PSE power supported : No PSE power enabled : No PSE pairs control ability : No Power pairs : Signal Port power classification : Class 0...
  • Page 188 System capabilities enabled : Bridge, Router Management address type : IPv4 Management address : 10.0.1.1 Management address interface type : IfIndex Management address interface ID : 3858 Management address OID Port VLAN ID(PVID) : 20 DCBX control subTLV info: Oper version : Ver 1.01 Sequence number Acknowledge number : 0...
  • Page 189 Software version : Cisco IOS Software, C3750 Software (C3750-ADVIPSERVICESK9 -M), Version 12.2(25)SED1, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2005 by Cisco Systems, Inc. Compiled Tue 22-Nov-05 23:37 by yenanh Platform version : cisco WS-C3750G-48TS Duplex : Full Time to live : 180 # Display the summary LLDP information that all ports receive from the neighboring devices.
  • Page 190: Ipv4

    Field Description Chassis ID representation: • Chassis component. • Interface alias. • Port component. Chassis type • MAC address. • Network address (ipv4). • Interface name. • Locally assigned—Locally-defined chassis type other than those listed above. ID that identifies the LLDP sending device, which can be a MAC Chassis ID address, a network address, an interface or some other value depending on the chassis type of the neighboring device.
  • Page 191: Management Address Oid

    Field Description Capabilities enabled on the neighboring device: • Repeater—Signal repeating is enabled. • Bridge—Switching is enabled. • WlanAccessPoint—The neighboring device is serving as a wireless access point. • System capabilities enabled Router—Routing is enabled. • Telephone—The neighboring device is serving as a telephone. •...
  • Page 192: Port Power Classification : Class

    Field Description PoE device type: • Power port class PSE—Power sourcing equipment. • PD—Powered device. PSE power supported Indicates whether the device can operate as a PSE. PSE power enabled Indicates whether the device is operating as a PSE. PSE pairs control ability Indicates whether the PSE-PD pair control is available.
  • Page 193: Display Lldp Statistics

    Field Description CDP neighbor index Index of the CDP neighboring device. Chassis ID Name of the CDP neighboring device. IPv4 address of the port that connects the CDP neighboring device to Address the local device. ID of the port that connects the CDP neighboring device to the local Port ID device.
  • Page 194: Display Lldp Status

    The number of LLDP frames discarded The number of LLDP error frames The number of LLDP TLVs discarded The number of LLDP TLVs unrecognized The number of LLDP neighbor information aged out : 0 The number of CDP frames transmitted The number of CDP frames received The number of CDP frames discarded The number of CDP error frames...
  • Page 195 Transmit interval : 30s Hold multiplier Reinit delay : 2s Transmit delay : 2s Trap interval : 5s Fast start times LLDP status information of Port 1 [FortyGigE1/1/1]: Port status of LLDP : Enable Admin status : Tx_Rx Trap flag : No MED trap flag : No...
  • Page 196: Display Lldp Tlv-Config

    Field Description Number of sent optional TLV Number of optional TLVs contained in an LLDPDU sent through the port. Number of received unknown TLV Number of unknown TLVs contained in a received LLDPDU. display lldp tlv-config Use display lldp tlv-config to display the types of advertisable optional LLDP TLVs of a port. Syntax display lldp tlv-config [ interface interface-type interface-number ] Views...
  • Page 197: Lldp Admin-Status

    Location Identification TLV Extended Power via MDI TLV Inventory TLV Table 41 Command output Field Description LLDP tlv-config of port 1 Advertisable optional TLVs of port 1. NAME TLV type. STATUS Indicates whether a specific type of TLV is sent through a port. DEFAULT Indicates whether a specific type of TLV is sent through a port by default.
  • Page 198: Lldp Agent Nearest-Nontpmr Admin-Status

    Views Ethernet interface view Predefined user roles network-admin Parameters disable: Specifies the Disable mode. A port in this mode cannot send or receive LLDPDUs. rx: Specifies the Rx mode. A port in this mode can only receive LLDPDUs. tx: Specifies the Tx mode. A port in this mode can only send LLDPDUs. txrx: Specifies the TxRx mode.
  • Page 199: Lldp Compliance Admin-Status Cdp

    Use undo lldp check-change-interval to disable LLDP polling. Syntax lldp check-change-interval interval undo lldp check-change-interval Default LLDP polling is disabled. Views Ethernet interface view Predefined user roles network-admin Parameters interval: Sets the LLDP polling interval in the range of 1 to 30 seconds. Examples # Enable LLDP polling on FortyGigE 1/1/1 and set the polling interval to 30 seconds.
  • Page 200: Lldp Compliance Cdp

    Examples # Enable CDP-compatible LLDP globally and configure CDP-compatible LLDP to operate in TxRx mode on FortyGigE 1/1/1. <Sysname> system-view [Sysname] lldp compliance cdp [Sysname] interface fortygige 1/1/1 [Sysname-FortyGigE1/1/1] lldp compliance admin-status cdp txrx Related commands lldp compliance cdp lldp compliance cdp Use lldp compliance cdp to enable CDP compatibility globally.
  • Page 201: Lldp Encapsulation Snap

    Syntax lldp enable undo lldp enable Default LLDP is enabled on a port. Views Ethernet interface view Predefined user roles network-admin Usage guidelines LLDP takes effect on a port only when LLDP is enabled both globally and on the port. Examples # Disable LLDP on FortyGigE 1/1/1.
  • Page 202: Lldp Fast-Count

    lldp fast-count Use lldp fast-count to set the number of LLDPDUs sent each time fast LLDPDU transmission is triggered. Use undo lldp fast-count to restore the default. Syntax lldp fast-count count undo lldp fast-count Default The number is 3. Views System view Predefined user roles network-admin...
  • Page 203: Lldp Hold-Multiplier

    Predefined user roles network-admin Usage guidelines LLDP takes effect only when LLDP is enabled both globally and on the port. Examples # Disable LLDP globally. <Sysname> system-view [Sysname] undo lldp global enable Related commands lldp enable lldp hold-multiplier Use lldp hold-multiplier to set the TTL multiplier. Use undo lldp hold-multiplier to restore the default.
  • Page 204: Lldp Management-Address-Format String

    Related commands lldp timer tx-interval lldp management-address-format string Use lldp management-address-format string to change the data type of the value in the management address TLV to string type. Use undo lldp management-address-format to restore the default. Syntax lldp management-address-format string undo lldp management-address-format Default The value in the management address TLV is numeric type.
  • Page 205: Lldp Notification Remote-Change Enable

    Examples # Enable LLDP-MED trapping for FortyGigE 1/1/1. <Sysname> system-view [Sysname] interface fortygige 1/1/1 [Sysname-FortyGigE1/1/1] lldp notification med-topology-change enable lldp notification remote-change enable Use lldp notification remote-change enable to enable LLDP trapping. Use undo lldp notification remote-change enable to disable LLDP trapping. Syntax lldp notification remote-change enable undo lldp notification remote-change enable...
  • Page 206: Lldp Timer Reinit-Delay

    Parameters interval: Sets the LLDP trap transmit interval and LLDP-MED trap transmit interval in the range of 5 to 3600 seconds. Examples # Set both the LLDP trap transmit interval and LLDP-MED trap transmit interval to 8 seconds. <Sysname> system-view [Sysname] lldp timer notification-interval 8 lldp timer reinit-delay Use lldp timer reinit-delay to set the LLDP re-initialization delay.
  • Page 207: Lldp Timer Tx-Interval

    Predefined user roles network-admin Parameters delay: Sets the LLDPDU transmit delay in the range of 1 to 8192 seconds. Usage guidelines It is a good practice to set the LLDPDU transmit delay to be no greater than a quarter of the LLDPDU transmit interval.
  • Page 208: Lldp Tlv-Enable

    [Sysname] lldp timer tx-interval 20 Related commands lldp timer tx-delay lldp tlv-enable Use lldp tlv-enable to configure the types of advertisable TLVs. Use undo lldp tlv-enable to disable the advertising of specific types of TLVs. Syntax lldp tlv-enable { basic-tlv { all | management-address-tlv [ ip-address ] | port-description | system-capability | system-description | system-name } | dot1-tlv { all | dcbx | port-vlan-id | protocol-vlan-id [ vlan-id ] | vlan-name [ vlan-id ] } | dot3-tlv { all | link-aggregation | mac-physic | max-frame-size | power } | med-tlv { all | capability | inventory | location-id { civic-address...
  • Page 209 dot1-tlv: Advertises IEEE 802.1 organizationally specific LLDP TLVs. dcbx: Advertises the Data Center Bridging Exchange Protocol (DCBX) TLV. port-vlan-id: Advertises port VLAN ID TLVs. protocol-vlan-id [ vlan-id ]: Advertises port and protocol VLAN ID TLVs. The vlan-id argument specifies a VLAN ID in the TLVs to be advertised.
  • Page 210 <Sysname> system-view [Sysname] interface fortygige 1/1/1 [Sysname-FortyGigE1/1/1] lldp tlv-enable dot3-tlv link-aggregation...
  • Page 211: Service Loopback Group Commands

    Service loopback group commands display service-loopback group Use display service-loopback group to display information about the specified service loopback group or all service loopback groups. Syntax display service-loopback group [ number ] Views Any view Predefined user roles network-admin network-operator Parameters number: Specifies a service loopback group ID in the range of 1 to 1024.
  • Page 212: Service-Loopback Group

    Syntax port service-loopback group number undo port service-loopback group Default A port does not belong to any service loopback group. Views Ethernet interface view Predefined user roles network-admin Parameters number: Specifies a service loopback group ID in the range of 1 to 1024. Usage guidelines When a port joins a service loopback group, the configuration on the port is removed.
  • Page 213 Parameters number: Specifies a service loopback group ID in the range of 1 to 1024. type: Specifies the service type of a service loopback group. multicast-tunnel: Specifies the service type of a service loopback group as Multicast tunnel (multicast tunnel service). tunnel: Specifies the service type of a service loopback group as Tunnel (unicast tunnel service).
  • Page 214: Cut-Through Forwarding Commands

    Cut-through forwarding commands cut-through enable Use cut-through enable to enable cut-through forwarding. Use undo cut-through enable to restore the default. Syntax cut-through enable undo cut-through enable Default Cut-through forwarding is disabled. Views System view Predefined user roles network-admin Usage guidelines A cut-through forwarding-enabled device forwards a frame after it receives the first 64 bytes of the frame.
  • Page 215: Support And Other Resources

    Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.com/support Before contacting HP, collect the following information: Product model names and numbers • Technical support registration number (if applicable) • • Product serial numbers Error messages •...
  • Page 216: 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 217 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 218: Index

    Index A B C D F I J L M N P Q R S U V W display loopback-detection,139 display mac-address,47 active region-configuration,94 display mac-address aging-time,49 display mac-address mac-learning,49 display mac-address nickname,48 bpdu-drop any,94 display mac-address statistics,50 broadcast-suppression,1 display packet-drop,14 port,154 display...
  • Page 219 mac-address information enable (system view),63 mac-address information interval,63 jumboframe enable,19 mac-address information mode,64 mac-address information queue-length,64 lacp period short,79 mac-address mac-learning enable,54 lacp system-priority,79 mac-address mac-learning priority,55 link-aggregation global load-sharing mode,80 mac-address mac-roaming enable,56 link-aggregation ignore vlan,81 mac-address max-mac-count,57 link-aggregation lacp traffic-redirect-notification mac-address multiport (interface view),58 enable,82...
  • Page 220 revision-level,1 1 1 point-to-point,124 stp port priority,125 port-log,126 service,152 priority,127 service-loopback group,205 region-configuration,128 shutdown,89 role-restriction,128 shutdown,152 stp root primary,129 shutdown,26 stp root secondary,130 shutdown,43 root-protection,130 speed,27 tc-protection,131 storm-constrain,28 stp tc-protection threshold,132 storm-constrain control,29 tc-restriction,132 storm-constrain enable log,30 stp timer forward-delay,133 storm-constrain enable trap,30 stp timer...

Table of Contents