June 30, 2006 | Chapter 7: Second Level Commands |
Example 1 (SCC1 configuration):
Host(config)# vrrp interface Ethernet 0\1 1 ip 192.168.1.100 priority 200 preempt- mode on
Host(config)# vrrp interface Ethernet 0\1 2 ip 192.168.1.101 priority 201 preempt- mode on
Example 2 (SCC2 configuration):
Host(config)# vrrp interface Ethernet 0\1 1 ip 192.168.1.101 priority 200 preempt- mode on
Host(config)# vrrp interface Ethernet 0\1 2 ip 192.168.1.100 priority 201 preempt- mode on
Note: The system should refuse virtual router IP address that is the same as the real interface IP address.
Host(config)# vrrp interface Ethernet 0\1 1 ip 192.168.1.2 priority 1 Operation Error:
Virtual router IP address is equal to the real interface IP address
Note: The system should refuse virtual router IP address that does not belong to the same subnet as the protected interface, or belong to one of the system IP pools.
Host(config)# vrrp interface Ethernet 0\1 1 ip 192.168.1.2 priority 1 Operation Error:
Wrong virtual router IP address
Note: The system should refuse assignment of different virtual router priority for the same VRID value.
Host> write terminal
....
Interface ethernet 0\1 192.168.1.2 255.255.255.0 auto Vrrp interface ethernet 0\1 1 ip 10.1.1.1 priority 99
....
Host(config)# vrrp interface ethernet 0\1 1 ip 10.1.1.1 priority 150 Operation Error:
Different virtual router priority for the same group number (VRID)
|