1. Anuj Kumar
ciscobulls@gmail.com
CCNP SWITCH
PORTABLE STUDY GUIDE
&
PRACTICE WORK BOOK
ANUJ KUMAR
email:- ciscobulls@gmail.com
anuj_dev007@yahoo.com
networkbulls.com
2. Anuj Kumar
ciscobulls@gmail.com
VRRP
Virtual Router Redundancy Protocol
Feature: -
Like HSRP, VRRP is a default gateway redundancy method.
RFC 2338
Similar in functionality to HSRP
The virtual router, representing a group of routers, is known as a VRRP group.
Cisco switches and routers support VRRP on Ethernet, Fast Ethernet, and Gigabit Ethernet interfaces, and on
MPLS VPNs and VLANs.
The virtual router can use a physical IP address or a virtual IP address.
VRRP group no range 0 to 255.
VRRP router priority range from 1 to 254 (100 is the default priority of VRRP router)
VRRP provides on redundant gateway address from a group of routers. The Active router is called Master router,
even all other router are in backup state. The master router has highest priority in the VRRP group.
VRRP sends its advertisements to the multicast address 224.0.0.18.
It using IP protocol 445.
The advertisement interval timer (default 1 second, hold 3 second)
Preempt is by default is enable, you can manually disable it.
It uses two types authentication for advertisement.
Configuration of VRRP
4. Anuj Kumar
ciscobulls@gmail.com
R3(config-if)#no shutdown
R3(config-if)#router ei 100
R3(config-router)#network 192.168.101.0
R3(config-router)#network 11.1.1.0 0.0.0.255
R3(config-router)#no auto-summary
R3(config)#int f0/0
R3(config-if)#vrrp 1 ip 192.168.101.1
*Mar 1 00:47:13.987: %VRRP-6-STATECHANGE: Fa0/0 Grp 1 state Init -> Backup
*Mar 1 00:47:17.599: %VRRP-6-STATECHANGE: Fa0/0 Grp 1 state Backup -> Master
Note: - first we implement VRRP, In VRRP which has highest router id it will become Master.
*Mar 1 00:51:35.711: %VRRP-6-STATECHANGE: Fa0/0 Grp 1 state Master -> Backup
Tacking
R3(config)#track 1 interface serial 0/0 line-protocol
R3(config)#interface f0/0
R3(config-if)#vrrp 1 track 1
Verifying Command: -
R2#sh vrrp
FastEthernet0/0 - Group 1
State is Master
Virtual IP address is 192.168.101.1
Virtual MAC address is 0000.5e00.0101
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 101
Track object 1 state Up decrement 10
Master Router is 192.168.101.2 (local), priority is 101
Master Advertisement interval is 1.000 sec
Master Down interval is 3.605 sec
R3# sh vrrp
FastEthernet0/0 - Group 1
State is Backup
Virtual IP address is 192.168.101.1
Virtual MAC address is 0000.5e00.0101
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 100
Track object 1 state Up decrement 10
Master Router is 192.168.101.2, priority is 101
Master Advertisement interval is 1.000 sec
5. Anuj Kumar
ciscobulls@gmail.com
Master Down interval is 3.609 sec (expires in 2.761 sec)
R2#sh vrrp brief
Interface Grp Pri Time Own Pre State Master addr Group addr
Fa0/0 1 101 3605 Y Master 192.168.101.2 192.168.101.1
R3#sh vrrp brief
Interface Grp Pri Time Own Pre State Master addr Group addr
Fa0/0 1 100 3609 Y Backup 192.168.101.2 192.168.101.1