821
Example
: Deactivating a Virtual Router numbered as 10
Switch(config)# router vrrp 10
Switch (Config-Router-Vrrp)# disable
21.3.5 enable
Commands: enable
Function
: Activates VRRP
Parameters:
N/A.
Default
: Not configured by default.
Command mode
: VRRP protocol configuration mode
Usage Guide
: Activates the appropriate Virtual Router. Only a router (or L3 Ethernet
switch) interface started by this enable command is part of Standby cluster. VRRP virtual
IP and interface must be configured first before starting Virtual Router.
Example
: Activating the Virtual Router of number 10
Switch(config)# router vrrp 10
Switch(Config-Router-Vrrp)# enable
21.3.6 interface
Commands:interface{IFNAME | Vlan <ID>}
no interface
Function
: Configures the VRRP interface
Parameters: interface{IFNAME | Vlan <ID>}
stands for the interface name.
Default
: Not configured by default.
Command mode
: VRRP protocol configuration mode
Usage Guide
: This command adds a layer 3 interface to an existing Standby cluster. The
"
no interface
" command removes the L3 interface from the specified Standby cluster.
Example
: Configuring the interface as "interface vlan 1"
Switch(Config-Router-Vrrp)# interface vlan 1
21.3.7 preempt-mode
Commands: preempt-mode{true| false}
Function
: Configures the preemptive mode for VRRP
Parameters
: N/A.
Command mode
: VRRP protocol configuration mode