Interface Mode
ip vrrp Command
Use the ip vrrp command to create a virtual router on the interface. Use the no
form of this command to delete a virtual router.
The syntax for this command is:
[no] ip vrrp <vr-id>
vr-id
Example:
Router-N(config-if:marketing)# ip vrrp 1
ip vrrp address Command
Use the ip vrrp address command to assign an IP address to the virtual
router. Use the no form of this command to remove an IP address from a virtual
router.
The syntax for this command is:
[no] ip vrrp <vr-id> address <ip-address>
vr-id
ip-address
Example:
To assign address 10.0.1.2 to virtual router 1:
Router(config-if:marketing)# ip vrrp 1 address 10.0.1.2
P334T-ML User's Guide
Virtual Router ID (1-255)
Virtual Router ID (1-255)
The IP address to be assigned to the virtual router.
Chapter 7
CLI – Layer 3
193