on 08-13-2014 05:05 PM - edited on 03-25-2019 06:19 PM by ciscomoderator
VPC Gateway Redundancy with the CSR 1000v
Hi,
tested vPC Gateway Redundancy feature but struggeled a bit ->
!event manager environment RTB rtb-824519ebevent manager environment ENI eni-fa13f087event manager environment CIDR 0.0.0.0/0event manager environment REGION eu-central/192.168.0.2event 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 routeTest-vPC-A#
Can you hlep here ?
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"
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: