cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1759
Views
0
Helpful
2
Comments
Ching-Fen Lin
Cisco Employee
Cisco Employee

VPC Gateway Redundancy with the CSR 1000v

Comments
neidlein.p
Level 1
Level 1

Hi,

tested vPC Gateway Redundancy feature but struggeled a bit ->

!
event manager environment RTB rtb-824519eb
event manager environment ENI eni-fa13f087
event manager environment CIDR 0.0.0.0/0
event manager environment REGION eu-central/192.168.0.2
event manager applet replace-route2
event syslog pattern "\(Tunnel0\) is down: BFD peer down notified"
action 1.0 syslog msg "Will now change route"
action 2.0 publish-event sub-system 55 type 55 arg1 "$RTB" arg2 "$CIDR" arg3 "$ENI" arg4 "$REGION"
!

I tested it in Frankfurt with a 192.168.0.0/16 vPC

The CSR had the IAM Role to "ChangeRoute"

Syslog :

*Mar 26 20:56:59.994: %BFDFSM-6-BFD_SESS_DOWN: BFD-SYSLOG: BFD session ld:4097 handle:1,is going Down Reason: ECHO FAILURE
*Mar 26 20:56:59.994: %BFD-6-BFD_SESS_DESTROYED: BFD-SYSLOG: bfd_session_destroyed, ld:4097 neigh proc:EIGRP, handle:1 act
*Mar 26 20:56:59.996: %DUAL-5-NBRCHANGE: EIGRP-IPv4 1: Neighbor 1.1.1.2 (Tunnel0) is down: BFD peer down notified
*Mar 26 20:56:59.996: %HA_EM-6-LOG: replace-route2: Will now change route
Test-vPC-A#

Can you hlep here ?

fangu
Level 4
Level 4

Hi, Sorry didn't see this question earlier.

Most likely you are hitting the bug CSCuy96961.

Here is the workaround:

Add the following eem to both CSR configuration and reboot the router. This should be fixed in IOS-XE 16.3.

event manager applet restart-csrmgmt
 description "disable/enable csr_mgmt after Gi1 gets DHCP IP address"
 event syslog pattern "%DHCP-6-ADDRESS_ASSIGN: Interface GigabitEthernet1"
 action 1.0 syslog msg "%dCloud-vPodGW: Starting eem restart-csrmgmt"
 action 1.1 cli command "enable"
 action 1.2 cli command "config terminal"
 action 1.3 cli command "virtual-service csr_mgmt"
 action 1.4 cli command "no activate"
 action 1.5 syslog msg "%dCloud-vPodGW: Disabled csr_mgmt and waiting for 10 seconds"
 action 1.6 wait 10
 action 1.7 cli command "activate"
 action 1.8 syslog msg "%dCloud-vPodGW: Enabled csr_mgt and exiting eem restart-csrmgmt"
 action 1.9 cli command "end"

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: