Sun Ethernet Fabric Operating System VRRP Administration Guide

Exit Print View

Updated: July 2015
 
 

Enable Preempt Mode

See the first figure in VRRP Topology for the toplology in this example. You can configure VRRP to preempt the existing router. This means that if a new VRRP router is added to the network with priority higher than the existing routers, then the new router becomes the master. If preemption is disabled, then the new router will not become a master. This router becomes master only when the current master is down, that is, only when it does not receive any advertisement packets from the current master. By default, preempt mode is enabled.

  1. In switch 1 and switch 2, enable preempt mode.
    SEFOS# configure terminal
    SEFOS(config)# router vrrp
    SEFOS(config-vrrp)# interface vlan 2
    SEFOS(config-vrrp-if)# vrrp 1 preempt
    SEFOS(config-vrrp-if)# end
    
  2. View the preemption status in switch 1.
    SEFOS# show vrrp interface vlan 2 detail
    vlan2  - vrID 1
    ---------------
    State is Master
    Virtual IP address is 12.0.0.5
    Virtual MAC address is 00:00:5e:00:01:01
    Master router is 12.0.0.5
    Associated IpAddresses :
    ----------------------
    12.0.0.5
    12.0.0.6
    Advertise time is 1 secs
    Current priority is 200
    Configured priority is 200, may preempt
    Accept Mode Disabled
    
  3. View the preemption status in switch 2.
    SEFOS# show vrrp interface vlan 2 detail
    vlan2  - vrID 1
    ---------------
    State is Backup
    Virtual IP address is 12.0.0.5
    Virtual MAC address is 00:00:5e:00:01:01
    Master router is 12.0.0.5
    Associated IpAddresses :
    ----------------------
    12.0.0.5
    12.0.0.6
    Advertise time is 1 secs
    Current priority is 150
    Configured priority is 150, may preempt
    Accept Mode Disabled