NETGEAR 7000 Series Switch User Manual


 
NETGEAR 7000 Series Managed Switch Administration Guide Version 7.2
Virtual Router Redundancy Protocol 8-3
v1.0, May 2008
Example #1: Configure VRRP on a Master Router
The following is an example of configuring VRRP on a 7000 Series Managed Switch acting as the
master router:
Enable routing for the switch. IP forwarding will then be enabled
by default.
(Netgear Switch) #config
(Netgear Switch) (Config)#ip routing
Configure the IP addresses and subnet masks for the port that will
particpate 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.255.0
(Netgear Switch) (Interface 1/0/2)#exit
Enable VRRP for the switch.
(Netgear Switch) (Config)#ip vrrp
Assign virtual router IDs to the port that will particpate in the
protocol.
(Netgear Switch) (Config)#interface 1/0/2
(Netgear Switch) (Interface 1/0/2)#ip vrrp 20
Specify the IP address that the virtual router function will rec-
ognize. 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. And the priority default is
255.
(Netgear Switch) (Interface 1/0/2)#ip vrrp 20 ip 192.150.2.1
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