HP MSR Router Series High Availability Command Reference(V7) Part number: 5998-5635 Software version: CMW710-R0106 Document version: 6PW100-20140607
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 Interface backup commands ······································································································································· 1 backup interface ······················································································································································· 1 backup threshold ······················································································································································
bfd echo-source-ipv6 ············································································································································· 57 bfd min-echo-receive-interval ································································································································ 58 bfd min-receive-interval ········································································································································· 58 bfd min-transmit-i
Interface backup commands backup interface Use backup interface to specify a backup interface for an interface. Use undo backup interface to remove a backup interface. Syntax backup interface interface-type interface-number [ priority ] undo backup interface interface-type interface-number Default An interface does not have backup interfaces. Views Interface view Predefined user roles network-admin Parameters interface-type interface-number: Specifies a backup interface by its type and number.
Item Restrictions • An interface can only be the backup of one interface. • A primary interface cannot be configured as a backup interface at the same time. Configuration restrictions • A main interface and its subinterfaces cannot be the backup of each other. • The primary and backup interfaces cannot be members of a logical link. For example, they cannot be members of a Layer 3 aggregation group. This command and the backup track command are mutually exclusive.
NOTE: To set the bandwidth used for load sharing calculation in this command, use the bandwidth command on the primary interface. Usage guidelines Before you can use this command on an interface, you must specify at least one backup interface for the interface. This command enables a primary interface and its backup interfaces to be load shared. In load sharing mode, interface backup regularly compares the amount of traffic with the thresholds.
Predefined user roles network-admin Parameters up-delay: Specifies the number of seconds that the primary or backup interface must wait before it can come up. The value range is 1 to 65535 seconds. down-delay: Specifies the number of seconds that the active primary or backup interface must wait before it is set to down state. The value range is 1 to 65535 seconds. Usage guidelines Before you can use this command on an interface, you must specify at least one backup interface for the interface.
Usage guidelines Before you can use this command on an interface, you must specify at least one backup interface for the interface. This command takes effect when the primary and backup interfaces operate in load sharing mode. Interface backup compares the amount of traffic with the thresholds at this interval to determine whether to activate or deactivate a backup interface. Examples # Set the traffic polling interval to 60 seconds on Serial 2/1/0.
• If you have associated a backup interface with a track entry, you cannot configure the backup interface command on it or specify it as a backup interface by using the backup interface command. Examples # Associate Serial 2/1/0 with track entry 1. system-view [Sysname] interface serial 2/1/0 [Sysname-Serial2/1/0] backup track 1 Related commands backup interface display interface-backup state Use display interface-backup state to display state information for primary and backup interfaces.
GE2/1/8 Track: 2 State: UP Table 2 Command output Field Description Interface Name of the primary interface. UpDelay The number of seconds that elapse after the primary interface goes down before the backup interface is activated. DownDelay The number of seconds that elapse after the primary interface comes up before the backup interface is deactivated. The upper traffic threshold specified as a percentage of bandwidth available on the primary interface.
Field Description State of the backup interface associated with a track entry: INVALID—The backup role of the interface has not taken effect, for example, because the track entry has not been created. UP—The interface has taken over forwarding traffic. State DOWN—The backup interface is down and cannot forward traffic. STANDBY—The backup interface is on standby while the primary link is operating correctly.
Field Description Bandwidth Expected bandwidth (in bps) of the primary interface. This bandwidth is used for load sharing computation. You can use the bandwidth command in interface view to set its value. PrimaryTotalIn Cumulative sum of incoming bytes on the primary interface at the most recent traffic polling. PrimaryTotalOut Cumulative sum of outgoing bytes on the primary interface at the most recent traffic polling.
VRRP commands 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. Syntax display vrrp [ interface interface-type interface-number [ vrid virtual-router-id ] ] [ verbose ] Views Any view Predefined user roles network-admin network-operator Parameters interface interface-type interface-number: Specifies an interface by its type and number.
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). Status of the router in the VRRP group: • • • • State Master. Backup. Initialize. Inactive. Current priority of the router.
Virtual IP : 1.1.1.11 Virtual MAC : 0000-5e00-010b Master IP : 1.1.1.12 Table 5 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.
Field Description Track entry state: • Negative. • Positive. • NotReady. State Pri Reduced Value by which the priority decreases when the status of the associated track entry becomes negative. Switchover Switchover mode. When the status of the associated track entry becomes negative, the backup immediately becomes the master. # Display brief information about all IPv4 VRRP groups on the device when VRRP operates in load balancing mode.
Field Description • For a VRRP group (when the VRID is a virtual router ID), this field indicates the IP address of the interface where the master resides. If the current router is the master, local is displayed. Active • For a VF (when the VRID is a VF ID), this field indicates the IP address of the interface where the active virtual forwarder (AVF) resides. If the current VF is the AVF, local is displayed.
Preempt Mode : Yes Become Master : 2370ms left Delay Time Auth Type : None Virtual IP : 10.1.1.11 : 0 : 10.1.1.12 : 10.1.1.13 Member IP List : 10.1.1.10 (Local, Backup) 10.1.1.15 (Master) Forwarder Information: 2 Forwarders 1 Active Config Weight : 255 Running Weight : 255 Forwarder 01 State : Active Virtual MAC : 000f-e2ff-40b1 (Learnt) Owner ID : 0000-5e01-1103 Priority : 127 Active : 10.1.1.
Field Description Delay Time Preemption delay time in seconds. Become Master Time, in milliseconds, that a backup router has to wait before it becomes the master. Authentication type: Auth Type • None—No authentication. • Simple—Simple text authentication. • MD5—MD5 authentication. Key Authentication key, which is not displayed if no authentication is required. Virtual IP Virtual IP address list of the VRRP group.
Field Forwarder Weight Track Configuration Description VF weight Track configuration. The field is displayed only after you have configured the vrrp vrid weight track command. Track entry which is associated with the VFs. Track Object The field is displayed only after you have configured the vrrp vrid weight track command. Track entry state: State Weight Reduced • Negative. • Positive. • NotReady.
CheckSum Errors Invalid Pkts Rcvd : 0 : 0 Version Errors : 0 Unexpected Pkts Rcvd : 0 IP TTL Errors : 0 Advertisement Interval Errors : 0 Invalid Auth Type : 0 Auth Failures : 0 Packet Length Errors : 0 Auth Type Mismatch : 0 Become Master : 1 Address List Errors : 0 Adver Rcvd : 0 Priority Zero Pkts Rcvd : 0 Adver Sent : 807 Priority Zero Pkts Sent : 0 Global statistics CheckSum Errors : 0 Version Errors : 0 VRID Errors : 0 # Display statistics for all IPv4 VRRP groups w
Field Description IP TTL Errors Number of packets with TTL errors. Auth Failures Number of packets with authentication failures. Invalid Auth Type Number of packets with authentication failures because of invalid authentication types. 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.
Field Description Become AVF Number of times that the VF elected as the AVF. Time-out Timer Expires Number of times that the time-out timer expired. Adver Rcvd Number of received advertisements. Request Rcvd Number of received requests. 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.
• If only an interface is specified, this command clears statistics for all IPv4 VRRP groups on the specified interface. • If both an interface and an IPv4 VRRP group are specified, this command clears statistics for the specified IPv4 VRRP group on the specified interface. Examples # Clear statistics for all IPv4 VRRP groups on all interfaces.
Syntax vrrp check-ttl enable undo vrrp check-ttl enable Default TTL check for IPv4 VRRP packets is enabled. Views Interface view Predefined user roles network-admin 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.
Parameters vid vlan-id: Specifies an IPv4 VRRP control VLAN (outer VLAN) by its VLAN ID in the range of 1 to 4094. secondary-dot1q secondary-vlan-id: Specifies an inner VLAN by its VLAN ID in the range of 1 to 4094. Usage guidelines If you execute this command multiple times, the most recent configuration takes effect. This command takes effect on only Layer 3 Ethernet subinterfaces and Layer 3 aggregate subinterfaces.
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 gigabitethernet 2/0/1 [Sysname-GigabitEthernet2/0/1] 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 GigabitEthernet 2/0/1.
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 gigabitethernet 2/0/1 [Sysname-GigabitEthernet2/0/1] vrrp vrid 1 priority 150 Related commands • display vrrp • vrrp vrid track 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.
range of 10 to 100, 101 to 200, and 4001 to 4095, the actual values are 100, 200, and 4100, respectively. For VRRPv3, the value of the adver-interval argument that you configured takes effect. 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.
Parameters virtual-router-id: Specifies an IPv4 VRRP group number in the range of 1 to 255. track-entry-number: Specifies a track entry. The track-entry-number argument is in the range of 1 to 1024. reduced priority-reduced: Reduces the priority of the router in the VRRP group by a specific value when the state of the specified track entry changes to negative. The priority-reduced argument is in the range of 1 to 255.
Default No IPv4 VRRP group is created. 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. 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).
Default The VFs of an IPv4 VRRP group are not associated with any track entry. 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. track-entry-number: Specifies a track entry by its number in the range of 1 to 1024. reduced weight-reduced: Reduces the weights of the VFs in the IPv4 VRRP group by a specific value when the state of the specified track entry changes to negative.
Syntax display vrrp ipv6 [ interface interface-type interface-number [ vrid virtual-router-id ] ] [ verbose ] Views Any view Predefined user roles network-admin network-operator Parameters interface interface-type interface-number: Specifies an interface by its type and number. vrid virtual-router-id: Specifies an IPv6 VRRP group by its virtual router ID in the range of 1 to 255. verbose: Displays detailed IPv6 VRRP group information.
Field Description Current priority of the router. Running Pri When a track entry is associated with a VRRP group on the router, the router's priority changes when the track entry's status changes. Adver Timer VRRP advertisement sending interval in centiseconds. Auth Type Authentication type. Only none is available, which means no authentication is required. Virtual IP Virtual IP address of the VRRP group.
Field Description Status of the router in the VRRP group: • • • • State Master. Backup. Initialize. Inactive. Configured priority of the router, which is configured through the vrrp ipv6 vrid priority command. Config Pri Current priority of the router. Running Pri When a track entry is associated with a VRRP group on the router, the router's priority changes when the track entry's status changes. Preemptive mode: Preempt Mode • Yes. • No. Delay Time Preemption delay time in seconds.
GE2/0/1 1 Master 150 FE80::1 Local ----- VF 1 Active 255 000f-e2ff-4011 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) or VF ID.
VRRP Track Information: Track Object : 1 State : Positive Pri Reduced : 50 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-1101 Priority : 255 Active : local Forwarder 02 State : Listening Virtual MAC : 000f-e2ff-4012 (Learnt) Owner ID : 0000-5e01-1103 Priority : 127 Active : FE80::2 Forwarder Weight Track Information: Track Object : 1 State : Positive Weig
Table 13 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. Status of the router in the VRRP group: State Config Pri • • • • Master. Backup. Initialize.
Field Description Switchover Switchover mode. When the status of the associated track entry becomes negative, the backup immediately becomes the master. Forwarder Information: 2 Forwarders 1 Active Number of VFs and AVFs in the VRRP group. Config Weight Configured weight of the VF: 255. Current weight of the VF. Running Weight When a track entry is associated with the VFs of a VRRP group, the VFs' weights change when the track entry's status changes. Forwarder 01 Information about VF 01.
Predefined user roles network-admin network-operator Parameters interface interface-type interface-number: Specifies an interface by its type and number. vrid virtual-router-id: Specifies an IPv6 VRRP group by its virtual router ID in the range of 1 to 255. Usage guidelines • If no interface or VRRP group is specified, this command displays statistics for all IPv6 VRRP groups. • If only an interface is specified, this command displays statistics for all IPv6 VRRP groups on the specified interface.
Request Rcvd : 2 Reply Rcvd : 10 Request Sent : 12 Reply Sent : 2 Release Rcvd : 0 VF Priority Zero Pkts Rcvd : 1 Release Sent : 0 VF Priority Zero Pkts Sent : 11 Redirect Timer Expires : 1 Time-out Timer Expires : 0 Global statistics CheckSum Errors : 0 Version Errors : 0 VRID Errors : 0 Table 14 Command output (in standard mode) Field Description Interface Interface where the VRRP group is configured. VRID VRRP group number.
Field Description VRID VRRP group number. CheckSum Errors Number of packets with checksum errors. Version Errors Number of packets with version errors. Invalid Pkts Rcvd Number of received packets of invalid packet types. Unexpected Pkts Rcvd Number of received unexpected packets. Advertisement Interval Errors Number of packets with advertisement interval errors. Hop Limit Errors Number of packets with hop limit errors. Auth Failures Number of packets with authentication failures.
Related commands reset vrrp ipv6 statistics reset vrrp ipv6 statistics Use reset vrrp ipv6 statistics to clear statistics for IPv6 VRRP groups. Syntax reset vrrp ipv6 statistics [ interface interface-type interface-number [ vrid virtual-router-id ] ] Views User view Predefined user roles network-admin Parameters interface interface-type interface-number: Specifies an interface by its type and number. vrid virtual-router-id: Specifies an IPv6 VRRP group by its virtual router ID in the range of 1 to 255.
Usage guidelines The DSCP value identifies the packet priority during transmission. A greater DSCP value means a higher packet priority. Examples # Configure the DSCP value for IPv6 VRRP packets as 30. system-view [Sysname] vrrp ipv6 dscp 30 vrrp ipv6 mode Use vrrp ipv6 mode to specify the operating mode for IPv6 VRRP. Use undo vrrp ipv6 mode to restore the default. Syntax vrrp ipv6 mode load-balance undo vrrp ipv6 mode Default IPv6 VRRP operates in standard mode.
Use undo vrrp ipv6 vrid preempt-mode to disable the preemptive mode for the router in an IPv6 VRRP group. Use undo vrrp ipv6 vrid preempt-mode delay to restore the default preemption delay. Syntax vrrp ipv6 vrid virtual-router-id preempt-mode [ delay delay-value ] undo vrrp ipv6 vrid virtual-router-id preempt-mode [ delay ] Default The router operates in preemptive mode and the preemption delay is 0 seconds.
undo vrrp ipv6 vrid virtual-router-id priority Default The priority of a router in an IPv6 VRRP group is 100. 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. priority-value: Specifies a priority value in the range of 1 to 254. A higher number indicates a higher priority. Usage guidelines VRRP determines the role (master or backup) of each router in a VRRP group by priority.
Parameters virtual-router-id: Specifies an IPv6 VRRP group by its virtual router ID in the range of 1 to 255. Usage guidelines You can use this command to temporarily disable an IPv6 VRRP group. After this command is configured, the VRRP group stays in initialized state, and its configurations remain unchanged. You can change its configuration, and your changes take effect when you enable the VRRP group again. Examples # Disable IPv6 VRRP group 1.
Large network traffic might disable a backup from receiving VRRP advertisements from the master within the specified time and trigger an unexpected master switchover. To solve this problem, you can use this command to configure a larger interval. Examples # Configure the master in IPv6 VRRP group 1 to send VRRP advertisements at an interval of 500 centiseconds.
When the track entry changes from Negative to Positive or NotReady, the router automatically restores its priority. IMPORTANT: • The vrrp ipv6 vrid track command cannot take effect on an IP address owner. If you have configured the command on an IP address owner, the configuration takes effect after the router changes to be a non-IP address owner. • You can create a track entry with the track command before or after you associate it with an IPv6 VRRP group.
The first virtual IPv6 address that you assign for an IPv6 VRRP group must be a link-local address, and it must be removed last. An IPv6 VRRP group can have only one link-local address as its virtual IPv6 address. If you create an IPv6 VRRP group but do not assign any virtual IPv6 address for it, the VRRP group stays in inactive state and does not function.
Usage guidelines This command is effective only when IPv6 VRRP operates in load balancing mode. When the state of the track entry transits to Positive or NotReady, the original weight values of the VFs restore. By default, the weight of a VF is 255, and its lower limit of failure is 10. When the weight of a VF owner is higher than or equal to the lower limit of failure, its priority is always 255 and does not change with the weight.
BFD commands 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. Syntax bfd authentication-mode simple key-id { cipher cipher-string | plain plain-string } undo bfd authentication-mode Default Single-hop BFD control packets are not authenticated. Views Interface view Predefined user roles network-admin Parameters simple: Specifies the simple authentication mode.
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. When the connectivity to another system needs to be verified explicitly, a system sends several BFD control packets that have the Poll (P) bit set at the negotiated transmit interval.
Usage guidelines The member ports in Layer 3 aggregation groups do not have IP addresses, and they do not support fast detection mechanisms. You can use this command to detect link faults and locate the faulty member ports of Layer 3 aggregate interfaces. You can also configure this command on common Layer 3 Ethernet interfaces to implement fast collaboration between interface state and BFD session state, and help routing protocols complete convergence.
Mode Detection interval Control packet mode BFD session in demand mode Detection time multiplier of the sender × actual packet sending interval of the sender Examples # Configure the single-hop detection time multiplier as 6 on GigabitEthernet 2/0/1. system-view [Sysname] interface gigabitethernet 2/0/1 [Sysname-GigabitEthernet2/0/1] bfd detect-multiplier 6 bfd echo enable Use bfd echo enable to enable the echo packet mode. Use undo bfd echo enable to restore the default.
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. Usage guidelines The source IP 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 IP address of BFD echo packets as 8.8.8.8.
system-view [Sysname] bfd echo-source-ipv6 80::2 bfd min-echo-receive-interval Use bfd min-echo-receive-interval to configure the minimum interval for receiving BFD echo packets. Use undo bfd min-echo-receive-interval to restore the default. Syntax bfd min-echo-receive-interval value undo bfd min-echo-receive-interval Default The minimum interval for receiving BFD echo packets is 1000 milliseconds.
Predefined user roles network-admin Parameters value: Specifies the minimum interval for receiving single-hop BFD control packets, in the range of 10 to 10000 milliseconds. Usage guidelines Configure this command to prevent the control packet sending rate of the peer end from exceeding the control packet receiving rate of the local end.
Examples # Configure the minimum interval for transmitting single-hop BFD control packets on GigabitEthernet 2/0/1 as 500 milliseconds. system-view [Sysname] interface gigabitethernet 2/0/1 [Sysname-GigabitEthernet2/0/1] bfd min-transmit-interval 500 bfd multi-hop authentication-mode Use bfd multi-hop authentication-mode to configure the authentication mode for multihop BFD control packets. Use undo bfd multi-hop authentication-mode to restore the default.
bfd multi-hop destination-port Use bfd multi-hop destination-port to configure the destination port number for multihop BFD control packets. Use undo bfd multi-hop destination-port to restore the default. Syntax bfd multi-hop destination-port port-number undo bfd multi-hop destination-port Default The destination port number for multihop BFD control packets is 4784.
Table 17 Detection interval calculation method Mode Detection interval Control packet mode BFD session in asynchronous mode Detection time multiplier of the receiver × actual packet sending interval of the receiver Control packet mode BFD session in demand mode Detection time multiplier of the sender × actual packet sending interval of the sender Examples # Configure the multihop detection time multiplier as 6.
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 multihop BFD control packets is 1000 milliseconds. Views System view Predefined user roles network-admin Parameters value: Specifies the minimum interval for transmitting multihop BFD control packets, in the range of 10 to 10000 milliseconds.
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. Usage guidelines At least one end must operate in active mode for a BFD session to be established. Examples # Configure the session establishment mode as passive.
Source IP: FE80::20C:29FF:FED4:7171 Destination IP: FE80::20C:29FF:FE72:AC4D Session State: Up Interface: GE2/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.1 Destination IP: 1.1.1.
Field Description 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. Destination IP/DestAddr Destination IP address of the session. Session State/State Session state: up or down. Interface Name of the interface of the session. Min Tx Inter Minimum transmit interval.
Track commands display track Use display track to display track entry information. Syntax display track { track-entry-number | all } Views Any view Predefined user roles network-admin network-operator Parameters track-entry-number: Displays information about the specified track entry. The value range for the track-entry-number argument is 1 to 1024. all: Displays information about all track entries. Examples # Display information about all track entries.
Interface: GigabitEthernet2/0/2 Protocol: IPv4 Table 19 Command output Field Description Track ID ID of a track entry. States of a track entry: State Duration • Positive—The tracked object functions correctly. • NotReady—The tracked object is invalid. • Negative—The tracked object is abnormal. Time period during which the track entry stays in the state.
Syntax track track-entry-number bfd echo interface interface-type interface-number remote ip remote-ip local ip local-ip [ delay { negative negative-time | positive positive-time } * ] undo track track-entry-number Default No track entry exists. Views System view Predefined user roles network-admin Parameters track-entry-number: Specifies the track entry ID in the range of 1 to 1024.
track interface Use track interface to create a track entry and associate it with the link state of a specific interface. Use undo track to remove the track entry. Syntax track track-entry-number interface interface-type interface-number [ delay { negative negative-time | positive positive-time } * ] undo track track-entry-number Default No track entry exists. Views System view Predefined user roles network-admin Parameters track-entry-number: Specifies the track entry ID in the range of 1 to 1024.
track interface protocol Use track interface protocol to create a track entry and associate it with the protocol state of a specific interface. Use undo track to remove the track entry. Syntax track track-entry-number interface interface-type interface-number protocol { ipv4 | ipv6 } [ delay { negative negative-time | positive positive-time } * ] undo track track-entry-number Default No track entry exists.
Related commands • display track • display ip interface brief (Layer 3—IP Services Command Reference) • display ipv6 interface brief (Layer 3—IP Services Command Reference) track nqa Use track nqa to create a track entry and associate it with the specified reaction entry of the NQA test group. Use undo track to remove the track entry.
Examples # Create track entry 1 and associate it with reaction entry 3 of the NQA test group admin-test.
Process placement commands The following matrix shows the feature and hardware compatibility: Hardware Process placement compatibility MSR2000 No MSR3000 No MSR4000 Yes affinity location-set Use affinity location-set to set the affinity of a process to a set of CPUs. Use undo affinity location-set to remove the configuration.
Examples # Configure a positive affinity of 500 to slot 3 for BGP. system-view [Sysname] placement program bgp [Sysname-program-bgp] affinity location-set slot 3 attract 500 affinity location-type Use affinity location-type to set the affinity of a process to a location type. Use undo affinity location-type to restore the default.
affinity program Use affinity program to set the affinity of one process to another process. Use undo affinity program to remove the configuration. Syntax affinity program program-name { attract strength | default | none | repulse strength } undo affinity program program-name Default No process affinity is configured for any process. Views Placement process view Predefined user roles network-admin Parameters program-name: Specifies the name of a process, a case-insensitive string of 1 to 15 characters.
undo affinity self Default No self affinity is configured for any process. Views Placement process view Predefined user roles network-admin Parameters attract strength: Specifies a positive affinity in the range of 1 to 100000. The higher the value, the stronger the preference for all the instances of the current process to run on the same location. default: Sets the affinity to the default, a positive affinity of 200.
Parameters program-name: Specifies a service group by its name, a case-insensitive string of 1 to 15 characters. all: Specifies all service groups running on the device. instance instance-name: Specifies an instance by its name, a case-insensitive string of 1 to 15 characters. Whether or not a service group has multiple instances depends on the system software. Examples # Display the location and status of all service groups.
Field Description Process status: State • • • • • Realtime Backup Batch Backup Stopping Degrading Upgrading display placement location Use display placement location to display the processes running on a specific location. Syntax display placement location { all | slot slot-number [ cpu cpu-number ] } Views Any view Predefined user roles network-admin network-operator Parameters all: Displays all processes running on the device. slot slot-number: Displays the processes running on a card.
ethbase ip6base ipbase eth # Display the processes running on the MPU in slot 1. display placement location slot 1 Program(s) placed at location: 1/0 l3vpn lsm aaa lauth track bfd rm6 rm rpm usr6 ipaddr ip6addr slsp usr ethbase ip6base ipbase eth display placement policy Use display placement policy to display process placement policy information.
Usage guidelines The information about a placement policy is displayed only when the placement policy is configured for the specified process. Examples # Display the default process placement policy. display placement policy program default Program: [default] : source ---------------------------------------------------------affinity location-set slot 0 cpu 0 attract : system [default] # Display the placement policy for AAA.
aaa 0/0 Table 22 Command output Field Description Program Process name. Location of the process. Placed at location If NA is displayed, the process is not available because the service is abnormal or the process is starting up or shut down. display placement reoptimize Use display placement reoptimize to display the predicted changes that will occur when you run the placement reoptimize command.
placement program Use placement program to enter placement process view. Use undo placement program to delete the placement policy for a process. Syntax placement program { program-name [ instance instance-name ] | default } undo placement program { program-name [ instance instance-name ] | default } Default No placement process view is created, and all active processes run on the active CPU.
[Sysname-program-bgp-100] # Enter default placement process view. system-view [Sysname] placement program default [Sysname-program-default] placement reoptimize Use placement reoptimize to apply configured process placement policies for optimizing process placement.
ipbase 0/0 0/0 eth 0/0 0/0 ipen 0/0 0/0 Continue? [y/n]:y Re-optimization of the placement start. You will be notified on completion Re-optimization of the placement complete.
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. Represents a mesh access point.
Index ABDPRSTVW display vrrp,10 A display vrrp ipv6,33 affinity location-set,74 display vrrp ipv6 statistics,40 affinity location-type,75 display vrrp statistics,17 affinity program,76 Documents,86 affinity self,76 P B placement program,83 backup interface,1 placement reoptimize,84 backup threshold,2 backup timer delay,3 R backup timer flow-check,4 reset bfd session statistics,66 backup track,5 reset vrrp ipv6 statistics,44 bfd authentication-mode,53 reset vrrp statistics,20 bfd deman
vrrp vrid authentication-mode,25 vrrp vrid track,30 vrrp vrid preempt-mode,26 vrrp vrid weight track,32 vrrp vrid priority,27 W vrrp vrid shutdown,28 Websites,86 vrrp vrid source-interface,28 vrrp vrid timer advertise,29 90