Configuring Routing 339
Configuring VRRP Using the CLI Commands
The following is an example of the CLI commands:
Console(config)# interface ethernet g8
Console(config-if)# vrrp 45 ip 172.16.1.1 172.16.2.1
Console(config-if)# vrrp 45 up
Console(config-if)# vrrp 45 timer 100
Console(config-if)# vrrp 45 priority 150
Console(config-if)# vrrp 45 source-ip 168.192.1.1
Console(config-if)# vrrp 45 authentication Dell
Console(config-if)# vrrp 45 preempt
Console(config-if)# exit
Console(config)# exit
vrrp
virtual-router
source-ip
ip-address
Defines the source IP address (primary IP
address) used for Virtual Router Redundancy
Protocol (VRRP) messages on an interface.
vrrp
virtual-router
authentication
text
Enables authentication for the Virtual Router
Redundancy Protocol (VRRP) on an
interface.
vrrp
virtual-router
preempt
Enables the Virtual Router Redundancy
Protocol (VRRP) preemption on an interface.
show vrrp configuration
[ethernet
interface
-
number |
vlan vlan-id
|
port-channel number
]
Displays the Virtual Router Redundancy
Protocol (VRRP) configuration.
show vrrp status
[ethernet
interface-
number
|
vlan vlan-id
|
port-channel number
]
Displays Virtual Router Redundancy Protocol
(VRRP) status.
Table 8-3. VRRP CLI Commands
CLI Command Description