HP A3100 v2 Switch Series High Availability Command Reference HP A3100-8 v2 SI Switch (JG221A) HP A3100-16 v2 SI Switch (JG222A) HP A3100-24 v2 SI Switch (JG223A) HP A3100-8 v2 EI Switch (JD318B) HP A3100-16 v2 EI Switch (JD319B) HP A3100-24 v2 EI Switch (JD320B)
Page 2
The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty.
Page 4
39 port monitor-link group ········································································································································· 40 Support and other resources ·····································································································································42 Contacting HP ································································································································································ 42 Subscription service ·············································································································································· 42 Related information························································································································································ 42 Documents ······························································································································································ 42 Websites································································································································································· 42 Conventions ···································································································································································· 43 Index ···········································································································································································45...
Ethernet OAM configuration commands display oam Syntax display oam { local | remote } [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 2: System level Parameters local: Displays the Ethernet OAM connection information of the local end. remote: Displays the Ethernet OAM connection information of the remote end.
Page 6
-------------------------------------------------------------------------- Link Fault Dying Gasp Critical Event Local Evaluating : COMPLETE Remote Evaluating : COMPLETE Packets statistic : Packets Send Receive -------------------------------------------------------------------------- OAMPDU OAMInformation OAMEventNotification OAMUniqueEventNotification OAMDuplicateEventNotification Table 1 Output description Field Description Port Port index Link Status Link status EnableStatus Ethernet OAM state (enabled or disabled) Local Ethernet OAM mode, which can be:...
Page 7
Field Description Critical Event Indicates whether a critical error is present: 0 for no and 1 for yes Indicates whether the local-to-remote configuration negotiation is complete: Local Evaluating • COMPLETE for completed • REVERSED for uncompleted Indicates whether the remote-to-local configuration negotiation is complete: Remote Evaluating •...
Field Description Link Status Link status Information of the latest received Information about the latest received Ethernet OAMPDU OAM packet OAMRemoteMACAddress MAC address of the Ethernet OAM peer OAMRemotePDUConfiguration Maximum Ethernet OAMPDU size allowed OAMRemoteState State of the Ethernet OAM peer Remote_mux_action Peer sending mode.
Page 9
Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
Field Description Errored-frame-period Event period Errored frame period event detection interval, which defaults to 1000 (in ms) milliseconds. Errored-frame-period Event Errored frame period event triggering threshold, which defaults to 1. threshold Errored-frame-seconds Event Errored frame seconds event detection interval, which defaults to 60 period (in seconds) seconds.
Link Status : Up Event statistic : ------------------------------------------------------------------------- Link Fault Dying Gasp Critical Event Table 4 Output description Field Description Port Port index Link Status Link status Event statistic Statistics on critical Ethernet OAM link events Link Fault Indicates whether a link fault is present: 0 for no and 1 for yes Dying Gasp Indicate whether a fatal fault is present: 0 for no and 1 for yes Critical Event...
Page 12
Examples # Display the statistics on Ethernet OAM link error events occurred on all the local ports. <Sysname> display oam link-event local Port : Ethernet1/0/1 Link Status : Up OAMLocalErrFrameEvent : (ms = milliseconds) -------------------------------------------------------------------------- Event Time Stamp : 3539 Errored Frame Window : 10(100ms) Errored Frame Threshold...
Page 13
Field Description Information about local errored frame period events: • Event Time Stamp: time when an errored frame event occurred (in 100 milliseconds). • Errored Frame Window: maximum number of 64-byte frames that can be transmitted through an Ethernet port over the configured error frame period detection interval.
Field Description Information about remote errored frame events. • Event Time Stamp: Time when an errored frame event occurred (in 100 milliseconds). • Errored Frame Window: Error frame detection interval (in 100 milliseconds). • Errored Frame Threshold: Error threshold that triggers an errored frame OAMLocalErrFrameEvent event.
Default level 2: System level Parameters period-value: Errored frame event detection interval, ranging from 1 to 60 (in seconds). Description Use the oam errored-frame period command to set the errored frame event detection interval. Use the undo oam errored-frame period command to restore the default. By default, the errored frame event detection interval is one second.
undo oam errored-frame-period period View System view Default level 2: System level Parameters period-value: Errored frame period event detection interval, ranging from 100 to 60000 (in milliseconds). Description Use the oam errored-frame-period period command to set the errored frame period event detection interval.
By default, the errored frame period event triggering threshold is 1. Related commands: oam errored-frame-period period, display oam link-event, and display oam configuration. Examples # Set the errored frame period event triggering threshold to 100. <Sysname> system-view [Sysname] oam errored-frame-period threshold 100 oam errored-frame-seconds period Syntax oam errored-frame-seconds period period-value...
Parameters threshold-value: Errored frame seconds event triggering threshold, ranging from 0 to 900. Description Use the oam errored-frame-seconds threshold command to set the errored frame seconds event triggering threshold. Use the undo oam errored-frame-seconds threshold command to restore the default. By default, the errored frame seconds event triggering threshold is 1.
undo oam errored-symbol threshold View System view Default level 2: System level Parameters threshold-value: Errored symbol event triggering threshold, ranging from 0 to 4,294,967,295. Description Use the oam errored-symbol threshold command to set the errored symbol event triggering threshold. Use the undo oam errored-symbol threshold command to restore the default. By default, the errored symbol event triggering threshold is 1.
<Sysname> system-view [Sysname] interface Ethernet 1/0/1 [Sysname-Ethernet1/0/1] oam mode active [Sysname-Ethernet1/0/1] oam enable [Sysname-Ethernet1/0/1] oam loopback oam loopback interface Syntax oam loopback interface interface-type interface-number undo oam loopback interface interface-type interface-number View User view, System view Default level 2: System level (command in system view) 1: Monitor level (command in user view) Parameters interface-type interface-number: Specifies an Ethernet port by its type and number.
View Ethernet port view Default level 2: System level Parameters None Description Use the oam loopback reject-request command to configure a port to reject the Ethernet OAM remote loopback request from a remote port. Use the undo loopback reject-request command to restore the default. By default, a port does not reject the Ethernet OAM remote loopback request from a remote port.
After the timeout timer for an Ethernet OAM connection expires, the local OAM entity ages out its connection with the peer OAM entity, causing the OAM connection to be disconnected. HP recommends that you set the connection timeout timer at least five times the handshake packet transmission interval, ensuring the stability of Ethernet OAM connections.
After the timeout timer for an Ethernet OAM connection expires, the local OAM entity ages out its connection with the peer OAM entity, causing the OAM connection to be disconnected. HP recommends that you set the connection timeout timer at least five times the handshake packet transmission interval, ensuring the stability of Ethernet OAM connections.
DLDP configuration commands display dldp Syntax display dldp [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters interface-type interface-number: Port type and port number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
Page 25
Neighbor state : two way Neighbor aged time : 13 Interface GigabitEthernet1/0/26 DLDP port state : advertisement DLDP link state : up The neighbor number of the port is 1. Neighbor mac address : 0000-0000-1100 Neighbor port index : 81 Neighbor state : two way Neighbor aged time : 12 # Display the DLDP configuration of GigabitEthernet 1/0/25.
Field Description Neighbor aged time Neighbor aging time display dldp statistics Syntax display dldp statistics [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters interface-type interface-number: Port type and port number. |: Filters command output by specifying a regular expression.
Authentication failed packets received : 0 Valid packets received : 4 # Display the statistics on the DLDP packets passing through GigabitEthernet 1/0/25. <Sysname> display dldp statistics gigabitethernet 1/0/25 Interface GigabitEthernet1/0/25 Packets sent : 6 Packets received : 5 Invalid packets received : 2 Loop packets received : 0 Authentication failed packets received : 0 Valid packets received : 3...
Use the undo dldp authentication-mode command to restore the default. By default, DLDP authentication is not performed. To enable DLDP to operate properly, make sure the DLDP authentication modes and the passwords configured on the two ends of a link are the same. Examples # Configure to perform plain text authentication and set the password as abc (assuming that Device A and Device B are connected by a DLDP link).
View System view, Layer 2 Ethernet port view, port group view Default level 2: System level Parameters None Description Use the dldp enable command to enable DLDP. Use the undo dldp enable command to disable DLDP. When executed in system view, these two commands take effect globally. When executed in layer 2 Ethernet port view, these two commands take effect on the current port.
Use the undo dldp interval command to restore the default. By default, the interval for sending Advertisement packets is five seconds. These two commands apply to all DLDP-enabled ports. Examples # Set the interval for sending Advertisement packets to 20 seconds. <Sysname>...
dldp unidirectional-shutdown Syntax dldp unidirectional-shutdown { auto | manual } undo dldp unidirectional-shutdown View System view Default level 2: System level Parameters auto: Configures the port shutdown mode as auto mode, where, when a unidirectional link is detected, the port involved is shut down by DLDP. manual: Configures the port shutdown mode as manual mode, where, when a unidirectional link is detected, DLDP generates log and traps to prompt you to shut down the involved port instead of doing so automatically.
Use the undo dldp work-mode command to restore the default DLDP mode. By default, a switch operates in normal DLDP mode. Examples # Configure the switch to operate in enhanced DLDP mode. <Sysname> system-view [Sysname] dldp work-mode enhance reset dldp statistics Syntax reset dldp statistics [ interface-type interface-number ] View...
Smart Link configuration commands(available only on the A3100 V2 EI) display smart-link flush Syntax display smart-link flush [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
display smart-link group Syntax display smart-link group { group-id | all } [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters group-id: Smart link group ID, in the range of 1 to 24. all: Displays information about all smart link groups.
Field Description Protected VLANs of the smart link group. Referenced MSTIs are displayed Protected VLAN here. To view the VLANs mapped to the referenced MSTIs, use the display stp region-configuration command. Member Member port of the smart link group Role Port role: master or slave State Port state: active, standby, or down...
undo port interface-type interface-number View Smart link group view Default level 2: System level Parameters interface-type interface-number: Port type and port number. master: Specifies a port as the master port. slave: Specifies a port as the slave port. Description Use the port command to assign the specified port as the master or slave port of the current smart link group.
Parameters group-id: Smart link group ID, in the range of 1 to 24. master: Specifies the port as the master port. slave: Specifies the port as the slave port. Description Use the port smart-link group command to configure the current port as a member of the specified smart link group.
Parameters delay-time: Preemption delay (in seconds), in the range of 0 to 300. Description Use the preemption delay command to set the preemption delay. When role preemption is enabled, after the preemption delay is set, the master port waits for some time before taking over, so as to collaborate with the switchover of upstream devices.
protected-vlan Syntax protected-vlan reference-instance instance-id-list undo protected-vlan [ reference-instance instance-id-list ] View Smart link group view Default level 2: System level Parameters reference-instance instance-id-list: Specifies the MSTIs to be referenced in the form of instance-id-list = { instance-id [ to instance-id ] }&<1- 1 0>, where the range of the instance-id argument is as specified in the command configuring MSTIs and &<1- 1 0>...
Examples # Enable Ethernet 1/0/1 to process the flush messages received in VLAN 1. <Sysname> system-view [Sysname] interface ethernet 1/0/1 [Sysname-Ethernet1/0/1] smart-link flush enable # Enable Layer 2 aggregate interface 1 to process the flush messages received in VLAN 1. <Sysname>...
Monitor Link configuration commands (available only on the A3100 V2 EI) display monitor-link group Syntax display monitor-link group { group-id | all } [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters group-id: Monitor link group ID, in the range of 1 to 16.
Table 11 Output description Field Description Monitor link group 1 information Information about monitor link group 1 Group status Monitor link group state, which can be up or down Last-up-time Last time when the monitor link group was up Last-down-time Last time when the monitor link group was down Member Member ports of the monitor link group...
View Monitor link group view Default level 2: System level Parameters interface-type interface-number: Specifies a port by type and number. uplink: Specifies an uplink port. downlink: Specifies a downlink port. Description Use the port command to assign a port to the monitor link group. Use the undo port command to remove a port from the monitor link group.
Page 45
Description Use the port monitor-link group command to assign the current port to a monitor link group as a member port. Use the undo port monitor-link group command to remove the current port from a monitor link group. NOTE: • You can assign Layer 2 Ethernet ports and Layer 2 aggregate interfaces to a monitor link group as member ports.
Related information Documents To find related documents, browse to the Manuals page of the HP Business Support Center website: http://www.hp.com/support/manuals For related documentation, navigate to the Networking section, and select a networking category. •...
Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. Square brackets enclose syntax choices (keywords or arguments) that are optional. Braces enclose a set of required syntax choices separated by vertical bars, from which { x | y | ...
Page 48
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.