Microsoft ES4625 Manuale Utente

Pagina di 674
Router Redundancy Commands
4-315
4
Virtual Router Redundancy Protocol Commands
To configure VRRP, select an interface on one router in the group to serve as the 
master virtual router. This physical interface is used as the virtual address for the 
router group. Now set the same virtual address and a priority on the backup routers, 
and configure an authentication string. You can also enable the preempt feature 
which allows a router to take over as the master router when it comes on line.
vrrp ip
This command enables the Virtual Router Redundancy Protocol (VRRP) on an 
interface and specify the IP address of the virtual router. Use the no form to disable 
VRRP on an interface and remove the IP address from the virtual router.
Syntax 
[no] vrrp group ip ip-address [secondary]
• group - Identifies the virtual router group. (Range: 1-255)
• ip-address - The IP address of the virtual router.
• secondary - Specifies additional secondary IP addresses assigned to the 
current VLAN interface that are supported by this VRRP group.
Default Setting 
No virtual router groups are configured. 
Command Mode 
Interface (VLAN)
Table 4-112   VRRP Commands
Command
Function
Mode
Page
vrrp ip
Enables VRRP and sets the IP address of the virtual router IC
vrrp authentication key
Configures a key used to authenticate VRRP packets 
received from other routers 
IC
vrrp priority
Sets the priority of this router in the VRRP group
IC
vrrp timers advertise
Sets the interval between successive advertisements by 
the master virtual router 
IC
vrrp preempt
Configures the router to take over as master virtual router 
for a VRRP group if it has a higher priority than the current 
master virtual router
IC
show vrrp
Displays VRRP status information
PE
show vrrp interface
Displays VRRP status information for the specified interface PE
show vrrp router counters
Displays VRRP statistics 
PE
show vrrp interface counters Displays VRRP statistics for the specified interface
PE
clear vrrp router counters
Clears VRRP router statistics
PE
clear vrrp interface counters Clears VRRP interface statistics
PE