HP 5920 & 5900 Switch Series Layer 2 - LAN Switching Command Reference Part number: 5998-2882 Software version: Release2207 Document version: 6W100-20121130...
Page 2
The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty.
Page 7
······································································································································ 196 Cut-through forwarding commands ······················································································································· 198 cut-through enable ··············································································································································· 198 Support and other resources ·································································································································· 199 Contacting HP ······························································································································································ 199 Subscription service ············································································································································ 199 Related information ······················································································································································ 199 Documents ···························································································································································· 199 ...
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...
Examples # Set the broadcast suppression threshold to 10000 kbps on Ten-GigabitEthernet 1/0/1. <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] 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...
Default description interface interface name plus Interface (for example, Ten-GigabitEthernet1/0/1 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.
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.
reset counters interface • display interface Use display interface to display Ethernet interface information. Syntax display interface [ interface-type [ interface-number ] ] Views Any view Predefined user roles network-admin network-operator Parameters interface-type: Specifies an interface type. interface-number: Specifies an interface number. Usage guidelines If no interface type is specified, this command displays information about all interfaces.
Page 14
Last clearing of counters: Never Peak value of input: 0 bytes/sec, at 2011-01-01 22:10:43 Peak value of output: 0 bytes/sec, at 2011-01-01 22:10:43 Last 300 seconds input: 0 packets/sec 0 bytes/sec -% Last 300 seconds output: 0 packets/sec 0 bytes/sec -% Input (total): 0 packets, 0 bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses...
Page 15
Field Description Broadcast storm suppression threshold, in percent, pps, or kbps Broadcast MAX- depending on your configuration. Multicast storm suppression threshold, in percent, pps, or kbps Multicast MAX- depending on your configuration. Unknown unicast storm suppression threshold, in percent, pps, or Unicast MAX- kbps depending on your configuration.
Page 16
Field Description The number of inbound frames larger than the maximum frame length supported on the interface. IMPORTANT: • For an Ethernet interface that does not permit jumbo frames, if the port is a QSFP+ port, or an SFP+ port with a 10-Gigabit transceiver module plugged, giants refer to frames larger than 1536 bytes (excluding the 4 bytes of CRC and ignoring the VLAN tags).
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).
Field Description The number of packets dropped because the output rate of the underruns interface exceeded the output queuing capability. This is a low-probability hardware anomaly. 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.
Page 19
If an interface type is specified but no interface number is specified, this command displays information about all interfaces of that type. 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.
Page 20
Table 4 Output description Field Description The brief information of interface(s) The command displays brief information about Layer 3 interfaces. under route mode: • ADM—The interface has been shut down by the network administrator. To recover its physical layer state, use the undo Link: ADM - administratively down;...
Field Description Duplex mode of the interface: • A—Auto-negotiation • F—Full duplex Duplex • F(a)—Auto-negotiated full duplex • H—Half duplex • H(a)—Auto-negotiated half duplex Link type of the interface: • A—Access Type • H—Hybrid • T—Trunk PVID Port VLAN ID. Causes for the physical state of an interface to be DOWN.
Packets dropped due to full GBP or insufficient bandwidth: 0 Packets dropped due to Fast Filter Processor (FFP): 0 Packets dropped due to STP non-forwarding state: 0 Table 5 Command output Field Description Packets dropped due to full GBP or insufficient Packets that are dropped because the buffer is used bandwidth up or the bandwidth is insufficient.
Table 6 Command output Field Description Flow Statistic Interval Traffic polling interval (in seconds) of the storm control module. Port Abbreviated port name. Type of traffic subjected to storm control: • BC—Broadcast packets. StormType • MC—Multicast packets. • UC—Unknown unicast packets. LowerLimit Lower storm control threshold, in pps, kbps, or percentage.
Views Ethernet interface view Predefined user roles network-admin Parameters auto: Configures the interface to autonegotiate the duplex mode with the peer. full: Configures the interface to operate in full duplex mode, so that the interface can receive and transmit packets at the same time. half: Configures the interface to operate in half duplex mode, so that the interface can only receive or only transmit packets at one time.
Examples # Enable TxRx mode generic flow control on the interface Ten-GigabitEthernet 1/0/1. <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] flow-control flow-control receive enable Use flow-control receive enable to enable Rx mode generic flow control on an Ethernet port. Use undo flow-control to disable generic flow control on an Ethernet interface. Syntax flow-control receive enable undo flow-control...
undo flow-interval Views Ethernet interface view Predefined user roles network-admin Parameters interval: Sets the statistics polling interval, in seconds. The interval is in the range of 5 to 300 and must be a multiple of 5. Examples # Set the statistics polling interval to 100 seconds on Ten-GigabitEthernet 1/0/1. <Sysname>...
Default The device allows jumbo frames within 10000 bytes to pass through. Views Ethernet interface view Predefined user roles network-admin Parameters value: Sets the maximum length of Ethernet frames that are allowed to pass through. The value range for this argument is 1536 to 10000 bytes. Usage guidelines If you set the value argument multiple times, the most recent configuration takes effect.
When the interface comes down, the link-down event is not reported to the CPU unless the interface • is still down when the suppression interval (delay-time) expires. When the interface goes up, the link-up event is immediately reported. • With the link-delay delay-time mode up command configured: When the interface goes up, the link-up event is not reported to the CPU unless the interface is still •...
During a loopback test, the Ethernet interface operates in full duplex mode. When the loopback test is complete, the port returns to its duplex setting. Examples # Perform an internal loopback test on Ten-GigabitEthernet 1/0/1. <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] loopback internal Loop internal succeeded! multicast-suppression...
When you configure the suppression threshold in pps or kbps, the device may convert the configured value into a multiple of a certain step supported by the chip. As a result, the actual suppression threshold may be different from the configured one. To determine the suppression threshold that takes effect, see the prompts on the device.
priority-flow-control no-drop dot1p Use priority-flow-control no-drop dot1p to enable PFC for specific 802.1p priorities on an Ethernet interface. Use undo priority-flow-control no-drop dot1p to restore the default. Syntax priority-flow-control no-drop dot1p dot1p-list undo priority-flow-control no-drop dot1p Default PFC is disabled for all 802.1p priorities. Views Ethernet interface view Predefined user roles...
flow-contro priority-flow-c priority-flow-contro Remarks ontrol enable l no-drop dot1p • On a port configured with the flow-control command, you can enable PFC, but cannot enable PFC for specific 802.1p priorities. • Enabling both generic flow control and PFC Configured Configurable Unconfigurable disables a port from sending common or PFC pause frames to inform its peer of congestion...
Usage guidelines Before collecting traffic statistics for a specific period of time on an interface, clear the old statistics first. If no interface type is specified, this command clears statistics for all interfaces. If only the interface type is specified, this command clears statistics for all interfaces of that type. If both the interface type and the interface number are specified, this command clears statistics for the specified interface.
Syntax shutdown undo shutdown Default Ethernet interfaces are in up state. Views Ethernet interface view Predefined user roles network-admin Usage guidelines You might need to shut down and then bring up an Ethernet interface to make some interface configurations take effect. Examples # Shut down and then bring up Ten-GigabitEthernet 1/0/1.
Usage guidelines 10-GE interfaces support only 1000, 10000, and auto keywords of the command. 40-GE interfaces support only the 40000 and auto keywords of the command. For a fiber port, use the speed command to set its speed to match the rate of a transceiver module. Examples # Configure Ten-GigabitEthernet 1/0/1 to autonegotiate the speed.
Either of the storm-constrain, broadcast-suppression, multicast-suppression, and unicast-suppression commands can suppress storm on a port. The storm-constrain command uses software to suppress traffic, affects device performance certain extent. broadcast-suppression, multicast-suppression, and unicast-suppression commands use the chip to physically suppress traffic, and have less influence on the device performance compared with the storm-constrain command.
Predefined user roles network-admin Parameters block: Blocks this type of traffic, while forwarding other types of traffic. Even though the interface does not forward the blocked traffic, it still counts the traffic. When the blocked traffic is detected dropping below the lower threshold, the port begins to forward the traffic. shutdown: Shuts down automatically.
storm-constrain enable trap Use storm-constrain enable trap to enable an Ethernet interface to send storm control threshold event traps. Use undo storm-constrain enable trap to disable trap sending. Syntax storm-constrain enable trap undo storm-constrain enable trap Default An interface sends out traps when monitored traffic exceeds the upper threshold or falls below the lower threshold.
Usage guidelines The interval set by the storm-constrain interval command is specific to storm control. To set the statistics polling interval of an interface, use the flow-interval command. For network stability, use the default or a higher polling interval. Examples # Set the traffic statistics polling interval of the storm control module to 60 seconds.
Both the storm-constrain and unicast-suppression can suppress unicast storm on a port. The storm-constrain command uses software to suppress unicast traffic, and it affects the device performance to a certain extent. The unicast-suppression command use the chip to physically suppress unicast traffic, and it has less influence on the device performance than the storm-constrain command.
Examples # Combine 10-GE interfaces Ten-GigabitEthernet1/0/49:1 through Ten-GigabitEthernet1/0/49:4 into a 40-GE interface. <System> system-view [System] interface ten-gigabitethernet1/0/49:1 [System-Ten-GigabitEthernet1/0/49:1] using fortygige The interfaces Ten-GigabitEthernet1/0/49:1 through Ten-GigabitEthernet1/0/49:4 will be deleted. Continue? [Y/N]:y Reboot device to make the configuration take effect. Related commands using tengige using tengige Use using tengige to split a 40-GE interface into four 10-GE interfaces.
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.
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 45
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 Internet protocol processing : disabled Physical is Loopback Last clearing of counters: Never Last 300 seconds input:...
Field Description Amount of incoming traffic in packets and in bytes, and the total 0 packets input, 0 bytes, 0 drops number of dropped incoming packets (displayed when the interface supports traffic statistics collection). Total number and size (in bytes) of output packets of the interface and 0 packets output, 0 bytes, 0 drops the number of dropped packets (displayed when the interface supports traffic statistics collection).
Field Description Protocol connection state of the interface: • • Protocol DOWN. • UP(s)—The link of the interface is an on-demand link or not present at all. Interface description configured by using the description command. If the description keyword is not specified in the display interface brief Description command, the Description field is of up to 27 characters.
NULL0 current state: UP Line protocol current state: UP (spoofing) Description: NULL0 Interface The Maximum Transmit Unit is 1500 Internet protocol processing: disabled Physical is NULL DEV Last clearing of counters: Never Last 300 seconds input: 0 bytes/sec, 0 bits/sec, 0 packets/sec Last 300 seconds output: 0 bytes/sec, 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 drops...
Predefined user roles network-admin Parameters interface-number: Specifies a loopback interface by its number. The value range for this argument varies by device model. 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.
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. If you do not specify the interface-number argument, the command clears the statistics on all loopback interfaces. Usage guidelines To determine whether a loopback interface works correctly within a period by collecting the traffic statistics within that period, first use the reset counters interface [ loopback [ interface-number ] ]...
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. Views Loopback interface view Predefined user roles network-admin Usage guidelines Use the shutdown command with caution, because the command disconnects the connection of the interface and disables the interface from communicating.
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>.
<Sysname> system-view [Sysname] interface range ten-gigabitethernet 1/0/1 to ten-gigabitethernet 1/0/24 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 54
The maximum number of interface range names is only limited by the system resources. To • guarantee bulk interface configuration performance, HP recommends configuring fewer than 1000 interface range names. Examples # Add Ten-GigabitEthernet 1/0/1 through Ten-GigabitEthernet 1/0/12 to interface range named myEthPort, and enter the interface range view.
MAC address table commands The MAC address table contains only Ethernet interfaces and aggregate interfaces. 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.
MAC Address VLAN ID State Port/NickName Aging 0001-0101-0101 Multiport XGE1/0/1 XGE1/0/2 0033-0033-0033 Blackhole 0000-0000-0002 Static XGE1/0/3 00e0-fc00-5829 Learned XGE1/0/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 ID of the VLAN to which the outgoing interface of the MAC address entry...
Predefined user roles network-admin network-operator Examples # Display the aging timer for dynamic MAC address entries. <Sysname> display mac-address aging-time MAC address aging time: 300s. Related commands mac-address timer display mac-address mac-learning Use display mac-address mac-learning to verify whether MAC address learning has been enabled globally or on an interface.
Field Description MAC address learning status of an interface: • Learning Status Enabled. • Disabled. Related commands mac-address mac-learning enable display mac-address statistics Use display mac-address statistics to display MAC address table statistics. Syntax display mac-address statistics Views Any view Predefined user roles network-admin network-operator...
Field Description Number of static unicast MAC address entries added Static Unicast Address (System-defined) Count by the system. Total Unicast MAC Addresses In Use Total number of unicast MAC address entries. Maximum number of unicast MAC address entries Total Unicast MAC Addresses Available allowed.
The MAC address entries configuration cannot survive a reboot unless you save it. The dynamic MAC address entries, however, are lost upon reboot regardless of whether you save the configuration. Examples # Add a static entry for MAC address 000f-e201-0101 on interface Ten-GigabitEthernet 1/0/1 that belongs to VLAN 2.
Parameters blackhole: Specifies blackhole MAC address entries. The packets whose source or destination MAC addresses match blackhole MAC address entries are dropped. mac-address: Specifies a MAC address in the format of H-H-H. When entering a MAC address, you can omit the leading zeros in each H section. For example, enter f-e2- 1 for 000f-00e2-0001. vlan vlan-id: Specifies an existing VLAN to which the interface belongs.
Page 62
Syntax mac-address mac-learning enable undo mac-address mac-learning enable Default MAC address learning is enabled. Views System view, VLAN view, Ethernet interface view, aggregate interface view, S-channel interface view Predefined user roles network-admin Usage guidelines To prevent the MAC address table from becoming saturated, you can disable MAC address learning. For example, a number of packets with different source MAC addresses reaching a device can affect the MAC address table update.
Syntax mac-address max-mac-count { count | enable-forwarding } undo mac-address max-mac-count [ enable-forwarding ] Default No maximum number of MAC addresses that can be learned on an interface is configured. When the upper limit is reached, the received frames are forwarded. Views Ethernet interface view Predefined user roles...
Views Ethernet interface view, aggregate interface view Predefined user roles network-admin Parameters mac-address: Specifies a unicast MAC address in H-H-H format, excluding multicast and all-zero MAC addresses. When entering a MAC address, you can omit the leading zeros in each H section. For example, enter f-e2- 1 for 000f-00e2-0001.
Predefined user roles network-admin Parameters multiport: Specifies a multiport unicast MAC address entry. mac-address: Specifies a unicast MAC address in H-H-H format, excluding multicast and all-zero MAC addresses. When entering a MAC address, you can omit the leading zeros in each H section. For example, enter f-e2- 1 for 000f-00e2-0001.
Page 68
Predefined user roles network-admin Parameters aging seconds: Sets an aging timer for dynamic MAC address entries, in the range of 10 to 1000000 seconds. no-aging: Sets dynamic MAC address entries not to age. Usage guidelines After the network topology changes, the dynamic MAC address entries are not updated in a timely manner.
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.
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...
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.
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.
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
30Gbps-speed mode, full-duplex mode Link speed type is autonegotiation, link duplex type is autonegotiation PVID: 1 Port link-type: trunk VLAN Passing: 1(default vlan), 10,20 VLAN permitted: 1(default vlan), 10,20 Trunk port encapsulation: IEEE 802.1q Last clearing of counters: Never Last 300 seconds input: 2 packets/sec 868 bytes/sec Last 300 seconds output: 1 packets/sec 752 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.
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 auto negotiation flag, indicated by the letter a in...
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.
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
Examples # Display detailed link aggregation information for Ten-GigabitEthernet 1/0/1, which is a member port of a static aggregation group. <Sysname> display link-aggregation member-port ten-gigabitethernet 1/0/1 Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation, D -- Synchronization, E -- Collecting, F -- Distributing, G -- Defaulted, H -- Expired Ten-GigabitEthernet1/0/1: Aggregate Interface: Bridge-Aggregation1...
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. •...
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,...
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.
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.
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...
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 •...
Link-aggregation traffic redirection applies only to dynamic link aggregation groups and known unicast packets. To prevent traffic interruption, enable link-aggregation traffic redirection on devices at both ends of the aggregate link and make sure that there are no new Selected ports. Do not enable both spanning tree and link-aggregation traffic redirection at the same time, because light packet loss might occur when the device reboots.
In aggregate interface view, the switch supports the following load-sharing criteria and combinations: • Load-sharing criteria automatically determined based on the packet type Source IP address • Destination IP address • • Source MAC address Destination MAC address • Destination IP address and source IP address •...
Use undo link-aggregation mode to restore the default setting. Syntax link-aggregation mode dynamic undo link-aggregation mode 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.
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 limited only by the hardware capabilities of the ports.
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...
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. Examples # Assign Ethernet interface Ten-GigabitEthernet 1/0/1 to aggregation group 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 network-admin Parameters interface interface-list: Specifies a list of link aggregation member ports, in the format interface-type interface-number [ to interface-type interface-number ], where interface-type interface-number indicates the port type and port number.
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 number in the range of 1 to 8. Examples # Display all isolation groups.
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 number in the range of 1 to 8. Usage guidelines The configuration in Ethernet interface view applies only to the interface.
Page 98
Views System view Predefined user roles network-admin Parameters group-number: Specifies an isolation group 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...
HP recommends that you use the check region-configuration command to determine whether the MST region configurations to be activated are correct. Run this command only when they are correct.
VLAN-to-instance mapping entries in the MST region; and are connected through a physical link. HP recommends that you use this command to determine whether the MST region configurations to be activated are correct. Activate them only when they are correct.
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. Related commands active region-configuration •...
Page 102
Usage guidelines In STP or RSTP mode: If you do not specify any port, this command displays the spanning tree information for all ports. • The displayed information is sorted by port name. • If you specify a port list, this command displays the spanning tree information for the specified ports. The displayed information is sorted by port name.
Page 103
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 104
TCN: 0, Config: 0, RST: 0, MST: 186 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...
Page 105
Field Description [FORWARDING] The port is in forwarding state. [DISCARDING] The port is in discarding state. [LEARNING] The port is in learning state. Port protocol Status of the spanning tree feature on the port. Port role: • Alternate. • Backup. •...
Field Description Num of VLANs Number of VLANs that are mapped to the MSTI. mapped Major parameters for the port: • Hello—Hello timer. • MaxAge—Maximum age timer. Port times • FWDly—Forward delay timer. • MsgAge—Message age timer. • RemHop—Remaining hops. BPDU sent Statistics on sent BPDUs.
network-operator 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 Ten-GigabitEthernet1/0/1 Root-Protected Ten-GigabitEthernet1/0/2 Loop-Protected Ten-GigabitEthernet1/0/3 Loopback-Protected Table 23 Command output Field Description MSTID MSTI of the blocked port. Blocked Port Name of a blocked port.
Page 108
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 •...
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.
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.
Time : 2009/02/08 00:22:56 Port priority : 0.00e0-fc01-6510 0 0.00e0-fc01-6510 128.1 Port Ten-GigabitEthernet1/0/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. Role change of the port ("Age" means that the change was caused by expiration of Role change the received configuration BPDU).
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.
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...
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.
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 network-admin Parameters...
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> indicates that you can specify up to 10 ports or port ranges. If you don't specify this option, this command clears the spanning tree-related statistics information on all ports.
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.
Usage guidelines 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, it takes effect only after the port leaves the aggregation group.
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 Default The device automatically calculates the path costs of ports in each spanning tree based on the...
When the network topology changes, an edge port does not cause a temporary loop. You can enable the port to transition to the forwarding state rapidly by configuring it as an edge port. HP recommends that you configure ports that directly connect to user terminals as edge ports.
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. Views System view Predefined user roles network-admin Usage guidelines Enable this feature both globally and on ports connected to other vendors' devices.
Usage guidelines When you enable the spanning tree feature, the device operates in STP, RSTP, or MSTP mode, depending on the spanning tree mode setting. When the spanning tree feature is enabled, the device dynamically maintains the spanning tree status of VLANs based on received configuration BPDUs.
Use undo stp loop-protection to disable the loop guard function on the ports. Syntax stp loop-protection undo stp loop-protection Default The loop 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.
Predefined user roles network-admin Parameters hops: Sets the maximum hops in the range of 1 to 40. Examples # Set the maximum hops of the MST region to 35. <Sysname> system-view [Sysname] stp max-hops 35 Related commands display stp stp mcheck Use stp mcheck to perform the mCheck operation on a port.
[Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] stp mcheck Related commands stp global mcheck • stp mode • stp mode Use stp mode to configure the spanning tree operating mode. Use undo stp mode to restore the default. Syntax stp mode { mstp | rstp | stp } undo stp mode Default A spanning tree device operates in MSTP mode.
Syntax stp no-agreement-check undo stp no-agreement-check Default No Agreement Check is disabled. Views Ethernet interface view, aggregate interface view Predefined user roles network-admin Usage guidelines This command takes effect only after you enable it on the 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.
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. HP recommends that you use the default setting, which lets the device automatically detect the port link type.
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, it takes effect only after the port leaves the aggregation group.
Examples # In MSTP mode, set the priority of port Ten-GigabitEthernet 1/0/3 to 16 in MSTI 2. <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/0/3 [Sysname-Ten-GigabitEthernet1/0/3] stp instance 2 port priority 16 Related commands display stp stp port-log Use stp port-log to enable outputting port state transition information for the specified MSTI or for all MSTIs.
Use undo stp priority to restore the default priority. Syntax stp [ instance instance-list ] priority priority undo stp [ instance instance-list ] priority Default The device priority is 32768. Views System view Predefined user roles network-admin Parameters instance instance-list: Sets the priority of the device 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>...
Usage guidelines After you enter MST region view, you can configure the MST region parameters, including the region name, VLAN-to-instance mappings, and revision level. Examples # Enter MST region view. <Sysname> system-view [Sysname] stp region-configuration [Sysname-mst-region] stp role-restriction Use stp role-restriction to enable port role restriction. Use undo stp role-restriction to disable port role restriction.
undo stp [ instance instance-list ] root Default A device is not a root bridge. Views System view Predefined user roles network-admin Parameters instance instance-list: Configures the device as the root bridge 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. The instance-id argument ranges from 0 to 4094, and the value 0 represents the CIST. If you do not specify this option, the command configures the device as the secondary root bridge in the MSTP CIST or as the primary root bridge of STP or RSTP.
Related commands stp edged-port • stp loop-protection • stp tc-protection Use stp tc-protection to enable the TC-BPDU attack guard function for the device. Use undo stp tc-protection to disable the TC-BPDU attack guard function for the device. Syntax stp tc-protection undo stp tc-protection Default The TC-BPDU attack guard function is enabled.
Views System view Predefined user roles network-admin Parameters number: Sets the maximum number of immediate forwarding address entry flushes that the device can perform within a certain interval (10 seconds). The value ranges from 1 to 255. Examples # Configure the device to perform up to 10 forwarding address entry flushes every 10 seconds. <Sysname>...
HP recommends not setting the forward delay with this command. Instead, you can specify the network diameter of the switched network by using the stp bridge-diameter command and let the spanning tree protocols automatically calculate the optimal settings for the forward delay timer.
HP recommends not setting the hello time with this command. Instead, you can specify the network diameter of the switched network by using the stp bridge-diameter command and let the spanning tree protocols automatically calculate the optimal settings for the hello timer.
If yes, a new spanning tree calculation process starts. The max age timer is ineffective for MSTIs. HP recommends not setting the max age timer with this command. Instead, you can specify the network diameter of the switched network by using the stp bridge-diameter command and let the spanning tree protocols automatically calculate the optimal settings for the max age timer.
You can avoid such unwanted spanning tree calculations by lengthening the timeout interval (by setting the timeout factor to 4 or more), thus saving network resources. HP recommends that you set the timeout factor to 5, 6, or 7 for a stable network.
[Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] stp transmit-limit 5 vlan-mapping modulo Use vlan-mapping modulo to map VLANs in the MST region to MSTIs according to the specified modulo value and quickly create a VLAN-to-instance mapping table. Syntax vlan-mapping modulo modulo Default All VLANs are mapped to the CIST (MSTI 0).
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).
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...
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 vlan-list: Specifies a VLAN list, in the format of { vlan-id [ to vlan-id ] }&<1- 1 0>, where vlan-id represents the VLAN ID in the range of 1 to 4094, and &<1- 1 0>...
Parameters shutdown: Enables the shutdown mode. If a loop is detected, the device generates a log and shuts down the port. Usage guidelines You can configure the loop protection action globally or on specific ports. The global configuration applies to all ports. The per-port configuration applies to the individual ports. The per-port configuration takes precedence over the global configuration.
Related commands display loopback-detection • loopback-detection enable • loopback-detection interval-time Use loopback-detection interval-time to set the loop detection interval. Use undo loopback-detection interval-time to restore the default. Syntax loopback-detection interval-time interval undo loopback-detection interval-time Default The loop detection interval is 30 seconds. Views System view Predefined user roles...
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.
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 150
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. If you do not specify this keyword, the command displays detailed interface information.
Field Description Link layer protocol state of a VLAN interface: • Line protocol current state DOWN—The protocol state of the VLAN interface is down. • UP—The protocol state of the VLAN interface is up. Description Description string of a VLAN interface. The Maximum Transmit Unit MTU of a VLAN interface.
Page 152
Views Any view Predefined user roles network-admin network-operator Parameters vlan-id1: Displays information about a VLAN specified by its VLAN ID in the range of 1 to 4094. vlan-id1 to vlan-id2: Displays information about VLANs that are specified by a VLAN ID range. The vlan-id1 and vlan-id2 arguments specify VLAN IDs in the range of 1 to 4094.
Table 32 Command output Field Description VLAN type VLAN type, static or dynamic. Indicates whether the VLAN interface is configured. • Route interface Not configured. • Configured. Description Description of the VLAN. Name Name configured for the VLAN. Primary IP address of the VLAN interface (available only when an IP address is configured for the VLAN interface).
[Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2] Related commands display interface vlan-interface Use mtu to set the MTU for a VLAN interface. Use undo mtu to restore the default. Syntax mtu size undo mtu Default The MTU of a VLAN interface is 1500 bytes. Views VLAN interface view Predefined user roles...
Default The name of a VLAN is VLAN vlan-id, which specifies the ID of the VLAN. For example, the name of VLAN 100 is VLAN 0100. Views VLAN view Predefined user roles network-admin Parameters text: Specifies a VLAN name, a string of 1 to 32 characters. The string can include case-sensitive letters, digits, special characters such as tilde (~), exclamation point (!), at sign (@), pound sign (#), dollar sign ($), percent sign (%), caret (^), ampersand sign (&), asterisk (*), left brace ({), right brace (}), left parenthesis ((), right parenthesis ()), left bracket ([), right bracket (]), left angle bracket (<), right angle...
Usage guidelines A VLAN interface that was shut down with the shutdown command remains in DOWN (Administratively) state until you bring it up, regardless of how the state of the ports in the VLAN changes. Before you configure parameters for a VLAN interface, shut down the VLAN interface with the shutdown command to prevent the configurations from affecting the network.
You cannot create or remove VLANs that are reserved for specific functions. You cannot use the undo vlan command to delete a dynamic VLAN, a VLAN with a QoS policy applied, or a VLAN locked by an application. To delete such a VLAN, first remove the configuration from the VLAN.
Interface PVID VLAN Passing XGE1/0/8 1-4, 6-100, 145, 177, 189-200, 244, 289, 400, 555, 600-611, 1000, 2006-2008 Table 33 Command output Field Description Interface Interface name. PVID Port VLAN ID. VLAN Passing VLANs for which the port allows packets to pass through. Tagged VLANs for which the port sends packets without removing VLAN tags.
Related commands display vlan port access vlan Use port access vlan to assign the access ports to the specified VLAN. Use undo port access vlan to restore the default. Syntax port access vlan vlan-id undo port access vlan Default All access ports belong to VLAN 1. Views Ethernet interface view, aggregate interface view, S-channel interface view Predefined user roles...
Page 160
PVID on the port is not affected. HP recommends that you set the same PVID for the local and remote hybrid ports. You must configure the hybrid port to allow and forward packets from the PVID by using the port hybrid vlan command.
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. Syntax port hybrid vlan vlan-list { tagged | untagged } undo port hybrid vlan vlan-list Default A hybrid port allows only packets from VLAN 1 to pass through untagged.
port link-type Use port link-type to configure the link type of a port. Use undo port link-type to restore the default link type of a port. Syntax port link-type { access | hybrid | trunk } undo port link-type Default Any port is an access port.
Default A trunk port allows only packets from VLAN 1 to pass through. Views Ethernet interface view, aggregate interface view, S-channel interface view Predefined user roles network-admin Parameters vlan-list: Specifies a list of VLANs in the format of vlan-list = { vlan-id1 [ to vlan-id2 ] }&<1- 1 0>, where vlan-id1 and vlan-id2 each are in the range of 1 to 4094, vlan-id2 cannot be smaller than vlan-id1, and &<1- 1 0>...
Page 164
Default The PVID of a trunk port is VLAN 1. Views Ethernet interface view, aggregate interface view, S-channel interface view Predefined user roles network-admin Parameters vlan-id: Specifies a VLAN ID in the range of 1 to 4094. Usage guidelines You can use a nonexistent VLAN as the PVID for a trunk port. If you remove the PVID of a trunk port with the undo vlan command, the setting of the PVID on the port is not affected.
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 •...
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...
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 169
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.
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.
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 172
The MTU of an interface is 1500 bytes by default. After a VLAN tag is added to a packet, the packet • length is added by four bytes. When you configure one-to-two VLAN mapping, HP recommends increasing the MTU (to at least 1504 bytes) on interfaces in the service provider network.
Page 173
<Sysname> system-view [Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] vlan mapping 1 translated-vlan 101 # Configure many-to-one VLAN mapping on customer-side port Ten-GigabitEthernet 1/0/2 to map VLANs 1 through 50 and VLAN 80 to VLAN 101. Configure Ten-GigabitEthernet 1/0/3 as the network-side interface of many-to-one VLAN mapping. <Sysname>...
Global LLDP local-information: Chassis ID : 00a0-fc00-5800 System name : HP System description : HP Comware Platform Software, Software Version 7.1.034, Alpha 2203 HP 5900AF-48XG-4QSFP+ Switch 2010-2012 Hewlett-Packard Development Company, L.P. All rights reserved. System capabilities supported : Bridge, Router...
Page 175
Manufacturer name : HP Model name : HP 5900AF-48XG-4QSFP+ Switch Asset tracking identifier : Unknown LLDP local-information of port 1[Ten-GigabitEthernet1/0/]: Port ID type : Interface name Port ID : Ten-GigabitEthernet1/0/] Port description : Ten-GigabitEthernet1/0/] Interface Management address type : All802...
Page 176
Global LLDP local-information: Chassis ID : 00a0-fc00-5800 System name : HP System description : HP Comware Platform Software, Software Version 7.1.034, Alpha 2203 HP 5900AF-48XG-4QSFP+ Switch 2010-2012 Hewlett-Packard Development Company, L.P. All rights reserved. System capabilities supported : Bridge, Router...
Page 177
DCBX PFC subTLV info: P0-0 P1-0 P2-1 P3-1 P4-0 P5-0 P6-0 P7-0 Number of traffic classes supported: 8 DCBX APP subTLV info: ID type Protocol ID CoS map APP protocol 0x8906 0x10 APP protocol 0x8914 0x20 TCP or UDP port 0xEA Auto-negotiation supported : No Auto-negotiation enabled...
Page 178
Field Description MED inventory information of MED inventory information of the master device in an IRF fabric. master board FirmwareRev Firmware version. SoftwareRev Software version. SerialNum Serial number. Manufacturer name Device manufacturer. Model name Device model. LLDP local-information of port 1 LLDP information to be sent out of port 1.
Field Description Application protocol number type: • ID type APP protocol. • TCP or UDP port. Protocol ID Application protocol number. CoS map Application protocol-to-CoS mapping. Auto-negotiation supported Indicates whether auto-negotiation is supported on the port. Auto-negotiation enabled Indicates whether auto-negotiation is enabled on the port. OperMau Speed and duplex state of the port.
Page 180
Time to live : 120 Port description : Ten-GigabitEthernet1/0/1 Interface System name : sysname System description : HP Comware Platform Software, Software Version 7.1.035, Alpha 0035P05 HP 10504 2010-2012 Hewlett-Packard Development Company, L.P. All rights reserved. System capabilities supported : Bridge, Router...
Page 181
Time to live : 120 Port description : Ten-GigabitEthernet1/0/1 Interface System name : sysname System description : HP Comware Platform Software, Software Version 7.1.035, Alpha 0035P05 HP 10504 2010-2012 Hewlett-Packard Development Company, L.P. All rights reserved. System capabilities supported : Bridge, Router...
Page 182
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 183
LLDP mac type : Nearest Bridge ChassisID/subtype : 0011-2233-4400/MAC address PortID/subtype : 000c-29f5-c71f/MAC address Capabilities : Bridge, Router LLDP neighbor index : 6 LLDP mac type : Nearest Bridge ChassisID/subtype : 0011-2233-4400/MAC address PortID/subtype : 000c-29f5-c715/MAC address Capabilities : None # Display the summary LLDP information sent from all neighboring devices in a list.
Page 184
Field Description Port ID representation: • Interface alias. • Port component. • MAC address. Port ID type • Network address (ipv4). • Interface name. • Agent circuit ID. • Locally assigned—Locally-defined port ID type other than those listed above. Port ID Value of the type of the port ID.
Page 185
Field Description DCBX ETS subTLV info CoS-to-local priority mapping and bandwidth allocation. Percentage Percentage of bandwidth allocated. DCBX PFC subTLV info Indicates whether PFC is enabled. Indicates whether PFC is enabled for each 802.1p priority on the local end: P0-0 P1-0 P2-1 P3-1 P4-0 P5-0 •...
Field Description Unknown basic TLV type. TLV type This field appears only when the device receives unknown basic TLVs. Information contained in the unknown basic TLV type. TLV information This field appears only when the device receives unknown basic TLVs. Unknown organizationally specific TLV.
LLDP neighbor information last change time:0 days, 0 hours, 4 minutes, 40 seconds The number of LLDP neighbor information inserted : 1 The number of LLDP neighbor information deleted The number of LLDP neighbor information dropped The number of LLDP neighbor information aged out : 1 LLDP statistics information of port 1 [Ten-GigabitEthernet1/0/1]: The number of LLDP frames transmitted The number of LLDP frames received...
Page 188
Usage guidelines If no port is specified, this command displays the global LLDP status and the LLDP status information of all ports. Examples # Display the global LLDP status and the LLDP status information of all ports. <Sysname> display lldp status Global status of LLDP: Enable The current number of LLDP neighbors: 0 The current number of CDP neighbors: 0...
Field Description LLDP mode of the port: • TxRx—The port can send and receive LLDPDUs. • Admin status Rx_Only—The port can only receive LLDPDUs. • Tx_Only—The port can only send LLDPDUs. • Disable—The port cannot send or receive LLDPDUs. Trap Flag Indicates whether trapping is enabled.
Page 190
Port And Protocol VLAN ID TLV VLAN Name TLV DCBX TLV IEEE 802.3 extend TLV: MAC-Physic TLV Power via MDI TLV Link Aggregation TLV Maximum Frame Size TLV LLDP-MED extend TLV: Capabilities TLV Network Policy TLV Location Identification TLV Extended Power via MDI TLV Inventory TLV Table 41 Command output Field...
Parameters txrx: Specifies the TxRx mode. A port in this mode can send and receive LLDPDUs. Examples # Configure the operating mode for the LLDP nearest non-TPMR bridge as TxRx on Ten-GigabitEthernet 1/0/1. <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] lldp agent nearest-nontpmr admin-status txrx lldp check-change-interval Use lldp check-change-interval to enable LLDP polling and set the polling interval.
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 Ten-GigabitEthernet 1/0/1. <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] undo lldp enable Related commands lldp global enable...
Syntax lldp fast-count count undo lldp fast-count Default The number is 3. Views System view Predefined user roles network-admin Parameters count: Sets the number of LLDPDUs sent each time fast LLDPDU transmission is triggered. The value range is 1 to 10. Usage guidelines When fast LLDPDU transmission is enabled, the device shortens the LLDPDU transmit interval to 1 second and restores it to the normal value after sending a certain number of LLDPDUs in succession.
[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. Syntax lldp hold-multiplier value undo lldp hold-multiplier Default The TTL multiplier is 4. Views System view Predefined user roles...
Syntax lldp management-address-format string undo lldp management-address-format Default The value in the management address TLV is numeric type. Views Ethernet interface view Predefined user roles network-admin Usage guidelines LLDP neighbors must use the same data type for the value field in the management address TLV. Examples # Change the data type of the value in the management address TLV to string type on Ten-GigabitEthernet 1/0/1.
lldp timer reinit-delay Use lldp timer reinit-delay to set the LLDP re-initialization delay. Use undo lldp timer reinit-delay to restore the default. Syntax lldp timer reinit-delay delay undo lldp timer reinit-delay Default The LLDP re-initialization delay is 2 seconds. Views System view Predefined user roles network-admin...
If the LLDPDU transmit delay is greater than the LLDPDU transmit interval, the device uses the LLDPDU transmit delay as the transmit interval. Examples # Set the LLDPDU transmit delay to 4 seconds. <Sysname> system-view [Sysname] lldp timer tx-delay 4 Related commands lldp timer tx-interval lldp timer tx-interval...
Page 201
vlan-name [ vlan-id ]: Advertises VLAN name TLVs. The vlan-id argument specifies a VLAN ID in the TLVs to be advertised. The VLAN ID is in the range of 1 to 4094, and the default is the lowest VLAN ID on the port.
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.
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 204
Only one service loopback group is allowed for a service type. You cannot change the service type of a referenced service loopback group. HP recommends that you not delete a referenced service loopback group. Examples # Create service loopback group 5 and specify its service type as Tunnel.
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.
Related information Documents To find related documents, browse to the Manuals page of the HP Business Support Center website: http://www.hp.com/support/manuals For related documentation, navigate to the Networking section, and select a networking category. •...
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 208
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.
Index A B C D F I J L M N P Q R S U V W display mac-address,48 display mac-address aging-time,49 active region-configuration,92 display mac-address mac-learning,50 display mac-address statistics,51 display packet-drop,14 bpdu-drop any,92 display port,150 broadcast-suppression,1 display port-isolate group,89 qinq,158 display...