Chapter 6 CLI – Layer 3
P332G-ML User’s Guide 173
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>
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>
Example:
To assign address 10.0.1.2 to virtual router 1:
Router(config-if:marketing)# ip vrrp 1 address 10.0.1.2
vr-id Virtual Router ID (1-255)
vr-id Virtual Router ID (1-255)
ip-address The IP address to be assigned to the virtual router.