HP FlexFabric 5930 Switch Series High Availability Command Reference Part number: 5998-4566 Software version: Release 2406 & Release 2407P01 Document version: 6W101-20140404
Legal and notice information © Copyright 2014 Hewlett-Packard Development Company, L.P. No part of this documentation may be reproduced or transmitted in any form or by any means without prior written consent of Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Contents DLDP commands ··························································································································································· 1 display dldp ······························································································································································ 1 display dldp statistics ·····································································································································
bfd min-transmit-interval ········································································································································ 50 bfd multi-hop authentication-mode······················································································································· 51 bfd multi-hop destination-port ······························································································································· 52 bfd multi-hop detect-multipl
DLDP commands display dldp Use display dldp to display DLDP configuration. Syntax display dldp [ interface interface-type interface-number ] Views Any view Predefined user roles network-admin network-operator Parameters interface interface-type interface-number: Specifies an interface by its type and number. Usage guidelines If no port is specified, this command displays global and port-specific DLDP configuration. If a port is specified, this command displays only the DLDP configuration on the port.
display dldp interface fortygige 1/0/1 Interface FortyGigE1/0/1 DLDP port state: Bidirectional Number of the port’s neighbors: 1 Neighbor MAC address: 0023-8956-3600 Neighbor port index: 79 Neighbor state: Confirmed Neighbor aged time: 13s Table 1 Command output Field Description DLDP global status Global DLDP state (Enabled or Disabled). DLDP advertisement interval Interval for sending Advertisement packets (in seconds) to maintain neighbor relations.
Views Any view Predefined user roles network-admin network-operator Parameters interface interface-type interface-number: Specifies a port by its type and number. Usage guidelines If no port is specified, this command displays the statistics on the DLDP packets passing through all the DLDP-enabled ports. Examples # Display the statistics on the DLDP packets passing through all the DLDP-enabled ports.
dldp authentication-mode Use dldp authentication-mode to configure DLDP authentication. Use undo dldp authentication-mode to restore the default. Syntax dldp authentication-mode { md5 | none | simple } undo dldp authentication-mode Default DLDP authentication is not performed. Views System view Predefined user roles network-admin Parameters md5: Specifies the MD5 authentication mode. none: Specifies not to perform authentication. simple: Specifies the plain text authentication mode.
Use undo dldp authentication-password to restore the default. Syntax dldp authentication-password { cipher cipher | simple simple } undo dldp authentication-password Default No DLDP authentication password is configured. Views System view Predefined user roles network-admin Parameters cipher cipher: Sets a ciphertext password. The cipher argument is a case-sensitive string of 1 to 53 characters. simple simple: Sets a plaintext password.
Syntax dldp delaydown-timer time undo dldp delaydown-timer Default The setting of the DelayDown timer is 1 second. Views System view Predefined user roles network-admin Parameters time: Specifies the DelayDown timer in the range of 1 to 5 seconds. Usage guidelines The DelayDown timer configured by using this command applies to all DLDP-enabled ports. Examples # Set the DelayDown timer to 2 seconds.
[Sysname] dldp global enable [Sysname] interface fortygige 1/0/1 [Sysname-FortyGigE1/0/1] dldp enable Related commands • display dldp • dldp global enable dldp global enable Use dldp global enable to enable DLDP globally. Use undo dldp global enable to disable DLDP globally. Syntax dldp global enable undo dldp global enable Default DLDP is disabled globally. Views System view Predefined user roles network-admin Usage guidelines DLDP can take effect only after you enable it globally and on a port.
Views System view Predefined user roles network-admin Parameters time: Specifies Advertisement packets sending interval in the range of 1 to 100 seconds. Usage guidelines This command applies to all DLDP-enabled ports. To enable DLDP to operate correctly, make sure the intervals for sending Advertisement packets configured on the two ends of a link are the same. Examples # Set the interval for sending Advertisement packets to 20 seconds.
[Sysname] dldp unidirectional-shutdown manual Related commands display dldp reset dldp statistics Use reset dldp statistics to clear the statistics on DLDP packets passing through a port. Syntax reset dldp statistics [ interface interface-type interface-number ] Views User view Predefined user roles network-admin Parameters interface interface-type interface-number: Clears the statistics on DLDP packets passing through a port. interface-type interface-number represents a port by its type and number.
VRRP commands The interfaces that VRRP involves can be only Layer 3 Ethernet interfaces, VLAN interfaces, and Layer 3 aggregate interfaces unless otherwise specified. You can set an Ethernet port as a Layer 3 interface by using the port link-mode route command (see Layer 2—LAN Switching Configuration Guide). VRRP cannot be configured on member ports of aggregation groups. IPv4 VRRP commands display vrrp Use display vrrp to display the states of IPv4 VRRP groups.
Vlan1 1 Master 150 100 Simple 1.1.1.1 Table 3 Command output (in standard mode) Field Description Running Mode VRRP operating mode (standard mode). Total number of virtual routers Total number of VRRP groups. Interface Interface where the VRRP group is configured. VRID Virtual router ID (VRRP group number). Status of the router in the VRRP group: • Master. • Backup. State • Initialize. • Inactive. Running Pri Current priority of the router.
Virtual MAC : 0000-5e00-010b Master IP : 1.1.1.12 Table 4 Command output (in standard mode) Field Description Running Mode VRRP operating mode (standard mode). Total number of virtual routers Total number of VRRP groups. Interface Interface where the VRRP group is configured. VRID Virtual router ID (VRRP group number). Adver Timer VRRP advertisement sending interval in centiseconds. Admin Status Administrative status: up or down. Status of the router in the VRRP group: • Master. • Backup.
Pri ---------------------------------------------------------------------Vlan1 1 Master 150 1.1.1.1 Local ----- VF 1 Active 255 000f-e2ff-0011 Local Table 5 Command output (in load balancing mode) Field Description Running Mode VRRP operating mode (load balancing mode). Total number of virtual routers Total number of VRRP groups. Interface Interface where the VRRP group is configured. VRID Virtual router ID (VRRP group number) or virtual forwarder (VF) ID.
10.1.1.20 (Backup) Forwarder Information: 2 Forwarders 1 Active Config Weight : 255 Running Weight : 255 Forwarder 01 State : Active Virtual MAC : 000f-e2ff-0011 (Owner) Owner ID : 0000-5e01-1101 Priority : 255 Active : local Forwarder 02 State : Listening Virtual MAC : 000f-e2ff-0012 (Learnt) Owner ID : 0000-5e01-1103 Priority : 127 Active : 10.1.1.
Field Description Total number of virtual routers Total number of VRRP groups. Interface Interface where the VRRP group is configured. VRID Virtual router ID (VRRP group number). Adver Timer VRRP advertisement sending interval in centiseconds. Admin Status Administrative status: up or down. Status of the router in the VRRP group: • Master. State • Backup. • Initialize. • Inactive. Config Pri Configured priority of the router, which is configured by using the vrrp vrid priority command.
Field Description Virtual MAC Virtual MAC address of the VF. Owner ID Real MAC address of the VF owner. Priority VF priority in the range of 1 to 255. Active IP address of the interface where the AVF resides. If the current VF is the AVF, "local" is displayed. display vrrp statistics Use display vrrp statistics to display statistics for IPv4 VRRP groups.
CheckSum Errors : 0 Version Errors : 0 VRID Errors : 0 # Display statistics for all IPv4 VRRP groups when VRRP operates in load balancing mode.
Field Description Become Master Number of times that the router elected as the master. Priority Zero Pkts Rcvd Number of received advertisements with the router priority of 0. Adver Rcvd Number of received advertisements. Priority Zero Pkts Sent Number of sent advertisements with the router priority of 0. Adver Sent Number of sent advertisements. Global statistics Global statistics for all VRRP groups. CheckSum Errors Total number of packets with checksum errors.
Field Description Release Rcvd Number of received release packets. Reply Sent Number of sent replies. Release Sent Number of sent release packets. Priority Zero Pkts Rcvd Number of received advertisements with the router priority of 0. VF Priority Zero Pkts Rcvd Number of received advertisements with the VF priority of 0. Priority Zero Pkts Sent Number of sent advertisements with the router priority of 0. VF Priority Zero Pkts Sent Number of sent advertisements with the VF priority of 0.
snmp-agent trap enable vrrp Use snmp-agent trap enable vrrp to enable SNMP notifications for VRRP globally. Use undo snmp-agent trap enable vrrp to disable SNMP notifications for VRRP globally. Syntax snmp-agent trap enable vrrp [ auth-failure | new-master ] undo snmp-agent trap enable vrrp [ auth-failure | new-master ] Default SNMP notifications for VRRP are enabled.
Usage guidelines The master in an IPv4 VRRP group periodically sends VRRP advertisements to declare its presence. The VRRP advertisements are multicast in the local subnet and cannot be forwarded by routers, so the TTL value is not changed. When the master sends VRRP advertisements, it sets the TTL value to 255. If you enable TTL check, the backups drop the VRRP advertisements with TTL other than 255, preventing attacks from other subnets. Devices from different vendors might implement VRRP differently.
undo vrrp mode Default IPv4 VRRP operates in standard mode. Views System view Predefined user roles network-admin Parameters load-balance: Specifies the load balancing mode. Usage guidelines After you create IPv4 VRRP groups on the router, you can specify their operating mode by using this command. All IPv4 VRRP groups on the router operate in the specified mode. Examples # Specify the load balancing mode for IPv4 VRRP.
system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] vrrp version 2 vrrp vrid authentication-mode Use vrrp vrid authentication-mode to configure the authentication mode and the authentication key for an IPv4 VRRP group to send and receive VRRP packets. Use undo vrrp vrid authentication-mode to restore the default.
For security purposes, all keys, including keys configured in plain text, are saved in cipher text. IMPORTANT: • You can configure different authentication modes and authentication keys for the VRRP groups on an interface. However, members of the same VRRP group must use the same authentication mode and authentication key. • For VRRPv3, this command does not take effect. Examples # Set the authentication mode to simple and the authentication key to Sysname for VRRP group 1 on VLAN-interface 2.
In preemptive mode, a backup takes over as the master and sends VRRP advertisements when it detects that it has a higher priority than the master. The previous master then becomes a backup. This mechanism makes sure the master is always the device with the highest priority.
system-view [Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2] vrrp vrid 1 priority 150 Related commands display vrrp vrrp vrid shutdown Use vrrp vrid shutdown to disable an IPv4 VRRP group. Use undo vrrp vrid shutdown to restore the default. Syntax vrrp vrid virtual-router-id shutdown undo vrrp vrid virtual-router-id shutdown Default An IPv4 VRRP group is enabled.
Default No source interface is specified for a VRRP group. The interface where the VRRP group resides sends and receives VRRP packets. Views Interface view Predefined user roles network-admin Parameters virtual-router-id: Specifies an IPv4 VRRP group by its virtual router ID in the range of 1 to 255. interface-type interface-number: Specifies an interface by its type and number.
Usage guidelines The master in an IPv4 VRRP group periodically sends VRRP advertisements to declare its presence. You can use this command to configure the interval at which the master sends VRRP advertisements. HP recommends that you set the VRRP advertisement interval to be greater than 100 centiseconds to maintain system stability. In VRRPv2, all routers in an IPv4 VRRP group must have the same interval for sending VRRP advertisements.
virtual-ip virtual-address: Specifies a virtual IP address, which cannot be an all-zero address (0.0.0.0); a broadcast address (255.255.255.255); a loopback address; an IP address of other than Class A, Class B, and Class C; or an invalid IP address (for example, 0.0.0.1). If this argument is not specified, the undo vrrp vrid command removes all virtual IP addresses from the existing IPv4 VRRP group. Usage guidelines You can assign up to 16 virtual IP addresses to an IPv4 VRRP group.
Usage guidelines If no interface or VRRP group is specified, this command displays the states of all IPv6 VRRP groups. If only an interface is specified, this command displays the states of all IPv6 VRRP groups on the specified interface. If both an interface and an IPv6 VRRP group are specified, this command displays the states of the specified IPv6 VRRP group on the specified interface. Examples # Display brief information about all IPv6 VRRP groups on the device when VRRP operates in standard mode.
Preempt Mode : Yes Auth Type : None Virtual IP : FE80::1 Virtual MAC : 0000-5e00-0201 Master IP : FE80::2 Delay Time : 10 Interface Vlan-interface2 VRID : 11 Adver Timer : 100 Admin Status : Up State : Backup Config Pri : 80 Running Pri : 80 Preempt Mode : Yes Delay Time : 0 Become Master : 2450ms left Auth Type : None Virtual IP : FE80::11 Virtual MAC : 0000-5e00-020b Master IP : FE80::12 Table 10 Command output (in standard mode) Field Description Running Mode VRRP
Field Description Master IP Link-local address of the interface where the master resides. # Display brief information about all IPv6 VRRP groups on the device when VRRP operates in load balancing mode.
Total number of virtual routers : 2 Interface Vlan-interface2 VRID : 1 Adver Timer : 100 Admin Status : Up State : Master Config Pri : 150 Running Pri : 150 Preempt Mode : Yes Delay Time : 5 Auth Type : None Virtual IP : FE80::10 Member IP List : FE80::3 (Local, Master) FE80::2 (Backup) Master IP : FE80::3 Forwarder Information: 2 Forwarders 1 Active Config Weight : 255 Running Weight : 255 Forwarder 01 State : Active Virtual MAC : 000f-e2ff-4011 (Owner) Owner ID : 0000-5e01-110
Virtual MAC : 000f-e2ff-40b2 (Owner) Owner ID : 0000-5e01-1101 Priority : 255 Active : local Table 12 Command output (in load balancing mode) Field Description Running Mode VRRP operating mode (load balancing mode). Total number of virtual routers Total number of VRRP groups. Interface Interface where the VRRP group is configured. VRID Virtual router ID (VRRP group number) Adver Timer VRRP advertisement sending interval in centiseconds. Admin Status Administrative status: up or down.
Field Description VF state: State • Active. • Listening. • Initialize. Virtual MAC Virtual MAC address of the VF. Owner ID Real MAC address of the VF owner. Priority VF priority in the range of 1 to 255. Active Link-local address of the interface where the AVF resides. If the current VF is the AVF, "local" is displayed. display vrrp ipv6 statistics Use display vrrp ipv6 statistics to display statistics for IPv6 VRRP groups.
Adver Rcvd : 0 Priority Zero Pkts Rcvd : 0 Adver Sent : 425 Priority Zero Pkts Sent : 0 Global statistics CheckSum Errors : 0 Version Errors : 0 VRID Errors : 0 # Display statistics for all IPv6 VRRP groups when VRRP operates in load balancing mode.
Field Description Auth Type Mismatch Number of packets with authentication failures because of mismatching authentication types. Packet Length Errors Number of packets with VRRP packet length errors. Address List Errors Number of packets with virtual IP address list errors. Become Master Number of times that the router elected as the master. Priority Zero Pkts Rcvd Number of received advertisements with the router priority of 0. Adver Rcvd Number of received advertisements.
Field Description Adver Sent Number of sent advertisements. Request Sent Number of sent requests. Reply Rcvd Number of received replies. Release Rcvd Number of received release packets. Reply Sent Number of sent replies. Release Sent Number of sent release packets. Priority Zero Pkts Rcvd Number of received advertisements with the router priority of 0. VF Priority Zero Pkts Rcvd Number of received advertisements with the VF priority of 0.
reset vrrp ipv6 statistics Related commands display vrrp ipv6 statistics vrrp ipv6 dscp Use vrrp ipv6 dscp to configure a DSCP value for IPv6 VRRP packets. Use undo vrrp ipv6 dscp to restore the default. Syntax vrrp ipv6 dscp dscp-value undo vrrp ipv6 dscp Views System view Predefined user roles network-admin Parameters dscp-value: Specifies a DSCP value for IPv6 VRRP packets, in the range of 0 to 63. The default is 56.
Parameters load-balance: Specifies the load balancing mode. Usage guidelines When IPv6 VRRP operates in load balancing mode, the virtual IPv6 address of an IPv6 VRRP group cannot be the same as the IPv6 address of the interface where the VRRP group is configured. Otherwise, the load balancing mode cannot function. After you create IPv6 VRRP groups on the router, you can specify their operating mode through this command, and all IPv6 VRRP groups on the router operate in the specified mode.
In preemptive mode, a backup takes over as the master and sends VRRP advertisements when it detects that it has a higher priority than the master. The previous master then becomes a backup. This mechanism makes sure the master is always the router with the highest priority.
system-view [Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2] vrrp ipv6 vrid 1 priority 150 Related commands display vrrp ipv6 vrrp ipv6 vrid shutdown Use vrrp ipv6 vrid shutdown to disable an IPv6 VRRP group. Use undo vrrp ipv6 vrid shutdown to restore the default. Syntax vrrp ipv6 vrid virtual-router-id shutdown undo vrrp ipv6 vrid virtual-router-id shutdown Default An IPv6 VRRP group is enabled.
Views Interface view Predefined user roles network-admin Parameters virtual-router-id: Specifies an IPv6 VRRP group by its virtual router ID in the range of 1 to 255. adver-interval: Specifies an interval for the master in the specified IPv6 VRRP group to send VRRP advertisements, in the range of 100 to 4095 centiseconds. Usage guidelines The master in an IPv6 VRRP group periodically sends VRRP advertisements to declare its presence.
Views Interface view Predefined user roles network-admin Parameters virtual-router-id: Specifies an IPv6 VRRP group by its virtual router ID in the range of 1 to 255. virtual-ip virtual-address: Specifies a virtual IPv6 address. If this argument is not specified, the undo vrrp ipv6 vrid command removes all virtual IPv6 addresses from the existing IPv6 VRRP group. link-local: Specifies a link-local address as the virtual IPv6 address.
BFD commands The term "interface" in this chapter refers to Layer 3 interfaces, including VLAN interfaces and Layer 3 Ethernet interfaces. You can set an Ethernet port as a Layer 3 interface by using the port link-mode route command (see Layer 2—LAN Switching Configuration Guide). bfd authentication-mode Use bfd authentication-mode to configure the BFD authentication mode for single-hop BFD control packets. Use undo bfd authentication-mode to restore the default.
bfd demand enable Use bfd demand enable to enable the Demand BFD session mode. Use undo bfd demand enable to restore the default. Syntax bfd demand enable undo bfd demand enable Default The BFD session is in Asynchronous mode. Views Interface view Predefined user roles network-admin Usage guidelines In demand mode, no BFD control packets are exchanged after the session is established.
Parameters value: Specifies a single-hop detection time multiplier in the range of 3 to 50. Usage guidelines The detection time multiplier determines the maximum number of concurrent BFD packets (including control packets and echo packets) that can be discarded.
[Sysname-Vlan-interface11] bfd echo enable bfd echo-source-ip Use bfd echo-source-ip to configure the source IP address of BFD echo packets. Use undo bfd echo-source-ip to remove the configured source IP address of BFD echo packets. Syntax bfd echo-source-ip ip-address undo bfd echo-source-ip Default No source IP address is configured for BFD echo packets. Views System view Predefined user roles network-admin Parameters ip-address: Specifies the source IP address of BFD echo packets.
Parameters ipv6-address: Specifies the source IPv6 address for BFD echo packets. Usage guidelines The source IPv6 address of echo packets can only be a global unicast address. The source IPv6 address cannot be on the same network segment as any local interface's IP address. Otherwise, a large number of ICMP redirect packets might be sent from the peer, resulting in link congestion. Examples # Configure the source IPv6 address of BFD echo packets as 80::2.
Use undo bfd min-receive-interval to restore the default. Syntax bfd min-receive-interval value undo bfd min-receive-interval Default The minimum interval for receiving single-hop BFD control packets is 400 milliseconds. Views Interface view Predefined user roles network-admin Parameters value: Specifies the minimum interval for receiving single-hop BFD control packets, in the range of 100 to 1000 milliseconds.
Parameters value: Specifies the minimum interval for transmitting single-hop BFD control packets, in the range of 100 to 1000 milliseconds. Usage guidelines Use this command to make sure that the BFD packet sending rate does not exceed the device capability. The actual BFD control packet transmitting interval on the local end is the greater value between the minimum interval for transmitting BFD control packets on the local end and the minimum interval for receiving BFD control packets on the peer end.
Examples # Configure the simple authentication mode for multi-hop BFD control packets, setting the authentication key ID to 1 and password to 123456. system-view [Sysname] bfd multi-hop authentication-mode simple 1 plain 123456 bfd multi-hop destination-port Use bfd multi-hop destination-port to configure the destination port number for multi-hop BFD control packets. Use undo bfd multi-hop destination-port to restore the default.
Parameters value: Specifies the multi-hop detection time multiplier in the range of 3 to 50. Usage guidelines The detection time multiplier determines the maximum number of concurrent BFD control packets that can be discarded.
[Sysname] bfd multi-hop min-receive-interval 500 bfd multi-hop min-transmit-interval Use bfd multi-hop min-transmit-interval to configure the minimum interval for transmitting multi-hop BFD control packets. Use undo bfd multi-hop min-transmit-interval to restore the default. Syntax bfd multi-hop min-transmit-interval value undo bfd multi-hop min-transmit-interval Default The minimum interval for transmitting multi-hop BFD control packets is 400 milliseconds.
Predefined user roles network-admin Parameters active: Uses the active mode. In active mode, BFD actively transmits BFD control packets to the remote device, regardless of whether it receives a BFD control packet from the remote device. passive: Uses the passive mode. In passive mode, BFD does not actively transmit a BFD control packet to the remote end; it transmits a BFD control packet only after receiving a BFD control packet from the remote end.
Total Session Num: 1 Up Session Num: 1 Init Mode: Active IPv6 Session Working Under Ctrl Mode: Local Discr: 513 Remote Discr: 513 Source IP: FE80::20C:29FF:FED4:7171 Destination IP: FE80::20C:29FF:FE72:AC4D Session State: Up Interface: FGE1/0/2 # Display detailed IPv4 BFD session information. display bfd session verbose Total Session Num: 1 Up Session Num: 1 Init Mode: Active IPv4 Session Working Under Ctrl Mode: Local Discr: 513 Remote Discr: 513 Source IP: 1.1.1.
Table 17 Command output Field Description Total Session Num Total number of BFD sessions. Up Session Num Total number of active BFD sessions. Init Mode BFD operating mode, active or passive. IPv4/IPv6 BFD session mode: Session Working Under Ctrl Mode • Ctrl—Control packet mode. • Echo—Echo packet mode. Local Discr/LD Local ID of the session. Remote Discr/RD Remote ID of the session. Source IP/SourceAddr Source IP address of the session.
Predefined user roles network-admin Examples # Clear the BFD session statistics.
Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.
Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. [] Square brackets enclose syntax choices (keywords or arguments) that are optional. { x | y | ... } Braces enclose a set of required syntax choices separated by vertical bars, from which you select one.
Network topology icons Represents a generic network device, such as a router, switch, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features. Represents an access controller, a unified wired-WLAN module, or the switching engine on a unified wired-WLAN switch. Represents an access point.
Index BDRSVW B Documents,59 bfd authentication-mode,45 R bfd demand enable,46 reset bfd session statistics,57 bfd detect-multiplier,46 reset dldp statistics,9 bfd echo enable,47 reset vrrp ipv6 statistics,38 bfd echo-source-ip,48 reset vrrp statistics,19 bfd echo-source-ipv6,48 S bfd min-echo-receive-interval,49 snmp-agent trap enable vrrp,20 bfd min-receive-interval,49 Subscription service,59 bfd min-transmit-interval,50 bfd multi-hop authentication-mode,51 V bfd multi-hop destination-p