HP FlexFabric 7900 Switch Series Layer 2—LAN Switching Command Reference Part number: 5998-4291 Software version: Release 2109 Document version: 6W100-20140122
Legal and notice information © Copyright 2014 Hewlett-Packard Development Company, L.P. No part of this documentation may be reproduced or transmitted in any form or by any means without prior written consent of Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Contents Ethernet interface commands ······································································································································ 1 Common Ethernet interface commands ·························································································································· 1 bandwidth ································································································································································· 1 defa
Bulk interface configuration commands ··················································································································· 56 display interface range ········································································································································· 56 interface range ······················································································································································ 56 interface range name
check region-configuration ································································································································· 102 display stp ···························································································································································· 104 display stp abnormal-port ··································································································································· 109 display stp bpdu
VLAN commands ···················································································································································· 152 Basic VLAN commands ··············································································································································· 152 bandwidth ···························································································································································· 152 defaul
Index ········································································································································································ 206 v
Ethernet interface commands The switch has one built-in MPU. The slot number of this MPU is fixed at 0. Unless otherwise stated, the term "card" in this document refers to both the MPU and LPUs. Common Ethernet interface commands bandwidth Use bandwidth to configure the expected bandwidth of an interface. Use undo bandwidth to restore the default. Syntax bandwidth bandwidth-value undo bandwidth Default The expected bandwidth (in kbps) is the interface baud rate divided by 1000.
default Use default to restore the default settings for an Ethernet interface. Syntax default Views Ethernet 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. This command might fail to restore the default settings for some commands for reasons such as command dependencies or system restrictions.
Parameters text: Specifies the interface description, a case-sensitive string of 1 to 255 characters. Examples # Change the description of interface FortyGigE 1/0/1 to lanswitch-interface. system-view [Sysname] interface fortygige 1/0/1 [Sysname-FortyGigE1/0/1] description lanswitch-interface display counters Use display counters to display interface traffic statistics.
FGE1/0/4 0 0 0 0 Overflow: More than 14 digits (7 digits for column "Err"). --: Not supported. Table 1 Command output Field Description Interface Abbreviated interface name. Total (pkts) Total number of packets received or sent through the interface. Broadcast (pkts) Total number of broadcast packets received or sent through the interface. Multicast (pkts) Total number of multicast packets received or sent through the interface.
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. If no interface type is specified, the command displays traffic rate statistics for all up interfaces that have traffic counters over the last statistics polling interval. If an interface which is always down over the last statistics polling interval is specified, the system prompts that the interface does not support the command.
Views Any view Predefined user roles network-admin network-operator Parameters slot slot-number: Displays the Ethernet module statistics on the specified card. The slot-number argument represents the number of the slot that houses the card. (In standalone mode.) chassis chassis-number slot slot-number: Displays the Ethernet module statistics on the specified card of the specified IRF member device. The chassis-number argument represents the ID of the IRF member device.
MPLS : 0 ISIS : 0 ISIS2 : 0 IP : 0 IPV6 : 0 ETH receive error statistics: NullPoint : 0 ErrIfindex : 0 ErrIfcb : 0 IfShut : 0 ErrAnalyse : 5988 ErrSrcMAC : 5988 ErrHdrLen : 0 ETH send packet statistics: L3OutNum : 211 VLANOutNum : 0 FastOutNum : 155 L2OutNum : 0 ETH send error statistics: MbufRelayNum : 0 NullMbuf : 0 ErrAdjFwd : 0 ErrPrepend : 0 ErrHdrLen : 0 ErrPad : 0 ErrQoSTrs : 0 ErrVLANTrs : 0 ErrEncap : 0 ErrTagVLAN : 0 IfShut : 0 IfErr : 0 Tabl
Field Description Statistics about the error Ethernet packets in the outbound direction on the Ethernet module. Errors might be included in packets or occur during the receiving process. The items include: ETH receive error statistics • • • • NullPoint—Number of packets that include null pointers. ErrIfindex—Number of packets that include incorrect interface indexes. ErrIfcb—Number of packets that include incorrect interface control blocks.
Predefined user roles network-admin network-operator Parameters interface-type: Specifies an interface type. interface-number: Specifies an interface number. brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information. down: Displays information about interfaces in the down state and the causes. If you do not specify this keyword, this command displays information about interfaces in all states.
Input (normal): 0 packets, - bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Input: 0 input errors, 0 runts, 0 giants, 0 throttles 0 CRC, 0 frame, - overruns, 0 aborts - ignored, - parity errors Output (total): 0 packets, 0 bytes 0 unicasts, 0 broadcasts, Output (normal): 0 multicasts, 0 pauses 0 packets, - bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Output: 0 output errors, 0 aborts, - underruns, - buffer failures 0 deferred, 0 collisions, 0 late collisions 0 lost carrier, -
Field Description Internet protocol processing: disabled Indicates that the interface cannot process IP packets. Last clearing of counters Time when the reset counters interface command was last used to clear the interface statistics. Never indicates the reset counters interface command has never been used on the interface since the device's startup. Last 300 seconds input Average input rate over the last 300 seconds in Bps, bps, and pps.
Output: 0 output errors, - underruns, - buffer failures 0 aborts, 0 deferred, 0 collisions, 0 late collisions 0 lost carrier, - no carrier Table 5 Command output Field Description State of the Ethernet interface: • Administratively DOWN—The Ethernet interface was shut down with the shutdown command. The interface is administratively down. Current state • DOWN—The Ethernet interface is administratively up but physically down (possibly because no physical link is present or the link has failed).
Field Description 10Gbps-speed mode The interface is operating at 10 Gbps. 40Gbps-speed mode The interface is operating at 40 Gbps. Unknown-speed mode The speed of the interface is unknown because the speed negotiation fails or the interface is physically disconnected. full-duplex mode The interface is operating in full duplex mode. unknown-duplex mode The duplex mode of the interface is unknown because the duplex mode negotiation fails or the interface is physically disconnected.
Field Description Peak value of output Peak rate of outbound traffic in Bps, and the time when the peak outbound traffic rate occurred. Last 300 seconds input: 0 packets/sec 0 bytes/sec 0% Last 300 seconds output: 0 packets/sec 0 bytes/sec 0% Input(total): 0 packets, 0 bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Average rate of inbound and outbound traffic in the last 300 seconds, in pps and Bps, and the ratio of the actual rate to the maximum interface rate.
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 aborts frame length supported on the Ethernet interface (with an integral or non-integral length). For an Ethernet interface that does not permit jumbo frames, jabber frames refer to CRC error frames greater than 1518 bytes (without VLAN tags) or 1522 bytes (with VLAN tags).
Field Description late collisions Number of frames that the interface deferred to transmit after transmitting their first 512 bits because of detected collisions. lost carrier Number of carrier losses during transmission. This counter increases by one when a carrier is lost, and applies to serial WAN interfaces. no carrier Number of times that the port failed to detect the carrier when attempting to send frames.
# Display information about interfaces in DOWN state and the causes.
Field Description If the speed of an interface is automatically negotiated, its speed attribute includes the autonegotiation flag, indicated by the letter a in parentheses. Speed or Duplex: (a)/A - auto; H half; F – full If the duplex mode of an interface is automatically negotiated, its duplex mode attribute includes the following options: • (a)/A—Autonegotiation. • H—Half negotiation. • F—Full negotiation. Type: A - access; T - trunk; H – hybrid Link type options for Ethernet interfaces.
Field Description Cause for the physical link state of an interface to be DOWN: • Administratively—The port is manually shut down with the shutdown command. To restore the physical state of the interface, use the undo shutdown command. • DOWN ( Link-Aggregation interface down )—When an aggregate interface is shut down, the physical state of all member ports of the aggregate interface becomes DOWN, and the Cause field displays DOWN ( Link-Aggregation interface down ).
interface-number: Specifies an interface number. If you specify an interface type only, this command displays information about dropped packets on the specified type of interfaces. summary: Displays the summary of dropped packets on all interfaces. Examples # Display information about dropped packets on FortyGigE 1/0/1.
Examples # Configure interface FortyGigE 1/0/1 to operate in full duplex mode. system-view [Sysname] interface fortygige 1/0/1 [Sysname-FortyGigE1/0/1] 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 Default Generic flow control is disabled on an Ethernet interface.
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. When traffic congestion occurs on the interface, it cannot send flow control frames to the peer.
jumboframe enable Use jumboframe enable to allow jumbo frames within the specified length to pass through. Use undo jumboframe enable to prevent jumbo frames from passing through. Syntax jumboframe enable [ value ] undo jumboframe enable Default The device allows jumbo frames within 12288 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.
Parameters msec: Enables the physical state change suppression interval to be accurate to milliseconds. If you do not specify this keyword, the suppression interval is accurate to seconds. delay-time: Sets the physical state change suppression interval on the Ethernet interface. A value of 0 indicates that physical state changes are immediately reported to the CPU and are not suppressed. • If you do not specify the msec keyword, the value range for this argument is 0 to 30 seconds.
undo port link-mode Default Ethernet interfaces operate in bridge mode. Views Ethernet interface view Predefined user roles network-admin Parameters bridge: Specifies the Layer 2 mode. route: Specifies the Layer 3 mode. Usage guidelines On the switch, Ethernet interfaces can operate either as Layer 2 or Layer 3 Ethernet interfaces (you can use commands to set the link mode to bridge or route).
Usage guidelines The state of the PFC function is co-determined by the PFC configurations on the local port and on the peer. In Table 8, the first line lists the PFC configuration on the local port, the first column lists the PFC configuration on the peer, and enabled and disabled are the two possible negotiation results. Table 8 PFC configurations and negotiation results Local (right) enable auto Default enable Enabled Enabled. Disabled auto Enabled • Enabled if negotiation succeeds.
Usage guidelines You can enable PFC for certain 802.1p priorities at the two ends of a link. When network congestion occurs, the local device checks the PFC status for the 802.1p priority carried in each arriving packet. The device processes the packet depending on the PFC status as follows: • If PFC is enabled for the 802.1p priority, the local device accepts the packet and sends a PFC pause frame to the peer. The peer stops sending packets carrying this 802.
reset counters interface Use reset counters interface to clear the Ethernet interface statistics. Syntax reset counters interface [ interface-type [ interface-number ] ] Views User view Predefined user roles network-admin Parameters interface-type: Specifies an interface type. interface-number: Specifies an interface number. Usage guidelines Before collecting traffic statistics for a specific period of time on an interface, clear the old statistics first.
network-operator Parameters slot slot-number: Clears the Ethernet module statistics on the specified card. The slot-number argument represents the number of the slot that houses the card. (In standalone mode.) chassis chassis-number slot slot-number: Clears the Ethernet module statistics on the specified card of the specified IRF member device. The chassis-number argument represents the ID of the IRF member device. The slot-number argument represents the number of the slot that houses the card.
Use undo shutdown to bring up an Ethernet 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 FortyGigE 1/0/1.
Examples # Configure FortyGigE 1/0/1 to autonegotiate the speed. system-view [Sysname] interface fortygige 1/0/1 [Sysname-FortyGigE1/0/1] speed auto Related commands speed auto using fortygige Use using fortygige to combine four 10-GE breakout interfaces that are split from a 40-GE QSFP+ interface into a 40-GE interface. Use undo using fortygige to cancel the configuration. Syntax using fortygige undo using fortygige Default A 40-GE interface is not split and operates as a single interface.
using tengige Use using tengige to split a 40-GE interface into four 10-GE breakout interfaces. Use undo using tengige to cancel the configuration. Syntax using tengige undo using tengige Default A 40-GE interface is not split and operates as a single interface. Views 40-GE interface view Predefined user roles network-admin Usage guidelines To improve port density, reduce costs, and improve network flexibility, you can split a 40-GE interface into four 10-GE breakout interfaces.
Syntax broadcast-suppression { ratio | pps max-pps | kbps max-kbps } undo broadcast-suppression Default Ethernet interfaces do not suppress broadcast traffic. Views Layer 2 Ethernet interface view Predefined user roles network-admin Parameters ratio: Sets the broadcast suppression threshold as a percentage of the maximum interface rate. The value range for this argument is 0 to 100. The smaller the percentage, the less broadcast traffic is allowed to pass through.
Related commands • multicast-suppression • unicast-suppression 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.
Field Description Type of traffic subjected to storm control: Type • BC—Broadcast packets. • MC—Multicast packets. • UC—Unknown unicast packets. Lower Lower storm control threshold, in pps, kbps, or percentage. Upper Upper storm control threshold, in pps, kbps, or percentage. Storm control threshold unit: Unit CtrlMode • pps. • kbps. • percentage. Protective action (block or shutdown) taken on the port when the upper threshold is reached. N/A indicates that no protective action is configured.
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. The smaller the percentage, the less multicast traffic is allowed to pass through. pps max-pps: Specifies the maximum number of multicast packets that the interface can forward per second. The value range for the max-pps argument (in pps) is 0 to 1.4881 × the maximum interface rate.
Syntax storm-constrain { broadcast | multicast | unicast } { pps | kbps | ratio } upperlimit lowerlimit undo storm-constrain { all | broadcast | multicast | unicast } Default Traffic storm control is disabled. Views Layer 2 Ethernet interface view Predefined user roles network-admin Parameters all: Disables storm control for all types of packets: broadcast, multicast, and unknown unicast. broadcast: Enables or disables broadcast storm control. multicast: Enables or disables multicast storm control.
# Enable broadcast storm control on FortyGigE 1/0/2, setting the upper and lower thresholds to 2000 kbps and 1500 kbps. system-view [Sysname] interface fortygige 1/0/2 [Sysname-FortyGigE1/0/2] storm-constrain broadcast kbps 2000 1500 # Enable multicast storm control on FortyGigE 1/0/3, setting the upper and lower thresholds to 80% and 15%.
Related commands • storm-constrain • storm-constrain control storm-constrain enable log Use storm-constrain enable log to enable an Ethernet interface to log storm control threshold events. Use undo storm-constrain enable log to disable log sending. Syntax storm-constrain enable log undo storm-constrain enable log Default An interface generates logs when monitored traffic exceeds the upper threshold or falls below the lower threshold.
Examples # Enable FortyGigE 1/0/1 to send traps when it detects storm control threshold events. system-view [Sysname] interface fortygige 1/0/1 [Sysname-FortyGigE1/0/1] storm-constrain enable trap storm-constrain interval Use storm-constrain interval to set the traffic polling interval of the storm control module. Use undo storm-constrain interval to restore the default.
undo unicast-suppression Default Ethernet interfaces do not suppress unicast traffic. Views Layer 2 Ethernet interface view Predefined user roles network-admin Parameters ratio: Sets the unicast suppression threshold as a percentage of the maximum interface rate. The value range for this argument (in percentage) is 0 to 100. The smaller the percentage, the less unicast traffic is allowed to pass through.
• multicast-suppression 42
Loopback, null, and inloopback interface commands bandwidth Use bandwidth to configure the expected bandwidth of an interface. Use undo bandwidth to restore the default. Syntax bandwidth bandwidth-value undo bandwidth Default The expected bandwidth of a loopback interface is 0 kbps. Views Loopback interface view Predefined user roles network-admin Parameters bandwidth-value: Specifies the expected bandwidth in the range of 1 to 400000000 kbps.
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. This command might fail to restore the default settings for some commands for reasons such as command dependencies and system restrictions.
[Sysname-LoopBack1] description for RouterID display interface inloopback Use display interface inloopback to display information about the inloopback interface. Syntax display interface [ inloopback [ 0 ] ] [ brief [ description ] ] Views Any view Predefined user roles network-admin network-operator Parameters 0: Specifies interface Inloopback 0. brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information.
Table 11 Command output Field Description Current state Physical layer state of the interface, which is always UP, meaning that the inloopback interface can receive and transmit packets. Line protocol state Data link layer protocol state of the interface, which is always UP (spoofing). UP (spoofing) means that the data link layer protocol state of the interface is UP but the link is an on-demand link or not present at all.
Table 12 Command output Field Description Brief information on interface(s) under route mode: Brief information about the inloopback interface. Explains the Link field values: Link: ADM - administratively down; Stby - standby • ADM—The interface has been shut down by the network administrator. To recover its physical layer state, run the undo shutdown command. • Stby—The interface is a standby interface. Explains the Protocol field value. Protocol: (s) - spoofing (s) represents spoofing.
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 this argument, the command displays information about all existing loopback interfaces on the device. brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information. down: Displays information about interfaces in down state and the causes.
Field Description Maximum Transmit Unit MTU of the interface. Internet protocol processing: disabled Indicates that the interface cannot process Layer 3 packets (displayed when the interface is not configured with an IP address). Internet Address is 1.1.1.1/32 Primary Primary IP address of the interface (displayed when the interface is configured with a primary IP address). Physical: Loopback The physical type of the interface is loopback.
Interface Link Cause Loop1 ADM Administratively Table 14 Command output Field Description Brief information on interface(s) under route mode: Brief information about loopback interfaces. Explains the Link field values: • ADM—Represents administratively down. The interface has been shut Link: ADM - administratively down; Stby - standby down by the network administrator. To recover its physical layer state, run the undo shutdown command. • Stby—Represents standby.
Views Any view Predefined user roles network-admin network-operator Parameters 0: Specifies interface Null 0. brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information. description: Displays complete interface descriptions. If you do not specify this keyword, the command displays only the first 27 characters of interface descriptions.
Interface Link Protocol Main IP Description NULL0 UP aaaaaaaaaaaaaaaaaaaaaaaaaaaaa UP(s) -- aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa For the command output, see Table 13 and Table 14. Related commands • interface null • reset counters interface null interface loopback Use interface loopback to create a loopback interface and enter loopback interface view. Use undo interface loopback to remove a loopback interface.
interface null Use interface null to enter null interface view. Syntax interface null 0 Default A device has only one null interface (Null 0), which cannot be created or deleted. Views System view Predefined user roles network-admin Parameters 0: Specifies interface Null 0. The null interface number is always 0. Examples # Enter Null 0 interface view.
Related commands display interface loopback reset counters interface null Use reset counters interface null to clear the statistics on the null interface. Syntax reset counters interface [ null [ 0 ] ] Views User view Predefined user roles network-admin Parameters 0: Specifies the number of the null interface, which is always 0.
Usage guidelines Use the shutdown command with caution, because the command disconnects the connection of the interface and disables the interface from communicating. Examples # Shut down interface loopback 1.
Bulk interface configuration commands display interface range Use display interface range to display information about interface ranges configured through the interface range name command. Syntax display interface range [ name name ] Views Any view Predefined user roles network-admin network-operator Parameters name name: Specifies an interface range by its name, a case-sensitive string of 1 to 32 characters.
Parameters interface-list: Specifies an interface list in the format of interface-list = { interface-type interface-number [ to interface-type interface-number ] }&<1-5>. The interface-type interface-number argument specifies an interface by its type and number. &<1-5> indicates that you can specify up to five interfaces or interface lists.
Views System view Predefined user roles network-admin Parameters name: Specifies an interface range name, a case-sensitive string of 1 to 32 characters. interface-list: Specifies an interface list in the format of interface-list = { interface-type interface-number [ to interface-type interface-number ] }&<1-5>. The interface-type interface-number argument specifies an interface by its type and number. &<1-5> indicates that you can specify up to five interfaces or interface lists.
# Enter the view of interface range named myEthPort.
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.
display mac-address vlan 100 MAC Address VLAN ID State Port/NickName 0001-0101-0101 100 Multiport FGE1/0/1 Aging N FGE1/0/2 0033-0033-0033 100 Blackhole N/A N 0000-0000-0002 100 Static FGE1/0/3 N 00e0-fc00-5829 100 Learned FGE1/0/4 Y # Display the total number of MAC address entries. display mac-address count 1 mac address(es) found.
Views Any view Predefined user roles network-admin network-operator Examples # Display the aging timer for dynamic MAC address entries. 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.
Table 16 Command output Field Description Global MAC address learning status: Global MAC address learning status • Enabled. • Disabled. 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.
Table 17 Command output Field Description Dynamic Unicast Address (Learned) Count Number of dynamic unicast MAC address entries triggered by packets. Dynamic Unicast Address (Security-service-defined) Count Number of dynamic unicast MAC address entries triggered by the security service. Static Unicast Address (User-defined) Count Number of static unicast MAC address entries added by users.
mac-address: Specifies a MAC address in the format of H-H-H, 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. vlan vlan-id: Specifies an existing VLAN to which the specified interface belongs. The value range for the vlan-id argument is 1 to 4094.
Syntax mac-address { dynamic | static } mac-address interface interface-type interface-number vlan vlan-id mac-address blackhole mac-address vlan vlan-id mac-address multiport mac-address interface interface-list 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 undo mac-address [ dynamic | static ] interface interface-type interface-number undo mac-address m
To drop the packets with the specified source MAC addresses or destination MAC addresses, you can configure blackhole MAC address entries. A multiport unicast MAC address entry is used to send frames with a specific destination MAC address out of multiple ports. When you execute this command for the first time, the command adds a MAC address entry. When you execute the command again with the same MAC address and VLAN but with different interfaces, this command adds the specified interfaces for this entry.
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. You can disable MAC address learning to avoid such attacks, but the following guidelines apply: • You can disable MAC address learning on a per-interface basis.
Views System view Predefined user roles network-admin Usage guidelines If ports on different cards of the same device or of different IRF member devices are selected ports from the same aggregation group, MAC address entries are synchronized among these cards regardless of whether MAC address synchronization is enabled. For more information about aggregation groups, see Layer 2—LAN Switching Configuration Guide. The MAC address table size might vary with different cards.
Follow these guidelines to set the aging timer appropriately: • A long aging interval causes the MAC address table to retain outdated entries and fail to accommodate the most recent network changes. • 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.
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.
undo mac-address information enable Default MAC Information is disabled globally. Views System view Predefined user roles network-admin Usage guidelines Before you enable MAC Information on an interface, enable MAC Information globally. Examples # Enable MAC Information globally.
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. Use undo mac-address information mode to restore the default. Syntax mac-address information mode { syslog | trap } undo mac-address information mode Default SNMP notifications are used to send MAC address changes.
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. If it is not 0, the device stores MAC address changes in the queue: • When the timer set for sending syslog messages or SNMP notifications does not expire, the device overwrites the last piece of information written into the queue with the new MAC address change if the queue has been exhausted.
Ethernet link aggregation commands bandwidth Use bandwidth to configure the expected bandwidth for an interface. Use undo bandwidth to restore the default. Syntax bandwidth bandwidth-value undo bandwidth Default The expected bandwidth (in kbps) is the interface baud rate divided by 1000. Views Layer 2 aggregate interface view Predefined user roles network-admin Parameters bandwidth-value: Specifies the expected bandwidth in the range of 1 to 400000000 kbps.
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. This command might fail to restore the default settings for some commands for reasons such as command dependencies and system restrictions. Use the display this command in interface view to identify these commands, and then use their undo forms or follow the command reference to individually restore their default settings.
Syntax display interface [ bridge-aggregation ] [ brief [ down | description ] ] display interface bridge-aggregation interface-number [ brief [ description ] ] Views Any view Predefined user roles network-admin network-operator Parameters bridge-aggregation: Displays information about Layer 2 aggregate interfaces. interface-number: Specifies an existing aggregate interface number. The value range for the interface-number argument is the set of all existing aggregate interface numbers.
Input (total): 5364747 packets, 686688416 bytes 2682273 unicasts, 1341137 broadcasts, 1341337 multicasts, 0 pauses Input (normal): 5364747 packets, 686688416 bytes 2682273 unicasts, 1341137 broadcasts, 1341337 multicasts, 0 pauses Input: 0 input errors, 0 runts, 0 giants, 0 throttles 0 CRC, 0 frame, 0 overruns, - aborts - ignored, - parity errors Output (total): 1042508 packets, 133441832 bytes 1042306 unicasts, 0 broadcasts, 202 multicasts, - pauses Output (normal): 1042508 packets, 133441832 bytes 1
Field Description Packets from the specified VLANs are sent out of this interface with a VLAN tag: • Tagged Vlan: none—All packets are sent out of this interface without a VLAN tag. Tagged Vlan • Tagged Vlan: 1—Packets from VLAN 1 are sent out of this interface with a VLAN tag. This field is displayed when the port link type is access or hybrid.
Field Description If the speed of an interface is automatically negotiated, its speed attribute includes the auto negotiation flag, indicated by the letter a in parentheses. Speed or Duplex: (a)/A - auto; H - half; F - full If the duplex mode of an interface is automatically negotiated, its duplex mode attribute includes the auto negotiation flag, indicated by the letter a in parentheses or a capital A. The letter H indicates the half duplex mode, and the letter F indicates the full duplex mode.
Table 19 Command output Field Description Actor System ID: 0x8000, 0000-fc00-6504 Local system ID, which contains the system LACP priority (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.
display link-aggregation load-sharing mode interface bridge-aggregation 10 Bridge-Aggregation10 Load-Sharing Mode: Layer 2 traffic: destination-mac address source-mac address Layer 3 traffic: destination-ip address source-ip address Table 20 Command output Field Description Global link-aggregation load sharing criteria. Link-Aggregation Load-Sharing Mode • By default, this field displays the packet type-based link-aggregation load sharing criteria.
display link-aggregation member-port fortygige 1/0/1 Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation, D -- Synchronization, E -- Collecting, F -- Distributing, G -- Defaulted, H -- Expired FortyGigE1/0/1: Aggregate Interface: Bridge-Aggregation1 Port Number: 1 Port Priority: 32768 Oper-Key: 1 # Display detailed link aggregation information for FortyGigE 1/0/2, which is a member port of a dynamic aggregation group.
Table 21 Command output Field Description LACP state flags. This field is one 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. • A—Indicates whether LACP is enabled. 1 indicates enabled, and 0 indicates disabled. • B—Indicates the LACP short or long timeout. 1 indicates short timeout, and 0 indicates long timeout.
Usage guidelines Information about the remote system for a static link aggregation group is displayed as none, because static link aggregation groups are unaware of information about the peer groups. Examples # Display the summary information for all aggregation groups.
Views Any view Predefined user roles network-admin network-operator Parameters bridge-aggregation: Displays detailed information about the Layer 2 aggregation groups that correspond to Layer 2 aggregate interfaces. interface-number: Specifies an existing aggregate interface by its number. Usage guidelines If you specify only the bridge-aggregation keyword, this command displays information about all Layer 2 aggregation groups.
Port Status: S -- Selected, U -- Unselected Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation, D -- Synchronization, E -- Collecting, F -- Distributing, G -- Defaulted, H -- Expired Aggregate Interface: Bridge-Aggregation20 Aggregation Mode: Static Loadsharing Type: Shar Port Status Priority Oper-Key -------------------------------------------------------------------------------FGE1/0/1 U 32768 1 FGE1/0/2 U 32768 1 FGE1/0/3 U 32768 1 Table 23 Command output Field Description L
Field Description Information about the local end: Local • • • • • Port—Port type and number. Status—Selected or Unselected state of the port. Priority—Port priority. Oper-Key—Operational key. Flag—LACP state flag. NOTE: For static aggregation groups, only local information (without the Flag field) is displayed. Information about the remote end: Remote • • • • • • Actor—Port type and number of the local end. Partner—Port index of the remote end. Priority—Port priority of the remote end.
Examples # Create Layer 2 aggregate interface Bridge-Aggregation 1, and enter its view. 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. Use undo lacp period to restore the default setting.
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. system-view [Sysname] lacp system-priority 64 Related commands link-aggregation port-priority link-aggregation global load-sharing mode Use link-aggregation global load-sharing mode to configure the global link-aggregation load sharing criteria.
• Source MAC address • Destination MAC address • Source IP address and destination IP address • Source IP address and source port • Destination IP address and destination port • Source IP address, source port, destination IP address, and destination port • Any combination of ingress port, source MAC address, and destination MAC address Examples # Configure the destination MAC address as the global link-aggregation load sharing criterion.
link-aggregation lacp traffic-redirect-notification enable Use link-aggregation lacp traffic-redirect-notification enable to enable link-aggregation traffic redirection. Use undo link-aggregation lacp traffic-redirect-notification enable to disable link-aggregation traffic redirection. Syntax link-aggregation lacp traffic-redirect-notification enable undo link-aggregation lacp traffic-redirect-notification enable Default Link-aggregation traffic redirection is disabled.
Default Local-first load sharing is enabled for link aggregation. Views System view Predefined user roles network-admin Usage guidelines You can configure this feature only when the system operates in the IRF mode. When you disable local-first load sharing for link aggregation, the packets will be load-shared among all Selected ports of the aggregate interface on all IRF member devices. Local-first load sharing for link aggregation takes effect on only known unicast packets.
Use undo link-aggregation port-priority to restore the default setting. Syntax link-aggregation port-priority port-priority undo link-aggregation port-priority Default The port priority of an interface is 32768. Views Layer 2 Ethernet interface view Predefined user roles network-admin Parameters port-priority: Specifies the port priority in the range of 0 to 65535. The smaller the value, the higher the port priority. Examples # Set the port priority of Layer 2 Ethernet interface FortyGigE 1/0/1 to 64.
Usage guidelines Executing this command might cause some of the Selected ports in an aggregation group to become unselected. The maximum numbers of Selected ports allowed in the aggregation groups of the local and peer ends must be consistent. The maximum number of Selected ports allowed in an aggregation group is limited by either the configured maximum number or hardware capability, whichever value is smaller.
The minimum number of Selected ports allowed in the aggregation groups of the local and peer ends must be consistent. Examples # Configure the minimum number of Selected ports as 3 in the aggregation group that corresponds to Layer 2 aggregate interface Bridge-Aggregation 1.
Views User view Predefined user roles network-admin Parameters bridge-aggregation: Clears statistics for Layer 2 aggregate interfaces. interface-number: Specifies an existing aggregate interface number. Usage guidelines Before collecting statistics for a Layer 2 aggregate interface within a specific period, clear its existing statistics. If no option is specified, the command clears the statistics for all interfaces in the system.
shutdown Use shutdown to shut down the aggregate interface. Use undo shutdown to bring up the aggregate interface. Syntax shutdown undo shutdown Default Aggregate interfaces are up. Views Layer 2 aggregate interface view Predefined user roles network-admin Examples # Bring up Layer 2 aggregate interface Bridge-Aggregation 1.
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.
port-isolate enable Use port-isolate enable to assign a port to an isolation group. Use undo port-isolate enable to remove a port from an isolation group. Syntax port-isolate enable group group-number undo port-isolate enable Default No ports are assigned to an isolation group. Views Layer 2 Ethernet interface view, Layer 2 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.
Syntax port-isolate group group-number undo port-isolate group { group-number | all } Default No isolation group exists. 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. For this switch series, only the isolation group numbered 1 is valid. all: Deletes all isolation groups. Usage guidelines If you execute this command multiple times, the most recent configuration takes effect.
Spanning tree commands The switch has one built-in MPU. The slot number of this MPU is fixed at 0. Unless otherwise stated, the term "card" in this document refers to both the MPU and LPUs. active region-configuration Use active region-configuration to activate your MST region configuration.
Syntax check region-configuration Views MST region view Predefined user roles network-admin Usage guidelines Two or more spanning tree devices belong to the same MST region only if they are configured with the same format selector (0 by default and not configurable), MST region name, and MST region revision level, have the same VLAN-to-instance mapping entries in the MST region, and are connected through a physical link.
display stp Use display stp to display the spanning tree status and statistics information. Based on the information, you can analyze and maintain the network topology or determine whether the spanning tree is working correctly.
• If you do not specify any MSTI or port, this command displays the spanning tree information of all MSTIs on all ports. The displayed information is sorted by MSTI ID and by port name in each MSTI. • If you specify an MSTI but not a port, this command displays the spanning tree information on all ports in that MSTI. The displayed information is sorted by port name. • If you specify some ports but not an MSTI, this command displays the spanning tree information of all MSTIs on the specified ports.
Bridge ID : 32768.000f-e200-2200 Bridge times : Hello 2s MaxAge 20s FwdDelay 15s MaxHops 20 Root ID/ERPC : 0.00e0-fc0e-6554, 200200 RegRoot ID/IRPC : 32768.000f-e200-2200, 0 RootPort ID : 128.48 BPDU-Protection : Disabled Bridge ConfigDigest-Snooping : Disabled TC or TCN received : 2 Time since last TC : 0 days 0h:5m:42s ----[Port153(FortyGigE1/0/1)][FORWARDING]---Port protocol : Enabled Port role : Designated Port (Boundary) Port ID : 128.
MAC address : 000f-e200-8048 Max age(s) : 20 Forward delay(s) : 15 Hello time(s) : 2 Max hops : 20 Table 27 Command output Field Description Bridge ID Bridge ID, which comprises the device's priority in the MSTI and its MAC address. For example, in output "32768.000f-e200-2200," the value preceding the dot is the device's priority in the MSTI, and the value following the dot is the device's MAC address. Major parameters for the bridge: Bridge times • • • • Hello—Hello timer.
Field Desg.bridge/port Description Designated bridge ID and port ID of the port. The port ID displayed is insignificant for a port which does not support port priority. The port is an edge port or non-edge port. Port edged • Config—Configured value. • Active—Actual value. The port is connected to a point-to-point link or not. Point-to-Point • Config—Configured value. • Active—Actual value. Transmit limit Number of BPDUs sent within each hello time.
Field Description Protocol Std. Spanning tree protocol standard. Version Spanning tree protocol version. CIST Bridge-Prio. Device's priority in the CIST. Max age(s) Aging timer (in seconds) for BPDUs. Forward delay(s) Port state transition delay (in seconds). Hello time(s) Interval (in seconds) for the root bridge to send BPDUs. Max hops Maximum hops in the MSTI.
Field Description Reason that the port was blocked: Reason • Root-Protected—Root guard function. • Loop-Protected—Loop guard function. • Loopback-Protected—Self-loop protection. A port in the MSTI receives a BPDU that it sends. • Disputed—Dispute protection. A port receives a low-priority BPDU from a non-blocked designated port. display stp bpdu-statistics Use display stp bpdu-statistics to display the BPDU statistics on ports.
Port: FortyGigE1/0/1 Instance-Independent: Type Count Last Updated --------------------------- ---------- ----------------Invalid BPDUs 0 Looped-back BPDUs 0 MAX-aged BPDUs 0 TCN sent 0 TCN received 0 TCA sent 0 TCA received 2 Config sent 0 Config received 0 RST sent 0 RST received 0 MST sent 4 10:33:11 01/13/2011 MST received 151 10:37:43 01/13/2011 Count Last Updated 10:33:12 01/13/2011 Instance 0: Type --------------------------- ---------- ----------------Timeout BPD
Field Description MST sent RSTP BPDUs received. MST received MSTP BPDUs sent. Instance Statistical information for a particular MSTI. Timeout BPDUs Expired BPDUs. MAX-hoped BPDUs BPDUs whose maximum hops were exceeded. TC detected TC BPDUs detected. TC sent TC BPDUs sent. TC received TC BPDUs received. display stp down-port Use display stp down-port to display information about ports that were shut down by spanning tree protection functions.
display stp [ instance instance-list ] history [ slot slot-number ] In IRF mode: display stp [ instance instance-list ] history [ chassis chassis-number slot slot-number ] Views Any view Predefined user roles network-admin network-operator Parameters instance instance-list: Displays the historical port role calculation information for the MSTIs that are specified by an instance list, in the format of instance-list = { instance-id [ to instance-id ] }&<1-10>, where &<1-10> indicates that you can specify u
In IRF mode: # In MSTP mode, display the historical port role calculation information for the card on slot 1 of IRF member device 1 in MSTI 2. display stp instance 2 history chassis 1 slot 1 ---------- STP chassis 1 slot 1 history trace -------------------------- Instance 2 --------------------- Port FortyGigE1/0/1 Role change : ROOT->DESI (Aged) Time : 2009/02/08 00:22:56 Port priority : 0.00e0-fc01-6510 0 0.00e0-fc01-6510 128.
Instance VLANs Mapped 0 21 to 4094 1 1 to 10 2 11 to 20 Table 32 Command output Field Description Format selector Format selector that is defined by the spanning tree protocol. The default value is 0, and the selector cannot be configured. Region name MST region name. Revision level Revision level of the MST region. The default value is 0, and the level can be configured by using the revision-level command. VLANs Mapped VLANs mapped to the MSTI.
Field Description Root Port Root port name (displayed only if a port of the device is the root port of MSTIs). display stp tc Use display stp tc to display the statistics of TC/TCN BPDUs received and sent by ports.
# In MSTP mode, display the statistics of TC/TCN BPDUs received and sent by all ports on the card on slot 1 in MSTI 0. display stp instance 0 tc slot 1 -------------- STP slot 1 TC or TCN count ------------MSTID Port Receive Send 0 FortyGigE1/0/1 6 4 0 FortyGigE1/0/2 0 2 In IRF mode: # In MSTP mode, display the statistics of TC/TCN BPDUs received and sent by all ports on slot 1 of IRF member device 1 in MSTI 0.
Usage guidelines If you specify no VLAN in the undo instance command, all VLANs mapped to the specified MSTI are remapped to the CIST. You cannot map the same 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. You can configure VLAN-to-instance mapping for up to 63 MSTIs. After configuring this command, run the active region-configuration command to activate the VLAN-to-instance mapping.
After configuring this command, run the active region-configuration command to activate the configured MST region name. Examples # Set the MST region name of the device to hello. system-view [Sysname] stp region-configuration [Sysname-mst-region] region-name hello Related commands • active region-configuration • check region-configuration • display stp region-configuration • instance • revision-level • vlan-mapping modulo reset stp Use reset stp to clear spanning tree statistics.
Syntax revision-level level undo revision-level Default The MSTP revision level is 0. Views MST region view Predefined user roles network-admin Parameters level: Specifies an MSTP revision level in the range of 0 to 65535. Usage guidelines The MSTP revision level, the MST region name, and the VLAN-to-instance mapping table of a device determine the device's MST region.
Views System view Predefined user roles network-admin Examples # Enable the BPDU guard function. system-view [Sysname] stp bpdu-protection stp bridge-diameter Use stp bridge-diameter to specify the network diameter, which is the maximum possible number of stations between any two terminal devices on the switched network. Use undo stp bridge-diameter to restore the default. Syntax stp bridge-diameter diameter undo stp bridge-diameter Default The network diameter of the switched network is 7.
stp compliance Use stp compliance to configure the mode that a port uses to recognize and send MSTP BPDUs. Use undo stp compliance to restore the default. Syntax stp compliance { auto | dot1s | legacy } undo stp compliance Default A port automatically recognizes the formats of received MSTP packets and determines the formats of MSTP packets to be sent based on the recognized formats.
Default The feature is disabled. Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view Predefined user roles network-admin Usage guidelines Enable this feature both globally and on ports connected to other vendors' devices. To minimize impact, enable the feature on all associated ports before you enable it globally. When the setting is configured in Layer 2 Ethernet interface view, it takes effect on only the interface.
Parameters instance instance-list: Sets the path cost of the port in the MSTIs that are specified by an instance list, in the format of instance-list = { instance-id [ to instance-id ] }&<1-10>, where &<1-10> 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. cost: Specifies the path cost of the port, with an effective range that depends on the path cost calculation standard that is adopted.
Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view Predefined user roles network-admin Usage guidelines If a port directly connects to a user terminal rather than to another device or a shared LAN segment, this port is regarded as an edge port. In case the network topology changes, an edge port does not cause a temporary loop. You can enable the port to transit to the forwarding state rapidly by configuring it as an edge port.
Predefined user roles network-admin 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 you enable the spanning tree feature, the device dynamically maintains the spanning tree status of VLANs, based on received configuration BPDUs. When you disable the spanning tree feature, the device stops maintaining the spanning tree status.
Examples # Enable digest snooping on FortyGigE 1/0/1 and then globally. system-view [Sysname] interface fortygige 1/0/1 [Sysname-FortyGigE1/0/1] stp config-digest-snooping [Sysname-FortyGigE1/0/1] quit [Sysname] stp global config-digest-snooping Related commands • display stp • stp config-digest-snooping stp global enable Use stp global enable to enable the spanning tree feature globally. Use undo stp global enable to disable the spanning tree feature globally.
stp global mcheck Use stp global mcheck to perform the mCheck operation globally. Syntax stp global mcheck Views System view Predefined user roles network-admin Usage guidelines If a port on a device running MSTP or RSTP connects to an STP device, this port automatically transits to the STP mode when the port receives STP BPDUs. However, if the peer STP device is shut down or removed and the local device cannot detect the change, the local device cannot automatically transit back to the original mode.
Usage guidelines On a port, the loop guard function is mutually exclusive with the root guard function or the edge port setting. When the setting is configured in Layer 2 Ethernet interface view, it takes effect on only the interface. When the setting is configured in Layer 2 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.
stp mcheck Use stp mcheck to perform the mCheck operation on a port. Syntax stp mcheck Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view Predefined user roles network-admin Usage guidelines If a port on a device that is running MSTP or RSTP connects to an STP device, the port automatically transits to the STP mode when the port receives STP BPDUs.
Syntax stp mode { mstp | rstp | stp } undo stp mode Default A spanning tree device operates in MSTP mode. Views System view Predefined user roles network-admin Parameters mstp: Configures the spanning tree device to operate in MSTP mode. rstp: Configures the spanning tree device to operate in RSTP mode. stp: Configures the spanning tree device to operate in STP mode. Usage guidelines MSTP mode is compatible with RSTP mode, and RSTP mode is compatible with STP mode.
Usage guidelines This command takes effect only after you enable it on the root port. When the setting is configured in Layer 2 Ethernet interface view, it takes effect on only the interface. When the setting is configured in Layer 2 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 # Enable No Agreement Check on FortyGigE 1/0/1.
Related commands • display stp • stp cost stp point-to-point Use stp point-to-point to configure the link type of a port. Use undo stp point-to-point to restore the default. Syntax stp point-to-point { auto | force-false | force-true } undo stp point-to-point Default The default setting is auto, and the spanning tree device automatically detects whether a port connects to a point-to-point link.
[Sysname-FortyGigE1/0/3] stp point-to-point force-true Related commands display stp stp port priority Use stp port priority to set the priority of a port. The port priority affects the role of a port in a spanning tree. Use undo stp port priority to restore the default. Syntax stp [ instance instance-list ] port priority priority undo stp [ instance instance-list ] port priority Default The port priority is 128.
stp port-log Use stp port-log to enable outputting port state transition information. Use undo stp port-log to disable outputting port state transition information. Syntax stp port-log { all | instance instance-list } undo stp port-log { all | instance instance-list } Default This function is disabled. Views System view Predefined user roles network-admin Parameters all: Specifies all MSTIs.
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-10>, where &<1-10> 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.
stp role-restriction Use stp role-restriction to enable port role restriction. Use undo stp role-restriction to disable port role restriction. Syntax stp role-restriction undo stp role-restriction Default Port role restriction is disabled. Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view Predefined user roles network-admin Usage guidelines When port role restriction is enabled on a port, the port cannot become a root port.
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-10>, where &<1-10> 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, specify the device as a secondary root bridge in MSTI 1. system-view [Sysname] stp instance 1 root secondary Related commands • stp priority • stp root primary stp root-protection Use stp root-protection to enable the root guard function on a port. Use undo stp root-protection to disable the root guard function on a port. Syntax stp root-protection undo stp root-protection Default The root guard function is disabled.
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 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).
Examples # Configure the device to perform up to 10 forwarding address entry flushes every 10 seconds. system-view [Sysname] stp tc-protection threshold 10 Related commands stp tc-protection stp tc-restriction Use stp tc-restriction to enable TC-BPDU transmission restriction. Use undo stp tc-restriction to disable TC-BPDU transmission restriction. Syntax stp tc-restriction undo stp tc-restriction Default TC-BPDU transmission restriction is disabled.
undo stp timer forward-delay Default The forward delay timer is 1500 centiseconds. Views System view Predefined user roles network-admin Parameters time: Sets the forward delay in centiseconds in the range of 400 to 3000 in increments of 100 (as in 400, 500, 600). Usage guidelines The forward delay timer determines the time interval of state transition.
Predefined user roles network-admin Parameters time: Sets the hello time in centiseconds in the range of 100 to 1000 in increments of 100 (as in 100, 200, 300). Usage guidelines Hello time is the time interval at which spanning tree devices send configuration BPDUs to maintain the spanning tree. If a device fails to receive configuration BPDUs within the set period of time, a new spanning tree calculation process is triggered due to timeout. HP recommends not setting the hello time with this command.
Usage guidelines In the CIST of an MSTP network, the device determines whether a configuration BPDU received on a port has expired based on the max age timer. If the configuration BPDU has expired, a new spanning tree calculation process starts. The max age timer takes effect only on the CIST (or MSTI 0). HP recommends not setting the max age timer with this command.
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. Examples # Set the timeout factor of the device to 7. system-view [Sysname] stp timer-factor 7 Related commands stp timer hello stp transmit-limit Use stp transmit-limit to set the BPDU transmission rate of a port. Use undo stp transmit-limit to restore the default.
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). Views MST region view Predefined user roles network-admin Parameters modulo: Sets the modulo value in the range of 1 to 62. Usage guidelines You cannot map a VLAN to different MSTIs.
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. display loopback-detection Loopback detection is enabled. Loopback detection interval is 30 second(s).
Use undo loopback-detection action to restore the default. Syntax In Layer 2 Ethernet interface view: loopback-detection action { block | no-learning | shutdown } undo loopback-detection action In Layer 2 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.
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 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 specific ports, use the loopback-detection action command in interface view. The global configuration applies to all ports. The per-port configuration applies to the individual ports.
Usage guidelines Use this command to enable loop detection globally. To enable loop detection on specific ports, 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. The per-port configuration takes precedence over the global configuration. Example # Globally enable loop detection for VLAN 10 through VLAN 20.
VLAN commands Basic VLAN commands bandwidth Use bandwidth to configure the expected bandwidth of an interface. Use undo bandwidth to restore the default. Syntax bandwidth bandwidth-value undo bandwidth Default The expected bandwidth (in kbps) is the interface baud rate divided by 1000. Views VLAN interface view Predefined user roles network-admin Parameters bandwidth-value: Specifies the expected bandwidth in the range of 1 to 400000000 kbps.
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 on a live network. This command might fail to restore the default settings for some commands for reasons such as command dependencies or system restrictions.
Usage guidelines You can configure a description to describe the function or connection of a VLAN or VLAN interface, which is helpful when a large number of VLANs are created on the device. Examples # Configure the description of VLAN 2 as sales-private. system-view [Sysname] vlan 2 [Sysname-vlan2] description sales-private # Configure the description of VLAN interface 2 as linktoPC56.
Description: Vlan-interface10 Interface Bandwidth: 100000kbps Maximum Transmit Unit: 1500 Internet Address is 192.168.1.54/24 Primary IP Packet Frame Type:PKTFMT_ETHNT_2, Hardware Address: 0023-89b6-d613 IPv6 Packet Frame Type:PKTFMT_ETHNT_2, Hardware Address: 0023-89b6-d613 Last clearing of counters: Never # Display brief information for VLAN interface 2.
Field Description Brief information on interface(s) under route mode Brief information about Layer 3 interfaces. Link layer state of the interface: Link: ADM - administratively down; Stby – standby • ADM—The interface has been administratively shut down. To bring up the interface, use the undo shutdown command. • Stby—The interface is operating as a standby interface.
Parameters vlan-id1: Displays information about a VLAN specified by its VLAN ID. The value range for this argument is 1 to 4094. vlan-id1 to vlan-id2: Specifies a VLAN ID range. Both the vlan-id1 and the vlan-id2 arguments are in the range of 1 to 4094. The ID for vlan-id2 must be equal to or greater than the ID for vlan-id1. all: Displays all VLAN information except for the reserved VLANs. dynamic: Displays the number of dynamic VLANs and the ID for each dynamic VLAN.
Field Description IP address Primary IP address of the VLAN interface (available only when an IP address is configured for the VLAN interface). To display secondary IP addresses, use the display interface vlan-interface command in any view or the display this command in VLAN interface view. Subnet mask Subnet mask of the primary IP address (available only when an IP address is configured for the VLAN interface). Tagged ports Ports through which VLAN packets are sent tagged.
name Use name to configure a name for a VLAN. Use undo name to restore the default name of a VLAN. Syntax name text undo name 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.
In IRF mode: service chassis chassis-number slot slot-number undo service chassis Default No LPU is specified for forwarding the traffic on the VLAN interface. Views VLAN interface view Predefined user roles network-admin Parameters slot slot-number: Specifies an LPU. The slot-number argument represents the number of the slot that holds the LPU. (In standalone mode.) chassis chassis-number slot slot-number: Specifies an LPU of an IRF member device.
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 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.
Parameters vlan-id1, vlan-id2: Specifies a VLAN ID. The value range is 1 to 4094. vlan-id1 to vlan-id2: Specifies a VLAN ID range. Both the vlan-id1 and the vlan-id2 arguments are in the range of 1 to 4094. The ID for vlan-id2 must be equal to or greater than the ID for vlan-id1. all: Creates or removes all VLANs except reserved VLANs. Usage guidelines You cannot create or remove the system default VLAN (VLAN 1). You cannot create or remove VLANs that are reserved for specific functions.
display port hybrid Interface PVID VLAN Passing FGE1/0/4 100 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. display port trunk Interface PVID VLAN Passing FGE1/0/8 2 1-4, 6-100, 145, 177, 189-200, 244, 289, 400, 555, 600-611, 1000, 2006-2008 Table 38 Command output Field Description Interface Interface name. PVID Port VLAN ID.
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/0/1 through FortyGigE 1/0/3 to VLAN 2. system-view [Sysname] vlan 2 [Sysname-vlan2] port fortygige 1/0/1 to fortygige 1/0/3 Related commands display vlan port access vlan Use port access vlan to assign an access port to the specified VLAN. Use undo port access vlan to restore the default.
[Sysname-FortyGigE1/0/1] port access vlan 3 port hybrid pvid Use port hybrid pvid to configure the PVID of a hybrid port. Use undo port hybrid pvid to configure the PVID of a hybrid port as 1. Syntax port hybrid pvid vlan vlan-id undo port hybrid pvid Default The PVID of a hybrid port is the ID of the VLAN to which the port was assigned as an access port.
Related commands • port hybrid vlan • port link-type port hybrid vlan Use port hybrid vlan to assign a hybrid port to the specified VLANs. Use undo port hybrid vlan to remove a hybrid port from the specified VLANs. Syntax port hybrid vlan vlan-id-list { tagged | untagged } undo port hybrid vlan vlan-id-list Default A hybrid port is an untagged member of the VLAN to which the port was assigned as an access port.
Related commands port link-type 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. Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view Predefined user roles network-admin Parameters access: Configures the link type of a port as access. hybrid: Configures the link type of a port as hybrid.
Syntax port trunk permit vlan { vlan-id-list | all } undo port trunk permit vlan { vlan-id-list | all } Default A trunk port allows only packets from VLAN 1 to pass through. Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view Predefined user roles network-admin Parameters vlan-id-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 form of vlan-id1 to vlan-id2. The value range for VLAN IDs is 1 to 4094.
Syntax port trunk pvid vlan vlan-id undo port trunk pvid Default The PVID of a trunk port is VLAN 1. Views Layer 2 Ethernet interface view, Layer 2 aggregate 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.
LLDP commands You can set an Ethernet port as a Layer 3 interface by using the port link-mode route command (see Layer 2—LAN Switching Configuration Guide). display lldp local-information Use display lldp local-information to display local LLDP information, which will be contained in the advertisable LLDP TLVs and sent to neighboring devices.
FirmwareRev : 120 SoftwareRev : 7900-CMW71045-2102 SerialNum : Unknown Manufacturer name : HP Model name : HP 7904 Asset tracking identifier : Unknown LLDP local-information of port 52[FortyGigE1/0/3]: Port ID type : Interface name Port ID : FortyGigE1/0/3 Port description : FortyGigE1/0/3 Interface LLDP agent nearest-bridge management address: Management address type : IPv4 Management address : 192.168.80.
PSE power supported : No PSE power enabled : No PSE pairs control ability : No Power pairs : Signal Port power classification : Class 0 Maximum frame size : 12288 Table 39 Command output Field Description Chassis ID Bridge MAC address of the device. Supported capabilities: • Bridge—Switching is supported. • Router—Routing is supported. • DocsisCableDevice—The local device can serve as a System capabilities supported DOCSIS-compliant cable device.
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 type Numbering type of the interface identified by the management address. Management address interface ID Index of the interface identified by the management address. Management address OID Management address object ID. Displayed as version information in IEEE Std 802.1Qaz™-2011.
Field Description Port power classification of the PD: Port power classification • • • • • Class 0. Class 1. Class 2. Class 3. Class 4. Link aggregation supported Indicates whether link aggregation is supported on the port. Link aggregation enabled Indicates whether link aggregation is enabled on the port. Aggregation port ID Member port ID, which is 0 when link aggregation is disabled.
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. Examples # Display the detailed LLDP information that the nearest bridge agents on all ports receive from the neighboring devices.
-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 : cisco WS-C3750G-48TS Duplex : Full # Display the summary LLDP information that all LLDP agents on all ports receive from the neighboring devices.
Table 40 Command output Field Description LLDP neighbor-information of port 1 LLDP information received through port 1. Update time Time when LLDP information about a neighboring device was last updated. Chassis ID representation: Chassis type • • • • • • • Chassis component. Interface alias. Port component. MAC address. Network address (ipv4). Interface name. Locally assigned—Locally-defined chassis type other than those listed above.
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. • DocsisCableDevice—The neighboring device is serving as a DOCSIS-compliant cable device. • • • • • StationOnly—The neighboring device is serving as a station only.
display lldp statistics Use display lldp statistics to display the global LLDP statistics or the LLDP statistics of a port. Syntax display lldp statistics [ global | [ interface interface-type interface-number ] [ agent { nearest-bridge | nearest-customer | nearest-nontpmr } ] ] Views Any view Predefined user roles network-admin network-operator Parameters global: Displays the global LLDP statistics. interface interface-type interface-number: Specifies a port by its type and number.
The number of CDP frames received : 0 The number of CDP frames discarded : 0 The number of CDP error frames : 0 LLDP agent nearest-nontpmr: The number of LLDP frames transmitted : 0 The number of LLDP frames received : 0 The number of LLDP frames discarded : 0 The number of LLDP error frames : 0 The number of LLDP TLVs discarded : 0 The number of LLDP TLVs unrecognized : 0 The number of LLDP neighbor information aged out : 0 The number of CDP frames transmitted : 0 The number of CDP fram
Table 41 Command output Field Description LLDP statistics global information Global LLDP statistics. LLDP neighbor information last change time Time when the neighbor information was last updated. The number of LLDP neighbor information inserted Number of times neighbor information was added. The number of LLDP neighbor information deleted Number of times neighbor information was removed.
Fast transmit interval : 1s Transmit max credit : 5 Hold multiplier : 4 Reinit delay : 2s Trap interval : 5s Fast start times : 3 LLDP status information of port 1 [FortyGigE1/0/1]: LLDP agent nearest-bridge: Port status of LLDP : Enable Admin status : Tx_Rx Trap flag : No MED trap flag : No Polling interval : 0s Number of LLDP neighbors : 5 Number of MED neighbors : 2 Number of CDP neighbors : 0 Number of sent optional TLV : 12 Number of received unknown TLV : 5 LLDP agent n
Field Description Transmit interval LLDPDU transmit interval. Hold multiplier TTL multiplier. Reinit delay LLDP re-initialization delay. Transmit max credit Token bucket size for sending LLDPDUs. Trap interval Trap transmit interval. Fast start times Number of LLDPDUs sent each time fast LLDPDU transmission is triggered. Port 1 LLDP status of port 1. Port status of LLDP Indicates whether LLDP is enabled on the port.
nearest-bridge: Specifies nearest bridge agents. nearest-customer: Specifies nearest customer bridge agents. nearest-nontpmr: Specifies nearest non-TPMR bridge agents. Usage guidelines If no port is specified, this command displays the types of advertisable optional TLVs of all ports. Examples # Display the types of advertisable optional LLDP TLVs of interface FortyGigE1/0/1.
VLAN Name TLV YES NO DCBX TLV NO NO EVB TLV YES YES Link Aggregation TLV YES NO Management VID TLV NO NO MAC-Physic TLV YES NO Power via MDI TLV YES NO Maximum Frame Size TLV YES NO IEEE 802.
Field Description 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. Basic TLVs: Basic optional TLV • • • • • Port description TLV. System name TLV. System description TLV. System capabilities TLV. Management address TLV. IEEE 802.1 organizationally specific TLVs: IEEE 802.1 extended TLV • • • • • • Port VLAN ID TLV. Port and protocol VLAN ID TLV. VLAN name TLV. DCBX TLV. EVB TLV.
Syntax In Layer 2 or Layer 3 Ethernet interface view: lldp [ agent { nearest-customer | nearest-nontpmr } ] admin-status { disable | rx | tx | txrx } undo lldp [ agent { nearest-customer | nearest-nontpmr } ] admin-status In Layer 2 aggregate interface view: lldp agent { nearest-customer | nearest-nontpmr } admin-status { disable | rx | tx | txrx } undo lldp agent { nearest-customer | nearest-nontpmr } admin-status Default The nearest bridge agent operates in txrx mode, and the nearest customer bridge agen
lldp agent { nearest-customer | nearest-nontpmr } check-change-interval interval undo lldp agent { nearest-customer | nearest-nontpmr } check-change-interval Default LLDP polling is disabled. Views Layer 2 Ethernet interface view, Layer 3 Ethernet interface view, Layer 2 aggregate interface view Predefined user roles network-admin Parameters agent: Specifies an LLDP agent type.
Usage guidelines For your device to work with Cisco IP phones, you must enable CDP-compatible LLDP globally and then configure CDP-compatible LLDP to operate in TxRx mode on the specified ports. Examples # Enable CDP-compatible LLDP globally and configure CDP-compatible LLDP to operate in TxRx mode on FortyGigE1/0/1.
lldp enable Use lldp enable to enable LLDP on a port. Use undo lldp enable to disable LLDP on a port. Syntax lldp enable undo lldp enable Default LLDP is enabled on a port. Views Layer 2 Ethernet interface view, Layer 3 Ethernet interface view, Layer 2 aggregate 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 FortyGigE1/0/1.
Predefined user roles network-admin Parameters agent: Specifies an LLDP agent type. If no agent type is specified in Ethernet interface view, the command configures the LLDPDU encapsulation format for nearest bridge agents. nearest-customer: Specifies nearest customer bridge agents. nearest-nontpmr: Specifies nearest non-TPMR bridge agents. Usage guidelines LLDP-CDP packets use only SNAP encapsulation. Examples # Configure the encapsulation format for LLDPDUs as SNAP on FortyGigE1/0/1.
Syntax lldp global enable undo lldp global enable Default LLDP is disabled globally. Views System view 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. 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.
TTL = Min (65535, (TTL multiplier × LLDPDU transmit interval)) As the expression shows, the TTL can be up to 65535 seconds. Examples # Set the TTL multiplier to 6. system-view [Sysname] lldp hold-multiplier 6 Related commands lldp timer tx-interval lldp management-address-format string Use lldp management-address-format string to configure the encoding format of the management address as character string. Use undo lldp management-address-format to restore the default.
[Sysname] interface fortygige 1/0/1 [Sysname-FortyGigE1/0/1] lldp agent nearest-customer management-address-format string lldp max-credit Use lldp max-credit to set the token bucket size for sending LLDPDUs. Use undo lldp max-credit to restore the default. Syntax lldp max-credit credit-value undo lldp max-credit Default The token bucket size for sending LLDPDUs is 5.
Usage guidelines You can use this command to control the LLDP agent types supported by the device: • In service bridge mode, LLDP supports nearest bridge agents and nearest non-TPMR bridge agents. LLDP processes the LLDPDUs with destination MAC addresses for these agents and transparently transmits the LLDPDUs with other destination MAC addresses in the VLAN. • In customer bridge mode, LLDP supports nearest bridge agents, nearest non-TPMR bridge agents, and nearest customer bridge agents.
Use undo lldp notification remote-change enable to disable LLDP trapping.
Parameters interval: Sets an interval for fast LLDPDU transmission, in the range of 1 to 3600 seconds. Examples # Set the interval for fast LLDPDU transmission to 2 seconds. system-view [Sysname] lldp timer fast-interval 2 lldp timer notification-interval Use lldp timer notification-interval to set the LLDP trap transmit interval and LLDP-MED trap transmit interval. Use undo lldp timer notification-interval to restore the default.
Views System view Predefined user roles network-admin Parameters delay: Sets the LLDP re-initialization delay in the range of 1 to 10 seconds. Examples # Set the LLDP re-initialization delay to 4 seconds. system-view [Sysname] lldp timer reinit-delay 4 lldp timer tx-interval Use lldp timer tx-interval to set the LLDPDU transmit interval. Use undo lldp timer tx-interval to restore the default.
lldp tlv-enable { basic-tlv { all | port-description | system-capability | system-description | system-name | management-address-tlv [ ip-address ] } | dot1-tlv { all | port-vlan-id | link-aggregation | protocol-vlan-id [ vlan-id ] | vlan-name [ vlan-id ] | management-vid [ mvlan-id ] } | dot3-tlv { all | mac-physic | max-frame-size | power } | med-tlv { all | capability | inventory | network-policy | power-over-ethernet | location-id { civic-address device-type country-code { ca-type ca-value }&<1-10> | el
• lldp agent nearest-customer tlv-enable { basic-tlv { all | management-address-tlv [ ip-address ] | port-description | system-capability | system-description | system-name } | dot1-tlv { all | port-vlan-id } } • lldp tlv-enable dot1-tlv { protocol-vlan-id [ vlan-id ] | vlan-name [ vlan-id ] | management-vid [ mvlan-id ] } • undo lldp agent nearest-nontpmr tlv-enable { basic-tlv { all | management-address-tlv | port-description | system-capability | system-description | system-name } | dot1-tlv { all |
• Enables the interface to advertise all LLDP-MED TLVs except location identification TLVs if the all keyword is specified for med-tlv. basic-tlv: Advertises basic LLDP TLVs. management-address-tlv [ ip-address ]: Advertises management address TLVs. ip-address specifies the management address to be advertised.
country-code: Sets a country code, corresponding to ISO 3166. { ca-type ca-value }&<1-10>: Configures address information, where ca-type represents the address information type in the range of 0 to 255, ca-value represents address information, a string of 1 to 250 characters, and &<1-10> indicates that you can specify up to 10 ca-type ca-value pairs. elin-address: Inserts telephone numbers for emergencies in location identification TLVs.
Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.
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. { x | y | ... } Braces enclose a set of required syntax choices separated by vertical bars, from which you select one.
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. Represents an access controller, a unified wired-WLAN module, or the switching engine on a unified wired-WLAN switch. Represents an access point.
Index ABCDFIJLMNPRSUVW display lldp statistics,179 A display lldp status,181 active region-configuration,102 display lldp tlv-config,183 B display loopback-detection,147 bandwidth,43 display mac-address,60 bandwidth,75 display mac-address aging-time,61 bandwidth,152 display mac-address mac-learning,62 bandwidth,1 display mac-address statistics,63 broadcast-suppression,32 display packet-drop,19 C display port,162 display port-isolate group,99 check region-configuration,102 display storm-c
L mac-address information queue-length,73 lacp period short,89 mac-address mac-learning enable,67 mac-address mac-roaming enable,68 lacp system-priority,89 mac-address timer,69 link-aggregation global load-sharing mode,90 link-aggregation ignore vlan,91 multicast-suppression,35 link-aggregation lacp traffic-redirect-notification enable,92 N name,159 link-aggregation load-sharing mode local-first,92 P link-aggregation mode,93 link-aggregation port-priority,93 port,163 link-aggregation selected-
storm-constrain interval,40 stp root primary,137 stp bpdu-protection,120 stp root secondary,138 stp bridge-diameter,121 stp root-protection,139 stp compliance,122 stp tc-protection,139 stp config-digest-snooping,122 stp tc-protection threshold,140 stp cost,123 stp tc-restriction,141 stp edged-port,124 stp timer forward-delay,141 stp enable,125 stp timer hello,142 stp global config-digest-snooping,126 stp timer max-age,143 stp global enable,127 stp timer-factor,144 stp global mcheck,128