Configuration examples
The following sections contain the CLI commands for implementing VRRP and VRRP-E configurations.
VRRP example
To implement the VRRP configuration shown in "VRRP Overview," use the following method.
Configuring Switch 1
To configure VRRP Switch 1, enter the following commands.
Switch1(config)# router vrrp
Switch1(config)# interface ethernet 1/1/6
Switch1(config-if-1/1/6)# ip address 192.53.5.1
Switch1(config-if-1/1/6)# ip vrrp vrid 1
Switch1(config-if-1/1/6-vrid-1)# owner track-priority 20
Switch1(config-if-1/1/6-vrid-1)# track-port ethernet 1/2/4
Switch1(config-if-1/1/6-vrid-1)# ip-address 192.53.5.1
Switch1(config-if-1/1/6-vrid-1)# activate
NOTE
When you configure the Master (Owner), the address you enter with the
ip-address
command must already be configured on
the interface.
Configuring Switch 2
To configure Switch 2 in "VRRP Overview" after enabling VRRP, enter the following commands.
Switch2(config)#router vrrp
Switch2(config)#interface ethernet 1/1/5
Switch2(config-if-1/1/5)#ip address 192.53.5.3
Switch2(config-if-1/1/5)#ip vrrp vrid 1
Switch2(config-if-1/1/5-vrid-1)#backup priority 100 track-priority 19
Switch2(config-if-1/1/5-vrid-1)#track-port ethernet 1/3/2
Switch2(config-if-1/1/5-vrid-1)#ip-address 192.53.5.1
Switch2(config-if-1/1/5-vrid-1)#activate
The
backup
command specifies that this router is a VRRP Backup for virtual router VRID1. The IP address entered with the
ip-address
command is the same IP address as the one entered when configuring Switch 1. In this case, the IP address cannot also exist on Switch
2, but the interface on which you are configuring the VRID Backup must have an IP address in the same subnet. By entering the same IP
address as the one associated with this VRID on the Owner, you are configuring the Backup to back up the address, but you are not
duplicating the address.
NOTE
When you configure a Backup router, the router interface on which you are configuring the VRID must have a real IP address
that is in the same subnet as the address associated with the VRID by the Owner. However, the address cannot be the same.
The
priority
parameter establishes the router VRRP priority in relation to the other VRRP routers in this virtual router. The
track-priority
parameter specifies the new VRRP priority that the router receives for this VRID if the interface goes down.
The
activate
command activates the VRID configuration on this interface. The interface does not provide backup service for the virtual IP
address until you activate the VRRP configuration. Alternatively, you can use the
enable
command. The
activate
and
enable
commands
do the same thing.
Syntax:
router
vrrp
Configuration examples
FastIron Ethernet Switch Layer 3 Routing
554
53-1003627-04
Summary of Contents for FastIron SX 1600
Page 2: ...FastIron Ethernet Switch Layer 3 Routing 2 53 1003627 04 ...
Page 16: ...FastIron Ethernet Switch Layer 3 Routing 16 53 1003627 04 ...
Page 20: ...FastIron Ethernet Switch Layer 3 Routing 20 53 1003627 04 ...
Page 142: ...FastIron Ethernet Switch Layer 3 Routing 142 53 1003627 04 ...
Page 150: ...FastIron Ethernet Switch Layer 3 Routing 150 53 1003627 04 ...
Page 200: ...FastIron Ethernet Switch Layer 3 Routing 200 53 1003627 04 ...
Page 214: ...FastIron Ethernet Switch Layer 3 Routing 214 53 1003627 04 ...
Page 350: ...FastIron Ethernet Switch Layer 3 Routing 350 53 1003627 04 ...
Page 476: ...FastIron Ethernet Switch Layer 3 Routing 476 53 1003627 04 ...
Page 588: ...FastIron Ethernet Switch Layer 3 Routing 588 53 1003627 04 ...