F3215-HP Load Balancing Module High Availability Command Reference-6PW101
2
IPv4-based VRRP configuration commands
display vrrp
Use display vrrp to display the state information of VRRP groups.
Syntax
display vrrp [ verbose ] [ interface interface-type interface-number [ vrid virtual-router-id ] ] [ | { begin |
exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
verbose: Displays detailed state information of VRRP groups.
interface interface-type interface-number: Displays VRRP group state information of the specified
interface. interface-type interface-number specifies an interface by its type and number.
vrid virtual-router-id: Displays state information of the specified VRRP group. The virtual-router-id
argument specifies a VRRP group by its group number, which ranges from 1 to 255.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see System Management 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.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
If you do not specify verbose, only the brief state information of VRRP group is displayed.
If you specify both an interface and a VRRP group, only the state information of the specified VRRP group
on the interface is displayed. If you only specify an interface, the state information of all the VRRP groups
on the interface is displayed. If you specify neither, the state information of all the VRRP groups on the
device is displayed.
Examples
# When VRRP operates in standard mode, display brief information about all VRRP groups on the device.
<Sysname> display vrrp
IPv4 Standby Information:
Run Mode : Standard
Run Method : Virtual MAC
Total number of virtual routers : 1
Interface VRID State Run Adver Auth Virtual
Pri Timer Type IP
---------------------------------------------------------------------
GE0/1 1 Master 140 1 Simple 1.1.1.1