Table 8-3. VRRP CLI Commands
CLI Command
vrrp virtual-router
source-ip ip-address
vrrp virtual-router
authentication text
vrrp virtual-router
preempt
show vrrp configuration
[ethernet interface -
number | vlan vlan-id |
port-channel number ]
show vrrp status
[ethernet interface-
number | vlan vlan-id |
port-channel number ]
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
Description
Defines the source IP address (primary IP
address) used for Virtual Router Redundancy
Protocol (VRRP) messages on an interface.
Enables authentication for the Virtual Router
Redundancy Protocol (VRRP) on an
interface.
Enables the Virtual Router Redundancy
Protocol (VRRP) preemption on an interface.
Displays the Virtual Router Redundancy
Protocol (VRRP) configuration.
Displays Virtual Router Redundancy Protocol
(VRRP) status.
Configuring Routing
339