HP 6125XLG R2306-HP 6125XLG Blade Switch High Availability Command Reference - Page 66

VRRP commands, display vrrp

Page 66 highlights

VRRP commands IPv4 VRRP commands The interfaces that VRRP involves can be only Layer 3 Ethernet interfaces and VLAN interfaces unless otherwise specified. You can configure an Ethernet port as a Layer 3 interface by using the port link-mode route command (see Layer 2-LAN Switching Configuration Guide). 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. vrid virtual-router-id: Specifies an IPv4 VRRP group by its virtual router ID in the range of 1 to 255. verbose: Displays detailed IPv4 VRRP group information. If the verbose keyword is not specified, this command displays brief IPv4 VRRP group information. Usage guidelines If no interface or VRRP group is specified, this command displays the states of all IPv4 VRRP groups. If only an interface is specified, this command displays the states of all IPv4 VRRP groups on the specified interface. If both an interface and an IPv4 VRRP group are specified, this command displays the states of the specified IPv4 VRRP group on the specified interface. Examples # Display brief information about all IPv4 VRRP groups on the device when VRRP operates in standard mode. display vrrp IPv4 Virtual Router Information: Running Mode : Standard Total number of virtual routers : 1 Interface VRID State Running Adver Auth Virtual Pri Timer Type IP Vlan2 1 Master 150 100 Simple 1.1.1.1 61

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130

61
VRRP commands
IPv4 VRRP commands
The interfaces that VRRP involves can be only Layer 3 Ethernet interfaces and VLAN interfaces unless
otherwise specified. You can configure an Ethernet port as a Layer 3 interface by using the
port
link-mode
route
command (see
Layer 2—LAN Switching Configuration Guide
).
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.
vrid
virtual-router-id
: Specifies an IPv4 VRRP group by its virtual router ID in the range of 1 to 255.
verbose
: Displays detailed IPv4 VRRP group information. If the
verbose
keyword is not specified, this
command displays brief IPv4 VRRP group information.
Usage guidelines
If no interface or VRRP group is specified, this command displays the states of all IPv4 VRRP groups. If
only an interface is specified, this command displays the states of all IPv4 VRRP groups on the specified
interface. If both an interface and an IPv4 VRRP group are specified, this command displays the states of
the specified IPv4 VRRP group on the specified interface.
Examples
# Display brief information about all IPv4 VRRP groups on the device when VRRP operates in standard
mode.
<Sysname> display vrrp
IPv4 Virtual Router Information:
Running Mode
: Standard
Total number of virtual routers : 1
Interface
VRID
State
Running Adver
Auth
Virtual
Pri
Timer
Type
IP
---------------------------------------------------------------------
Vlan2
1
Master
150
100
Simple
1.1.1.1