130 | Chapter 9. VRRP
ProSafe M4100 and M7100 Managed Switches
VRRP on a Master Router
This example shows how to configure the M4100 and M7100 Managed Switch to support
VRRP. Router 1 is the default master router for the virtual route, and Router 2 is the backup
router.
CLI: Configure VRRP on a Master Router
1. Enable routing for the switch. IP forwarding will then be enabled by default.
2. Configure the IP addresses and subnet masks for the port that will participate in the protocol.
(Netgear Switch) (Config)#interface 1/0/2
(Netgear Switch) (Interface 1/0/2)#routing
(Netgear Switch) (Interface 1/0/2)#ip address 192.150.2.1 255.255.0.0
(Netgear Switch) (Interface 1/0/2)#exit
3. Enable VRRP for the switch.
(Netgear Switch) (Config)#ip vrrp
4. Assign virtual router IDs to port that will participate in the protocol.
(Netgear Switch) (Config)#interface 1/0/2
(Netgear Switch) (Interface 1/0/2)#ip vrrp 20
5. Specify the IP address that the virtual router function will recognize. Note that the virtual IP
address on port 1/0/2 is the same as the port’s actual IP address therefore, this router will
always be the VRRP master when it is active. The default priority is 255.
(Netgear Switch) (Interface 1/0/2)#ip vrrp 20 ip 192.150.2.1
6. Enable VRRP on the port.
(Netgear Switch) (Interface 1/0/2)#ip vrrp 20 mode
(Netgear Switch) (Interface 1/0/2)#exit
(Netgear Switch) (Config)#exit
(Netgear Switch) #config
(Netgear Switch) (Config)#ip routing