Netgear M4300-48X (XSM4348CS) - Stackable Switches with Full PoE+ Provisioning Administrator's Guide

Page of 688
VRRP 
157
 Managed Switches
VRRP on a Master Router
This example shows how to configure the 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.
3. 
Enable VRRP for the switch. 
4. 
Assign virtual router IDs to port that will participate in the protocol.
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.
6. 
Enable VRRP on the port. 
(Netgear Switch) #config 
(Netgear Switch) (Config)#ip routing 
(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
(Netgear Switch) (Config)#ip vrrp
(Netgear Switch) (Config)#interface 1/0/2
(Netgear Switch) (Interface 1/0/2)#ip vrrp 20 
(Netgear Switch) (Interface 1/0/2)#ip vrrp 20 ip 192.150.2.1
(Netgear Switch) (Interface 1/0/2)#ip vrrp 20 mode
(Netgear Switch) (Interface 1/0/2)#exit
(Netgear Switch) (Config)#exit