Enterprise AV Home WiFi Mobile Wifi Support Shop Deals

This example shows how to configure the managed switch to support VRRP. Router 1 is the default master router for the virtual route, and Router 2 is the backup router.

  1. Enable routing for the switch. IP forwarding will then be enabled by default.

    (Netgear Switch) #config
    (Netgear Switch) (Config)#ip routing

     
  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


For more information, see the following support articles:

 

 

This article applies to the following managed switches and their respective firmware:

 

 

  • M5300 - firmware version 10.0.0.x
    • M5300-28G (GSM7228S)
    • M5300-5G (GSM7252S)
    • M5300-28G3 (GSM7328Sv2h2)
    • M5300-52G3 (GSM7352Sv2h2)
    • M5300-28G_POE+ (GSM7228PSv1h2)
    • M5300-52G-POE+ (GSM7252PSv1h2)
    • M5300-28GF3 (GSM7328FSv2)
  • XSM7224S - firmware version 9.0.1.x (license required to support the feature described in this article)


 

Last Updated:07/07/2025 | Article ID: 21704

Our team is here to help!

Phone
Chat
Email