Enabling Trace Messages for IPv6 VRRP Troubleshooting

Use this procedure to enable trace messages for IPv6 VRRP.

When VRRP is enabled on two routing switches, the master-backup relationship forms with one router taking the responsibility of routing. If the master-backup relationship is not formed between the VRRP virtual routers, look for the following trace messages to ensure that the master is sending the advertisements correctly and the backup is processing them.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. To troubleshoot IPv6 VRRP, you can enable RCIP6 trace messages with the command:

    trace level 66 3

  3. And to provide additional trace information, you can also enable the following traces:

    trace ipv6 nd enable

    trace ipv6 base enable all

    trace ipv6 forwarding enable all

    trace ipv6 rtm enable all

    trace ipv6 transport enable all

  4. When VRRP is enabled on two routing switches, the master-backup relationship forms with one router taking the responsibility of routing. If the master-backup relationship is not formed between the VRRP virtual routers, look for the following trace messages to ensure that the master is sending the advertisements correctly and the backup is processing them. On the master router, look for the following RCIP6 trace messages.
    • tMainTask RCIP6: rcip6_vrrp.c: 5118: VRF name: GlobalRouter (VRF id 0): ipv6VrrpTic: Am Master for Vrid 200 on IfIndex 2053 Timer 1

      If VRRP is enabled on the interface, this timer kicks off every second and shows the state for the VRID.

    • [11/18/09 15:08:20:383] tMainTask RCIP6: rcip6_vrrp.c: 5924: ipv6VrrpSendAdvertisement: for Vrid 200 on IfIndex 2053

      [11/18/09 15:08:20:583] tMainTask RCIP6: rcip6_vrrp.c: 5175: VRF name: GlobalRouter (VRF id 0): ipv6VrrpTic: ipv6VrrpSendAdvertisement

    The preceding trace messages show that the VRRP master is sending the advertisements correctly at the end of advertisement interval for a VRID.

  5. On the backup router, look for the following RCIP6 trace messages.
    • tMainTask RCIP6: rcip6_vrrp.c: 5236: VRF name: GlobalRouter (VRF id 0): ipv6VrrpTic: Am Backup for VrId 200 on IfIndex 2052 Timer 1

    • tMainTask RCIP6: rcip6_vrrp.c: 4854: ipv6VrrpIn: Vrid 200 on IfIndex 2052

    • tMainTask RCIP6: rcip6_vrrp.c: 5545: VRF name: GlobalRouter (VRF id 0): rcIpVrrpProcessAdvt: Am backup for Vrid 200 on IfIndex 2052

    The preceding trace messages show that the backup router is receiving the advertisements sent by the master and correctly processing them.