HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co
HP 6125G Manual
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
HP 6125G manual content summary:
- HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 1
HP 6125 Blade Switch Series Layer 2 - LAN Switching Command Reference Part number: 5998-3166 Software version: Release 2103 Document version: 6W100-20120907 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 2
, or use of this material. 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. HP shall not be liable for technical or editorial errors or - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 3
Contents Ethernet interface configuration commands 1 broadcast-suppression 1 default 2 description 2 display counters 3 display counters rate 4 display interface 6 display loopback-detection 13 display packet-drop interface 14 display packet-drop summary 15 display storm-constrain - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 4
information interval 61 mac-address information mode 61 mac-address information queue-length 62 Ethernet link aggregation configuration commands 63 default 63 description 63 display interface 64 display lacp system-id 66 display link-aggregation load-sharing mode 67 display link-aggregation - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 5
125 stp transmit-limit 126 vlan-mapping modulo 127 BPDU tunneling configuration commands 128 bpdu-tunnel dot1q 128 bpdu-tunnel tunnel-dmac 129 VLAN configuration commands 130 Basic VLAN configuration commands 130 default 130 description 130 display interface vlan-interface 132 display vlan - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 6
hybrid ip-subnet-vlan 164 Isolate-user-VLAN configuration commands 166 display isolate-user-vlan 166 isolate-user-vlan 168 isolate-user-vlan enable 169 port isolate-user-vlan promiscuous 169 port isolate-user-vlan host 171 Voice VLAN configuration commands 174 display voice vlan oui 174 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 7
226 Service loopback group configuration commands 227 display service-loopback group 227 port service-loopback group 228 service-loopback group 228 Layer 2 forwarding configuration commands 230 cut-through enable 230 Support and other resources 231 Contacting HP 231 Subscription service 231 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 8
Documents 231 Websites 231 Conventions 232 Index 234 vi - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 9
Ethernet interface configuration commands The Ethernet interface numbers in this document are for example, and do not mean that Ethernet interfaces with these numbers exist on the switch Ethernet interfaces. Use undo broadcast-suppression to restore the default. By default, Ethernet interfaces - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 10
gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] broadcast-suppression 20 default Syntax View default Ethernet interface view Default level 2: System level Parameters None Description CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 11
and symbols. When you configure a description, follow these guidelines in to the switch through remote login software that supports the character type default. The default description of an interface is the interface name plus Interface. For example, GigabitEthernet1/0/1 Interface. Related commands - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 12
Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin 14 decimal digits(7 digits for column "Err"). --: not supported. Table 1 Command output Field Interface Total (pkts) Broadcast (pkts) Multicast ( - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 13
command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide command. The default statistics polling interval is five minutes. Related commands decimal digits. --: not supported. Table 2 Command output Field Interface Total ( - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 14
If you do not specify this keyword, this command displays information about interfaces in all states. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 15
late collisions 0 lost carrier, - no carrier Table 3 Command output Field GigabitEthernet1/0/1 current state IP Packet Frame Type Hardware address Description Description Physical state of the Ethernet interface. For more information, see Table 4. Ethernet framing format on the interface. Hardware - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 16
is exceeded, the interface drops multicast packets. Maximum length of Ethernet frames that are allowed to pass through the interface. Port VLAN the interface. Never indicates that the reset counters interface command was never used since the switch was started. Peak value of inbound traffic, in Bps - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 17
interface that permits jumbo frames, giants refer to frames larger than the maximum length of Ethernet frames that are allowed to pass through, which is configured when you configure jumbo frame support on the interface. Number of times that the port shut down due to buffer or CPU overload. Total - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 18
packets that failed to be transmitted, for example, because of Ethernet collisions. Number of frames that the interface deferred to transmit because aggregation group to which it belongs was shut down with the shutdown command. The interface is physically down, because an OAM connection fails to be - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 19
Protocol: (s) - spoofing Interface Link Protocol Main IP NULL0 UP UP(s) -- Vlan1 UP UP 192.168.0.85 Vlan2 DOWN DOWN -- Vlan1010 DOWN DOWN -- Description The brief information of interface(s) under bridge mode: Link: ADM - administratively down; Stby - standby Speed or Duplex: (a)/A - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 20
the network administrator. To recover its physical layer state, perform the undo shutdown command. • Stby-The interface is a standby interface. If the network layer protocol Half negotiation • F-Full negotiation Link type options for Ethernet interfaces. Speed Interface rate, in bps. Duplex Type - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 21
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 22
Any view Default level 1: Monitor level Parameters interface-type: Specifies an interface type. interface-number: Specifies an interface number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 23
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 24
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters broadcast: Displays broadcast storm control settings Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 25
storm control threshold event log switch: • On-The port configured with a 1000-Mbps port speed and fiber ports. Description Use duplex to set the duplex mode for an Ethernet interface. Use undo duplex to restore the default duplex mode of the Ethernet interface. By default, the internal Ethernet - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 26
frames from its peer, and send common pause frames to notify its peer of congestions. By default, generic flow control on an Ethernet interface is disabled. With the flow-control command configured, an interface can both send and receive flow control frames: • When congested, the interface sends - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 27
from its peer. The interface does not send common pause frames when it is congested. By default, Rx flow control is disabled on Ethernet interfaces. With the flow-control receive enable command configured, an interface can receive, but not send flow control frames. When the interface receives a flow - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 28
undo jumboframe enable Ethernet interface view Default level 2: System level Parameters value: Sets the maximum length of Ethernet frames that are allowed to pass through, ranging from 1536 to 9216 bytes. If you set the value argument multiple times, the latest configuration takes effect. 20 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 29
enable to prevent jumbo frames from passing through one or multiple Ethernet interfaces. By default, the switch allows jumbo frames within 9216 bytes to pass through Ethernet interfaces. Examples # Configure the switch to allow jumbo frames within 9216 bytes to pass through GigabitEthernet - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 30
-delay to restore the default. By default, the link down suppression interval on an Ethernet interface is 0 seconds. The link-delay mode up command and the link-delay command supersede each other. The command that is configured last takes effect. Do not configure this command on ports with RRPP - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 31
loopback testing for troubleshooting purposes, such as identifying an Ethernet problem. NOTE: During loopback testing, the speed, duplex, mdi, and shutdown commands are not available. In addition, the port is operating in full duplex mode, regardless of its duplex configuration. After loopback - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 32
View undo loopback-detection control enable Ethernet interface view Default level 2: System level Parameters None Description enabled will the port perform the protective action configured with the loopback-detection action command. This command is not applicable to access ports. Examples - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 33
enable System view, Ethernet interface view Default level 2: System level supports the loopback-detection action command, configure the protective action (shut down the port, for example) to take on the interface when a loop is detected. In addition to the configured protective action, the switch - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 34
interval-time to restore the default loopback detection interval. The default loopback detection interval is 30 seconds. Related commands: display loopback-detection. Examples undo loopback-detection per-vlan enable Ethernet interface view Default level 2: System level Parameters None 26 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 35
port are transmit pins, and pins 3 and 6 are receive pins. Description Use mdi to configure the MDI mode of a copper Ethernet interface. Use undo mdi to restore the default. By default, Ethernet interfaces operate in auto MDI mode. NOTE: This command is not applicable to fiber ports and internal - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 36
multicast suppression threshold on one or multiple Ethernet interfaces. Use undo multicast-suppression to restore the default. By default, Ethernet interfaces do not suppress multicast traffic. When multicast traffic exceeds the threshold you configure, the system discards multicast packets until - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 37
interface-type [ interface-number ] ] User view Default level 2: System level Parameters interface-type: Specifies an interface type. interface-number: Specifies an interface number. Description Use reset counters interface to clear the Ethernet interface statistics. Before collecting traffic - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 38
type, this command clears statistics of dropped packets on all the interfaces on the switch. • If you specify an interface type only, this command clears statistics of shutdown Syntax shutdown View undo shutdown Ethernet interface view Default level 2: System level Parameters None 30 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 39
CAUTION: After you shut down an Ethernet interface with this command, it cannot forward packets, even if it is physically connected. Use shutdown to shut down an Ethernet interface. Use undo shutdown to bring up an Ethernet interface. By default, an Ethernet interface is in up state. Examples - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 40
speed to restore the default. By default, an Ethernet interface automatically negotiates a speed with the peer. The speed command and the speed auto command supersede each other. The command that is configured last takes effect. If you configure speed 100 after configuring speed auto 100 1000 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 41
storm control on an Ethernet port. Use undo storm-constrain to disable storm control. By default, traffic storm control is disabled. To achieve desirable storm protection effect, avoid configuring both the storm-constrain command and any storm suppression command (unicast-suppression, multicast - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 42
command or disable the storm control function. Description Use storm-constrain control to set the protective action to take on an Ethernet default. By default, no action is taken on an Ethernet interface when a type of traffic exceeds the upper storm control threshold. Examples # Configure - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 43
[Sysname-GigabitEthernet1/0/1] undo storm-constrain enable log storm-constrain enable trap Syntax storm-constrain enable trap View undo storm-constrain enable trap Ethernet interface view Default level 2: System level Parameters None Description Use storm-constrain enable trap to enable an - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 44
seconds. For network stability, use the default or a higher polling interval. NOTE: The interval set by the storm-constrain interval command is specific to storm control. To set pps max-pps | kbps max-kbps } View undo unicast-suppression Ethernet interface view Default level 2: System level 36 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 45
suppression threshold on one or multiple Ethernet interfaces. Use undo unicast-suppression to restore the default. By default, Ethernet interfaces do not suppress unknown unicast traffic. When unknown unicast traffic exceeds the threshold you configure, the system discards unknown unicast packets - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 46
16 ft). If a test item is not available, a hyphen (-) is displayed. NOTE: Fiber ports and internal Ethernet ports do not support this command. Examples # Test the cable connection of GigabitEthernet 1/0/1. system-view [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 47
settings. If your restoration attempt still fails, follow the error message to resolve the problem. CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this command when you perform it on a live network. Examples # Restore the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 48
undo description to restore the default. By default, the description of a loopback ) and log in to the device through supported remote login software. Each non-English Unicode into two parts and create garbled characters. Related commands: display interface. Examples # Set the description for - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 49
If you do not specify this keyword, this command displays information about interfaces in all states. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 50
interface have never been cleared by using the reset counters interface command since device startup, this field displays Never. Average input rate during the last 300 seconds (displayed when the interface supports traffic accounting), where the following conditions apply: • packets/sec indicates - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 51
command. NOTE: The switch does not support expression ] Any view Default level 1: Monitor command displays information about interfaces in all states. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 52
. Because Null 0 interface is the only null interface on a device, this command displays information about Null 0 interface, even if you do not specify the 0 For the output description, seeTable 11. NOTE: The switch does not support collecting statistics about average input or output rate of - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 53
to remove a loopback interface. Related commands: display interface loopback. Examples # Create interface loopback 0. system-view [Sysname] interface loopback 0 [Sysname-LoopBack0] interface null Syntax View interface null 0 System view Default level 2: System level Parameters - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 54
User view Default level 2: System level Parameters interface-number: Number of the loopback interface, which can be the number of any existing loopback interface. With this argument, the command loopback keyword, this command clears the statistics on this command clears ] User view Default level - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 55
Clear statistics on interface Null 0. reset counters interface null 0 shutdown Syntax shutdown View undo shutdown Loopback interface view Default level 2: System level Parameters None Description Use shutdown to shut down the loopback interface. Use undo shutdown to bring up the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 56
interface configuration commands interface range Syntax View interface range interface-list System view Default level commands supported by the first interface in the interface range, enter the interface range view and enter ? at the command line interface prompt. To verify the configuration - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 57
range name name System view Default level 2: System level Parameters configuration | include interface range command to view the member interfaces of an interface range. In interface range view, only the commands supported by the first interface are available. To view the commands supported - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 58
# Enter the view of interface range named myEthPort. system-view [Sysname] interface range name myEthPort [Sysname-if-range-myEthPort] 50 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 59
-type interface-number specifies an interface by its type and number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 60
address entries and static multicast MAC address entries. If you execute this command using only the vlan keyword or the count keyword, or only entry manually configured by the user. For more information about static multicast MAC address entries, see IP Multicast Configuration Guide. Number - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 61
Default level 1: Monitor level Parameters interface-type interface-number: Specifies an interface by its type and number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide Layer 2 Ethernet ports. 53 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 62
{ begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 63
0 Total Multicast Table 14 Command output Field MAC TYPE LEARNED USER-DEFINED SYSTEM-DEFINED IN-USE of a specific type Maximum number of MAC addresses supported by the system mac-address (interface view) Syntax id Layer 2 Ethernet interface view, Layer 2 aggregate interface view Default level 2: - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 64
default, no MAC address entry is configured on an interface. The MAC address entries configuration cannot survive a reboot unless you save it. The dynamic MAC address table entries, however, are lost at next reboot whether or not you save the configuration. Related commands the Ethernet interface - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 65
are lost at next reboot regardless of whether or not you save the configuration. Related commands: display mac-address. Examples # Add a static entry for MAC address System view, Layer 2 Ethernet interface view, VLAN view, Layer 2 aggregate interface view Default level 2: System level Parameters - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 66
MAC address learning on a port. Related commands: display mac-address mac-learning. NOTE: undo mac-address max-mac-count Layer 2 Ethernet interface view Default level 2: System level Parameters count: Specifies the configure the maximum number of MAC addresses that can be learned on a port. - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 67
the default maximum number of MAC addresses that can be learned on an Ethernet port. By default, no MAC learning limit is configured. Related commands: entries and unnecessary broadcasts that may affect the performance of the switch. Examples # Set the aging timer for dynamic MAC address entries - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 68
undo mac-address information enable to restore the default. By default, MAC Information is disabled on a Layer 2 Ethernet interface. This command is not supported on aggregate interfaces. To enable MAC Information on an Ethernet interface, enable MAC Information globally. Examples # Enable MAC - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 69
-address information interval to set the interval for sending Syslog or trap messages. Use undo mac-address information interval to restore the default. By default, the interval for sending Syslog or trap messages is 1 second. Examples # Set the interval for sending Syslog or trap messages to 200 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 70
of MAC address changes. Use undo mac-address information mode to restore the default. By default, trap messages are sent to inform the remote network management device of MAC address changes. Examples # Configure the device to send trap messages to inform the remote network management device of - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 71
Ethernet link aggregation configuration commands default Syntax View default Layer 2 aggregate interface view Default level 2: System level Parameters None Description Use default to restore the default settings for an aggregate interface. CAUTION: The default command might interrupt - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 72
If you do not specify this keyword, this command displays information about interfaces in all states. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 73
-sensitive string of 1 to 256 characters. Description Use display interface to display aggregate interface information. If bridge-aggregation is not specified, this command displays information about all interfaces. If bridge-aggregation is specified without any interface number specified, this - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 74
Ethernet interface is both administratively and physically up. The interface speed and duplex mode are unknown. PVID Port default VLAN ID (PVID). Last clearing of counters Time when the reset counters interface command displays Disabled. For an interface configured with an IP address, this field - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 75
Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 76
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: group corresponding to the aggregate interface Bridge-Aggregation 10. Default link-aggregation load sharing criteria for Layer 3 traffic. - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 77
| { begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters interface-list: Specifies a list of link Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 78
: 0 Flag: {EF} Received LACP Packets: 0 packet(s) Illegal: 0 packet(s) Sent LACP Packets: 0 packet(s) Table 18 Command output Field Flags Aggregation Interface Local are distributed. • G-The sending system receives frames in the default state. • H-The sending system receives frames in the expired - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 79
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 80
Local system ID, which comprises the system LACP priority and the system MAC address. Type regular-expression ] Any view Default level 1: Monitor level Parameters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 81
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 Aggregation Interface: Bridge-Aggregation1 Aggregation Mode: Dynamic Loadsharing Type: Shar System ID - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 82
Command output Field Loadsharing Type Port Status Flags Aggregation Interface Aggregation Mode System ID Local Port Status Priority Oper-Key Flag Remote Actor Partner Description Load sharing type: • Shar-Load sharing. • NonS-Non-load sharing. Port state: Selected or Unselected. LACP default state - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 83
disable linkUp/linkDown trap generation for the aggregate interface. By default, linkUp/linkDown trap generation is enabled for an aggregate interface. ] * ] command. For more information about the snmp-agent trap enable command, see Network Management and Monitoring Command Reference. Examples # - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 84
View undo lacp period Ethernet interface view Default level 2: System level Parameters None Description Use lacp period short to set the LACP timeout interval on a port to the short timeout interval (1 second). Use undo lacp period to restore the default setting. The default LACP timeout - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 85
packets always use the default load sharing criteria. 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 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 86
Layer 2 aggregate interface view, the switch supports the following load sharing criteria and combinations address and source MAC address Examples # Configure the destination MAC address as the global mode local-first View System view Default level 2: System level Parameters None Description - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 87
interface view Default level 2: System level Parameters None Description Use the link-aggregation mode dynamic command to configure an priority port-priority View undo link-aggregation port-priority Ethernet interface view Default level 2: System level Parameters port-priority: Specifies - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 88
-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. By default, the minimum number of Selected ports in an aggregation group is not specified. Executing this command may cause all - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 89
Ethernet interface from the aggregation group to which it belongs. An Ethernet interface can belong to only one aggregation group. Examples # Assign Layer 2 Ethernet ] ] View User view Default level 2: System keywords or argument is specified, the command clears the statistics of all interfaces in - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 90
2 aggregate interface Bridge-Aggregation 1. reset counters interface bridge-aggregation 1 reset lacp statistics Syntax View reset lacp statistics [ interface interface-list ] User view Default level 1: Monitor level Parameters interface-list: Specifies a list of link aggregation - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 91
By default, aggregate interfaces are up. Examples # Shut down Layer 2 aggregate interface Bridge-Aggregation 1. system-view [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] shutdown 83 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 92
Group ID: 1 Group members: GigabitEthernet1/0/2 Table 21 Command output Field Port-isolate group information Uplink port support Group ID Group members Description Display port isolation group information. The switch series does not support configuring an uplink port in the port isolation group - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 93
member ports to the isolation group. For more information about Layer 2 aggregate interfaces, see Layer 2-LAN Switching Configuration Guide. NOTE: You cannot assign the member ports of a service loopback group to an isolation group, and vice versa. Examples # Assign ports GigabitEthernet 1/0/1 and - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 94
[Sysname-GigabitEthernet1/0/2] quit [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] port-isolate enable 86 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 95
Spanning tree configuration commands active region-configuration Syntax View active region-configuration MST region view Default level 2: System level Parameters None Description Use active region-configuration to activate your MST region configuration. When you configure MST region-related - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 96
with the same format selector (0 by default, not configurable), MST region name, MST region revision level, and the same VLAN-to-instance mapping entries in the MST region, and if they are connected via a physical link. HP recommends that you use this command to determine whether the MST region - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 97
Default level 1: Monitor level Parameters instance instance-id: Displays the status switches. brief: Displays brief spanning tree status and statistics. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 98
NONE 0 GigabitEthernet1/0/4 DESI FORWARDING NONE Table 23 Command output Field MSTID Port Role STP State Protection Description receive and send BPDUs, and also forward user traffic. • DISCARDING-The port can receive and send BPDUs, but cannot forward user traffic. • LEARNING-The port is in - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 99
Digest-Snooping TC or TCN received Time since last TC :disabled :2 :0 days 0h:5m:42s ----[Port1(GigabitEthernet1/0/1)][FORWARDING]---- Port Protocol :enabled Port Role :CIST Designated Port Port Priority :128 Port Cost(Legacy) :Config=auto / Active=200 Desg. Bridge/Port :32768.000f-e200- - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 100
Table 24 Command output Field CIST Bridge Bridge ID Bridge Times CIST Root/ parentheses indicates the standard (legacy, dot1d-1998, or dot1t) used for port path cost calculation. • Config-Configured value. • Active-Actual value. Designated bridge ID and port ID of the port. The port ID displayed is - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 101
guard and root guard. • None-No protection. Format of the MST BPDUs that the port can send, which can be legacy or 802.1s. • Config-Configured value. • Active-Actual value. Status of Digest Snooping on the port. The port rapidly transitions to the forwarding state or not in the MSTI. Number - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 102
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 103
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters interface interface-type interface-number: |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 104
• If you specify a port, this command displays the BPDU statistics on the port. Examples # In MSTP mode, display the BPDU statistics of all MSTIs on GigabitEthernet 1/0/1. display stp bpdu-statistics - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 105
sent 0 TC received 0 Table 26 Command output Field Port Instance-independent Type Looped received. TCA BPDUs sent. TCA BPDUs received. Configuration BPDUs sent. Configuration BPDUs received. RSTP BPDUs sent. RSTP BPDUs received regular-expression ] Any view Default level 1: Monitor level 97 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 106
command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide } regular-expression ] Any view Default level 0: Visit level Parameters instance information on the specified IRF member switch. slot-number represents the number - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 107
Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin MSTP mode, display the historical port role calculation information of IRF member switch 1 in MSTI 2. display stp instance 2 history slot - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 108
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 109
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 110
begin | exclude | include } regular-expression ] Any view Default level 0: Visit level Parameters instance instance-id: Displays the switches. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 111
will be automatically removed. After configuring this command, run the active region-configuration command to activate the VLAN-to-instance mapping. Related commands: display stp region-configuration, check region-configuration, and active region-configuration. Examples # Map VLAN 2 to MSTI - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 112
After configuring this command, run the active region-configuration command to activate the configured MST region name. Related commands: instance region-configuration [Sysname-mst-region] region-name hello reset stp Syntax View reset stp [ interface interface-list ] User view Default level - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 113
Use revision-level to configure the MSTP revision level. Use undo revision-level to restore the default MSTP revision level. By default, the MSTP revision After configuring this command, run the active region-configuration command to activate the configured MST region level. Related commands: - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 114
network diameter, the maximum possible number of stations between any two terminal devices on the switched network. Use undo stp bridge-diameter to restore the default. By default, the network diameter of the switched network is 7. An appropriate setting of hello time, forward delay, and max age can - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 115
of the switched network to 5. system-view [Sysname] stp bridge-diameter 5 stp compliance Syntax stp compliance { auto | dot1s | legacy } View undo stp compliance Ethernet interface view, Layer 2 aggregate interface view Default level 2: System level Parameters auto: Configures the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 116
default. Configured in system view, the setting takes effect globally. Configured in Ethernet interface view, the setting takes effect on the interface only. Configured all associated ports before you enable it globally. Related commands: display stp. Examples # Enable Digest Snooping on - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 117
default. By default, the device automatically calculates the path costs of ports in each spanning tree based on the corresponding standard. Configured in Ethernet the role of the port and initiate a state transition. Related commands: display stp and stp pathcost-standard. Examples # In MSTP mode - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 118
default. By default, all ports are non-edge ports. Configured in Ethernet interface view, the setting takes effect only on the interface. Configured in configuring it as an edge port. HP recommends you to configure ports directly connecting to user terminals as edge ports. Typically, configuration - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 119
default, the spanning tree feature is disabled globally and enabled on all ports. Configured in system view, the setting takes effect globally. Configured in Ethernet on received configuration BPDUs. When you disable MSTP, the switch stops maintaining the spanning tree status. Related commands: stp - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 120
default. By default, the loop guard function is disabled. Configured in Ethernet interface view, the setting takes effect only on the interface. Configured stp max-hops to restore the default. By default, the maximum number of hops of an MST region is 20. Related commands: display stp. Examples # - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 121
Ethernet interface view, Layer 2 aggregate interface view Default in the STP mode until the STP switch is shut down or removed, or migrated command is effective only when the device operates in MSTP or RSTP mode. Configured in system view, the setting takes effect globally. Configured in Ethernet - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 122
restore the default. By default, a spanning tree device operates in MSTP mode. Related commands: stp mcheck and stp enable. Examples # Configure the default, No Agreement Check is disabled. Configured in Ethernet interface view, the setting takes effect only on the interface. Configured in - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 123
. By default, the switch calculates the default path cost for ports based on a private standard. If you change the standard that the device uses in calculating the default path costs, you restore the path costs to the default. Related commands: stp cost and display stp. Examples # Configure the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 124
HP recommends that you use the default setting, which lets the device automatically detect the port link type. The stp point-to-point force-false or stp point-to-point force-true command configured id ] port priority Ethernet interface view, Layer 2 aggregate interface view Default level 2: System - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 125
the default. By default, the port priority is 128. Configured in Ethernet interface view, the setting takes effect only on the interface. Configured in the port index. The smaller the index, the higher the priority. Related commands: display stp. Examples # In MSTP mode, set the priority of port - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 126
priority to set the priority of the device. Use undo stp priority to restore the default priority. By default, the device priority is 32768. To set the priority of an MSTP device in a specific MSTI, use this command with the MSTI specified. To set the priority of an MSTP device in the CIST - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 127
stp root primary Syntax stp [ instance instance-id ] root primary View undo stp [ instance instance-id ] root System view Default level 2: System level Parameters instance instance-id: Configures the device as the root bridge in a particular MSTI. The value of instance-id ranges from 0 to 32 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 128
Description Use stp root primary to configure the device as the root bridge. Use undo stp root to restore the default. By default, a device is not a root bridge. To set an MSTP device as the root bridge in a specific MSTI, use this command with the MSTI specified. To set an MSTP device in the CIST - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 129
default. By default, the root guard function is disabled. Configured in Ethernet interface view, the setting takes effect only on the interface. Configured aggregation group. You cannot configure root guard and loop guard on a port at the same time. Related commands: stp loop-protection. - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 130
period of time (10 seconds). Use undo stp tc-protection threshold to restore the default. By default, the device can perform a maximum of six forwarding address entry flushes every 10 seconds. Examples # Configure the device to perform up to 10 forwarding address entry flushes every 10 seconds - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 131
2-LAN Switching Configuration Guide. Related commands: stp to restore the default. By default, the forward delay HP does not recommend that you set the forward delay with this command. Instead, you can specify the network diameter of the switched network by using the stp bridge-diameter command - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 132
fails to receive configuration BPDUs within the set period of time, a new spanning tree calculation process will be triggered due to timeout. HP does not recommend that you set the hello time with this command. Instead, you can specify the network diameter of the switched network by using the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 133
timeout factor, in the range of 1 to 20. Description Use stp timer-factor to configure the timeout time by setting the timeout factor. Timeout time = timeout factor × 3 × hello time. Use undo stp timer-factor to restore the default. By default, the timeout factor of the switch is set to 3. 125 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 134
saving the network resources. HP recommends you to set the timeout factor to 5, 6, or 7 for a stable network. Related commands: stp timer hello. default. By default, the maximum transmission rate of all ports is 10. Each port can send up to 10 BPDUs within each hello time. Configured in Ethernet - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 135
modulo value, quickly creating a VLAN-to-instance mapping table. By default, all VLANs are mapped to the CIST (MSTI 0). You cannot map on. Related commands: region-name, revision-level, display stp region-configuration, check region-configuration, and active region-configuration. Examples # Map - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 136
BPDU tunneling configuration commands bpdu-tunnel dot1q Syntax In Layer 2 Ethernet interface view: bpdu-tunnel dot1q { cdp | dldp | eoam | gvrp | hgmp | lacp | lldp | pagp | pvst | stp | udld | vtp } undo bpdu-tunnel dot1q { cdp | dldp | eoam | gvrp | hgmp | lacp | lldp | pagp | pvst | stp | - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 137
member port of a service loopback group. Before enabling on the port. Do not enable BPDU tunneling for DLDP, EOAM, LACP, LLDP, PAGP, or UDLD on the member port of a configure the destination multicast MAC address for BPDUs. Use undo bpdu-tunnel tunnel-dmac to restore the default value. By default - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 138
VLAN configuration commands Basic VLAN configuration commands default Syntax View default VLAN interface view Default level 2: System level Parameters None Description CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 139
login software that supports the character type. default description for a VLAN interface is the name of the interface. For example, Vlan-interface 1 Interface. You can configure a description to describe the function or connection of a VLAN or VLAN interface for easy management. Related commands - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 140
include } regular-expression ] Any view Default level 1: Monitor level Parameters vlan- command displays information about interfaces in all states. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 141
interface is down, because it has been shut down with the shutdown command. • DOWN-The administrative sate of the VLAN interface is up, but of processing IP packets. This information is displayed when the interface is not configured with an IP address. The primary IP address of the interface is 192 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 142
: Link • UP-The link is up. • ADM-The link has been administratively shut down. To recover its physical state, perform the undo shutdown command. Protocol Protocol connection state of the interface, which can be UP, DOWN, or UP(s). Main IP Main IP address of the interface. Description - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 143
Default level 1: Monitor level Parameters vlan-id1: Displays information about a VLAN specified static VLANs are manually created. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 144
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 of the primary IP address (available - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 145
To configure an IP address for a VLAN interface that will perform IP routing, use the ip address command in VLAN interface view. Related commands: address to remove the IP address and subnet mask for a VLAN interface. By default, no IP address is assigned to any VLAN interface. To connect a VLAN to - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 146
mask | mask-length } [ sub ] ] command Related commands: display ip interface (Layer 3-IP Services Command Reference). Examples # Specify the IP address as .0 mtu Syntax mtu size View undo mtu VLAN interface view Default level 2: System level Parameters size: Sets the maximum transmission - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 147
. Related commands: display vlan. Examples # Configure the name of VLAN 2 as Test VLAN. system-view [Sysname] vlan 2 [Sysname-vlan2] name Test VLAN reset counters interface vlan-interface Syntax View reset counters interface vlan-interface [ vlan-interface-id ] User view Default level - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 148
By default, a VLAN interface is not manually shut down configured related parameters and protocols for the VLAN interface. You can shut down a failed interface with the shutdown command and then bring it up with the undo shutdown command to see if it recovers. In a VLAN, the state of any Ethernet - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 149
reserved VLANs. The keyword is not supported when the maximum number of VLANs default VLAN (VLAN 1). You cannot create or remove reserved VLANs reserved for specific functions. For the following VLANs, you must remove the related configurations first, because you cannot use the undo vlan command - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 150
-expression ] Any view Default level 1: Monitor level Parameters hybrid: Displays hybrid ports. trunk: Displays trunk ports. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 151
undo port to remove the specified access ports from the VLAN. By default, all ports are in VLAN 1. This command is applicable only on access ports. By default, all ports are access ports. However, you can manually configure the port type. For more information, see "port link-type." You cannot - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 152
the specified VLAN. Use undo port access vlan to restore the default. By default, all access ports belong to VLAN 1. The configuration made in Layer 2 Ethernet interface view, applies only to the port. The configuration made in Layer 2 aggregate interface view applies to the aggregate interface - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 153
default. By default, the PVID of a hybrid port is VLAN 1. You can use a nonexistent VLAN as the PVID for a hybrid port. If you use the undo vlan command to remove the PVID of a hybrid port, it does not affect the setting of the PVID on the port. The configuration made in Layer 2 Ethernet interface - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 154
2 Ethernet interface view, Layer 2 aggregate interface view Default level command multiple times, the VLANs the hybrid port carries are the set of VLANs specified by vlan-list in each execution. The configuration made in Layer 2 Ethernet interface view applies only to the port. The configuration - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 155
on the interface with the loopback-detection action command automatically restores the default. For more information about the loopback detection action configuration, see Layer 2-LAN Switching Configuration Guide. Examples # Configure GigabitEthernet 1/0/1 as a trunk port. system-view - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 156
from the specified VLANs. By default, a trunk port allows only packets configuration error message when using this command, use the display this command to view the execution result. On a trunk port, only traffic of the PVID can pass through untagged. The configuration made in Layer 2 Ethernet - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 157
the default. By default, the PVID of a trunk port is VLAN 1. You can use a nonexistent VLAN as the PVID for a trunk port. If you use the undo vlan command to remove the PVID of a hybrid port, it does not affect the setting of the PVID on the port. The configuration made in Layer 2 Ethernet - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 158
] Any view Default level 1: Monitor level Parameters all: Displays all the MAC address-to-VLAN entries. dynamic: Displays dynamically configured MAC address-to- command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 159
FFFF-FFFF-FFFF 5 3 S&D Total MAC VLAN address count:2 Table 35 Command output Field S: Static D: Dynamic MAC ADDR MASK VLAN ID PRIO STATE Description The character S stands for the MAC address-to-VLAN entries that are configured statically. The character D stands for the MAC address-to-VLAN - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 160
Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: enable View undo mac-vlan enable Layer 2 Ethernet port view Default level 2: System level Parameters None Description Use mac - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 161
and the low-order part (all the binary bits of which are 0s). By default, the hexadecimal digits of this argument are all Fs. vlan vlan-id: Specifies exist in a device. One table contains the MAC address-to-VLAN entries configured with the mask keyword specified. A MAC address-to-VLAN entry of this - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 162
View undo mac-vlan trigger enable Layer 2 Ethernet port view Default level 2: System level Parameters None Description Use mac-vlan trigger enable to enable dynamic MAC-based VLAN assignment. The port configured with this command will be dynamically assigned to VLANs based on the source MAC - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 163
| ip-subnet-vlan } View undo vlan precedence Layer 2 Ethernet port view Default level 2: System level Parameters mac-vlan: Matches VLANs based on IP subnet-based VLANs) are matched as configured by the vlan precedence command. Examples # Configure matching VLANs based on single MAC addresses - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 164
. all: Displays information about protocol-based VLANs on all ports. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 165
} [ | { begin | exclude | include } regular-expression ] Any view Default level 2: System level Parameters vlan-id1: Specifies a protocol-based VLAN ID, in the command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 166
by the users or assigned by the system automatically when the protocol-based VLAN is created. You can use the display protocol-vlan vlan all command to remove the association. The configuration made in Layer 2 Ethernet interface view applies only to the port. The configuration made in Layer 2 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 167
Done Configuring GigabitEthernet1/0/1... Done. Configuring GigabitEthernet1/0/2... Done. Configuring GigabitEthernet1/0/3... protocol-vlan { protocol-index [ to protocol-end ] | all } VLAN view Default level 2: System level Parameters at: Specifies the AppleTalk based VLAN. ipv4: Specifies the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 168
the configured protocol template. By default, no VLAN is bound to any protocol template. When you use the mode keyword to configure a user-defined commands: display protocol-vlan vlan. Examples CAUTION: IP uses ARP for address resolution in Ethernet. To prevent communication failure, configure the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 169
-based VLAN configuration commands display ip-subnet-vlan interface Syntax View display ip-subnet-vlan interface { interface-list | all } [ | { begin | exclude | include } regular-expression ] Any view Default level 2: System level Parameters interface-list: Specifies an Ethernet port list - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 170
| all } [ | { begin | exclude | include } regular-expression ] Any view Default level 2: System level Parameters vlan-id1: Specifies a VLAN ID, in the range of 1 command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 171
Default level 2: System level Parameters ip-subnet-index: Specifies a beginning IP subnet index, in the range of 0 to 11. The value can be configured by users, network segment or a multicast address. Related commands: display ip-subnet-vlan vlan. Examples # Configure VLAN 3 as an IP subnet-based - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 172
-id | all } Layer 2 Ethernet interface view, Layer 2 aggregate interface view Default level 2: System level Parameters vlan vlan configuration to an aggregation member port, it skips the port and moves to the next member port. Only hybrid ports support this feature. Before you use this command - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 173
port link-type hybrid [Sysname-Bridge-Aggregation1] port hybrid vlan 3 untagged Please wait... Done Configuring GigabitEthernet1/0/1... Done. Configuring GigabitEthernet1/0/2... Done. Configuring GigabitEthernet1/0/3... Done. [Sysname-Bridge-Aggregation1] port hybrid ip-subnet-vlan vlan 3 The output - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 174
] Any view Default level 1: Monitor level Parameters isolate-user-vlan-id: Specifies an isolate-user-VLAN ID, in the range of 1 to 4094. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 175
VLAN ID: 4 VLAN Type: static Isolate-user-VLAN type : secondary Route Interface: not configured Description: VLAN 0004 Name: VLAN 0004 Tagged Ports: none Untagged Ports: GigabitEthernet1/0/2 GigabitEthernet1/0/4 Table 40 Command output Field Isolate-user-VLAN VLAN ID Secondary VLAN ID - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 176
the association between the specified isolate-user-VLAN and the specified secondary VLANs. Do not configure the default VLAN (VLAN 1) as a secondary VLAN or isolate-user-VLAN. Related commands: display isolate-user-vlan. Examples # Associate isolate-user-VLAN 2 with secondary VLANs VLAN 3 and - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 177
including the one connected to the upstream device. Do not configure the default VLAN (VLAN 1) as a secondary VLAN or isolate-user-VLAN. Related commands: display isolate-user-vlan. Examples # Configure VLAN 5 as an isolate-user-VLAN. system-view [Sysname] vlan 5 [Sysname-vlan5] isolate - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 178
VLANs associated with it. If you specify a non-isolate-user-VLAN in the command, the switch assigns the target port only to the specified VLAN. However, when the isolate-user-VLAN setting is configured for that VLAN, the switch immediately assigns the port to all secondary VLANs associated with the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 179
GigabitEthernet 1/0/1 to VLAN 10, which is not an isolate-user-VLAN, configure the port to operate in promiscuous mode in VLAN 10, and then cancel the # return port isolate-user-vlan host Syntax port isolate-user-vlan host View undo port isolate-user-vlan Layer 2 Ethernet interface view, Layer - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 180
Use port isolate-user-vlan host to configure a port to operate in host mode. Use undo port isolate-user-vlan to restore the default. By default, a port does not operate in promiscuous mode or host mode. If the port has been assigned to a secondary VLAN, the switch automatically assigns the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 181
port hybrid pvid vlan 20 # return 173 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 182
Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide -address command. Related commands: voice vlan mac-address. Examples # Display the supported OUI addresses - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 183
{ begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 184
manual or automatic. Class of Service. Differentiated Services Codepoint Priority. voice vlan aging Syntax voice vlan aging minutes View undo voice vlan aging System view Default VLAN assignment mode. Related commands: display voice vlan state. Examples # Configure the voice VLAN aging time - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 185
4096. Description Use voice vlan enable to enable the voice VLAN feature and configure a VLAN as the voice VLAN for the Ethernet port. Use undo voice vlan enable to disable the voice VLAN feature on an Ethernet port. By default, the voice VLAN feature is disabled on ports. Enable the voice VLAN - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 186
through. Use display voice vlan oui to display the OUI addresses supported. By default, the system is configured with the default OUI addresses. You can remove the default OUI addresses and then add recognizable OUI addresses manually. The Switch Series supports up to 16 OUI addresses. Table 43 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 187
mode auto to configure the port to operate in manual voice VLAN assignment mode. By default, a port operates configuration order is reversed, the priority settings will fail. The voice vlan qos command and the voice vlan qos trust command can overwrite each other. When you execute the two commands - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 188
View undo voice vlan qos Layer 2 Ethernet interface view Default level 2: System level Parameters None Description Use voice vlan qos trust to configure the interface to trust the priority settings carried in incoming voice traffic. With this command configured, an interface keeps the CoS and - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 189
undo voice vlan security enable to disable the voice VLAN security mode. By default, the voice VLAN security mode is enabled. When you enable the security matches the source MAC addresses of the packets against the supported OUI addresses to determine whether they are voice traffic and filters - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 190
be greater than the start port number specified by interface-number1. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 191
{ begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters interface interface-list: Displays the GARP timer command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 192
] Any view Default level 0: Visit level Parameters interface interface-type interface-number: Specifies an interface by its type and number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 193
number. vlan vlan-id: Specifies a VLAN ID, ranging from 1 to 4094. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 194
be greater than the start-port number specified by interface-number1 |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 195
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 196
] Any view Default level 0: Visit level Parameters interface interface-type interface-number: Specifies an interface by its type and number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 197
Hold timer for an Ethernet port or Layer-2 aggregate interface. Use undo garp timer hold to restore the default of the GARP Hold timer. This may fail if the default is beyond the valid value range for the Hold timer. By default, the Hold timer is 10 centiseconds. Related commands: display garp timer - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 198
for an Ethernet port or Layer-2 aggregate interface. Use undo garp timer leave to restore the default of the GARP Leave timer. This may fail if the default is beyond the valid value range for the Leave timer. By default, the Leave timer is set to 60 centiseconds. Related commands: display garp - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 199
stable, do not set the LeaveAll timer smaller than its default value. Related commands: display garp timer and garp timer leave. Examples # Set gvrp View undo gvrp System view, Ethernet interface view, Layer-2 aggregate interface view Default level 2: System level Parameters None Description - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 200
to configure the GVRP registration mode. Use undo gvrp registration to restore the default. The default GVRP registration mode is normal. Settings in system view take effect globally; settings in Ethernet view or Layer 2 aggregate interface take effect on the current interface. This command is - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 201
by interface-number1. Description Use reset garp statistics to clear the GARP statistics on the specified ports. If no ports are specified, this command clears the GARP statistics on all ports. The cleared statistics include the statistics about GVRP PDUs sent, received, and dropped. Related - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 202
achieved through QoS policies. For more information about QoS policy configuration commands, see ACL and QoS Command Reference. nest Syntax nest top-most vlan-id vlan-id View undo nest top-most Traffic behavior view Default level 2: System level Parameters vlan-id vlan-id: Specifies a VLAN - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 203
to disable basic QinQ on the Ethernet ports. By default, basic QinQ is disabled on Ethernet ports. A basic QinQ-enabled port tags received frames with its PVID tag. Configured in Layer 2 Ethernet interface view, the command takes effect on the port only. Configured in Layer 2 aggregate interface - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 204
switch judges whether a frame is VLAN tagged based on the CVLAN TPID value globally configured. Examples # Set the TPID value in the CVLAN tags to 0x8200 globally. system-view [Sysname] qinq ethernet-type customer-tag 8200 qinq ethernet-type service-tag Syntax qinq ethernet-type service - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 205
default setting. By default, the TPID value in SVLAN tags is 0x8100. On a port with basic QinQ not enabled, the switch judges whether a frame is VLAN tagged based on the SVLAN TPID value on the port. Configured in Ethernet interface view, this command /0/1] qinq ethernet-type service-tag 9100 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 206
system-view [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] port link-type trunk [Sysname-GigabitEthernet1/0/1] port trunk permit vlan 2 3 50 to 100 [Sysname-GigabitEthernet1/0/1] qinq enable [Sysname-GigabitEthernet1/0/1] qinq transparent-vlan 2 3 50 to 100 198 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 207
VLAN mapping is achieved through QoS policies. For QoS policy configuration commands, see ACL and QoS Command Reference. nest Syntax nest top-most vlan-id vlan-id View undo nest top-most Traffic behavior view Default level 2: System level Parameters vlan-id vlan-id: Specifies a VLAN tag - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 208
to add an SVLAN marking action to a traffic behavior. Use undo remark service-vlan-id to remove the action from the traffic behavior. The remark service-vlan-id action cannot be applied to a VLAN or applied globally. Examples # Configure traffic behavior b1 to mark matching packets with SVLAN 222 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 209
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays System description : Comware Platform Software System capabilities supported : Bridge,Router System capabilities enabled : Bridge, - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 210
Alpha 2101 SerialNum : NONE Manufacturer name : HP Model name : HP Comware Asset tracking identifier : Unknown LLDP local- 0001 Auto-negotiation supported : Yes Auto-negotiation enabled : Yes OperMau : speed(1000)/duplex(Full) PoE supported: No Link aggregation supported : Yes Link - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 211
Table 47 Command output Field Description Global LLDP local-information Global LLDP information to be sent. Chassis ID Bridge MAC address of the device. System capabilities supported Supported capabilities: • Bridge-Switching is supported. • Router-Routing is supported. System capabilities - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 212
of the port. Indicates whether or not PoE is supported on the port. Indicates whether or not link aggregation is supported. Indicates whether or not link aggregation is enabled. name system-name ] ] [ | { begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level 204 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 213
list. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays System name : HP System description : HP Comware Platform Software System capabilities supported : Repeater,Bridge,Router - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 214
Port power classification : Class 0 Link aggregation supported : Yes Link aggregation enabled : No Aggregation port GigabitEthernet1/0/7 Table 48 Command output Field LLDP neighbor ) • Interface name • Locally assigned-Local configuration Chassis ID of the LLDP neighboring device, whose value - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 215
device. System description of the LLDP neighboring device. Capabilities supported on the LLDP neighboring device: • Repeater-Signal repeating is supported. • Bridge-Switching is supported. • Router-Routing is supported. Capabilities enabled on the LLDP neighboring device: • Repeater-Signal - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 216
power classification of the PD of the LLDP neighboring device: • Class 0 • Class 1 • Class 2 • Class 3 • Class 4 Indicates whether or not link aggregation is supported on the port that connects the LLDP neighboring device to the local device. Indicates whether or not link aggregation is enabled on - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 217
Field Description PoE PSE power source Power source type of an LLDP neighboring device which is a PSE device: • Unknown-Unknown power supply • Primary-Primary power supply • Backup-Backup power supply PoE PD power source PD power type of an LLDP neighboring device which is a PD device: • - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 218
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters global: Displays the global LLDP statistics |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 219
] Any view Default level 1: Monitor level Parameters interface interface-type interface-number: Specifies a port by its type and number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 220
: 0 Number of MED neighbors : 0 Number of CDP neighbors : 0 Number of sent optional TLV : 23 Number of received unknown TLV : 0 Table 50 Command output Field Global status of LLDP LLDP neighbor information last changed time Transmit interval Hold multiplier Reinit delay Transmit delay Trap - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 221
] Any view Default level 1: Monitor level Parameters interface interface-type interface-number: Specifies a port by its type and number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 222
Location Identification TLV NO NO Extended Power via MDI TLV YES YES Inventory TLV YES YES Table 51 Command output Field LLDP tlv-config of port 1 NAME STATUS DEFAULT Basic optional TLV IEEE 802.1 extended TLV IEEE 802.3 extended TLV Description Advertisable optional TLVs of port 1. TLV - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 223
revision TLV, firmware revision TLV, software revision TLV, serial number TLV, manufacturer name TLV, model name TLV, and asset id TLV lldp admin-status Syntax lldp admin-status { disable | rx | tx | txrx } View undo lldp admin-status Layer 2 Ethernet interface view Default level 2: System - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 224
Ethernet interface view Default default. By default, CDP-compatible LLDP operates in disable mode. 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. Related commands - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 225
. Related commands: lldp hold-multiplier and lldp timer tx-interval. Examples # Enable LLDP to be compatible with CDP globally. system-view [Sysname] lldp compliance cdp lldp enable Syntax lldp enable View undo lldp enable System view, Layer 2 Ethernet interface view Default level - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 226
undo lldp encapsulation to restore the default encapsulation format for LLDPDUs. By default, the encapsulation format for LLDPDUs is Ethernet II. NOTE: The command does not apply to LLDP-CDP packets, which use only SNAP encapsulation. Examples # Configure the encapsulation format for LLDPDUs as - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 227
number of the LLDPDUs sent each time fast LLDPDU transmission is triggered. Use undo lldp fast-count to restore the default. By default, the number is 3. Examples # Configure the device to send four LLDPDUs each time fast LLDPDU transmission is triggered. system-view [Sysname] lldp fast - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 228
to restore the default. By default, the management address is encapsulated in the form of numbers in TLVs. Examples # Configure GigabitEthernet 1/0/1 to ] View undo lldp management-address-tlv Layer 2 Ethernet interface view Default level 2: System level Parameters ip-address: Specifies a - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 229
the latest one takes effect. If you run the lldp management-address-tlv command without specifying the ip-address argument, the advertised management address is the lldp notification remote-change enable Layer 2 Ethernet interface view Default level 2: System level Parameters None Description - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 230
Description Use lldp timer reinit-delay to set the LLDP re-initialization delay. Use undo lldp timer reinit-delay to restore the default. By default, the LLDP re-initialization delay is 2 seconds. Examples # Set the LLDP re-initialization delay to 4 seconds. system-view [Sysname] lldp - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 231
device uses the LLDPDUs transmit delay as the transmit interval. Related commands: lldp timer tx-interval. Examples # Set the LLDPDU transmit delay LLDPDU transmit interval. Use undo lldp timer tx-interval to restore the default. By default, the LLDPDU transmit interval is 30 seconds. It is a good - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 232
Related commands: lldp timer tx-delay. Examples # Set the LLDPDU transmit interval { all | capability | inventory | location-id | network-policy | power-over-ethernet } } Layer 2 Ethernet interface view Default level 2: System level Parameters all: Advertises all basic LLDP TLVs, IEEE 802.1 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 233
TLVs: hardware revision, firmware revision, software revision, serial -ethernet: Advertises extended power-via-MDI TLVs. Description Use lldp tlv-enable to configure the configuration/status TLVs. To enable the device to advertise multiple types of TLVs, you can execute the lldp tlv-enable command - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 234
-vlan vlan-id View undo lldp voice-vlan Layer 2 Ethernet interface view Default level 2: System level Parameters vlan-id: Specifies a voice VLAN by its ID, which ranges from 1 to 4094. Description Use lldp voice-vlan vlan-id to configure a port to advertise a specific voice VLAN ID to the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 235
group configuration commands display service-loopback group Syntax View display service-loopback group [ number ] [ | { begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters number: ID of the service loopback group to be displayed. If no service - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 236
group: • Tunnel-Supports unicast tunnel traffic Member ports of the service loopback group Port state, which can be selected or unselected port service-loopback group Syntax port service-loopback group number View undo port service-loopback group Layer 2 Ethernet interface view Default level - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 237
has been created for the target service type. Only one service loopback group is allowed for a service type. You cannot remove a service loopback group that is referenced by other features. Examples # Configure service loopback group 5 and specify its service type as Tunnel. system-view - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 238
forwarding configuration commands cut-through enable Syntax cut-through enable View undo cut-through enable System view Default level 2: System level Parameters None Description Use the cut-through enable command to enable cut-through forwarding. Use the undo cut-through enable command to - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 239
HP A-Series Acronyms. Websites • HP.com http://www.hp.com • HP Networking http://www.hp.com/go/networking • HP manuals http://www.hp.com/support/manuals • HP download drivers and software http://www.hp.com/support/downloads • HP software depot http://www.software.hp.com • HP Education http://www.hp - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 240
Command conventions Convention Boldface Italic [ ] { x | y | ... } [ x | y | ... ] { x | y | ... } * [ x | y | ... ] * & # Description Bold text represents commands and menu items are in bold text. For example, the New User window appears; click OK. Multi-level menus are separated by angle - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 241
, 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. Port numbering in examples The port numbers in this document are for - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 242
region-configuration,87 cut-through enable,230 D default,63 default,130 default,2 default,39 subnet-vlan vlan,162 display isolate-user-vlan,166 display lacp system-id,66 display link- interface,156 display protocol-vlan vlan,157 display service-loopback group,227 display storm-constrain,16 display - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 243
,48 interface range name,48 interface vlan-interface,136 ip address,137 ip-subnet-vlan,163 isolate-user-vlan,168 isolate-user-vlan enable,169 J jumboframe enable,20 L lacp period short,76 lacp system-priority,76 link-aggregation load-sharing mode,77 link-aggregation load-sharing mode local-first,78 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 244
-user-vlan promiscuous,169 port link-aggregation group,80 port link-type,147 port pvid disable,154 port service-loopback group,228 port trunk permit vlan,148 port trunk pvid,149 port-isolate enable,85 protocol-vlan,159 Q qinq enable,195 qinq ethernet-type customer-tag,195 qinq ethernet-type service - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 245
voice vlan qos,179 voice vlan qos trust,180 voice vlan security enable,180 W Websites,231 237
HP 6125 Blade Switch Series
Layer 2 - LAN Switching
Command Reference
Part number: 5998-3166
Software version: Release 2103
Document version: 6W100-20120907