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