[FROG] BGP state shows NoNeg for IPv4 LU neighbor
Thiruvazhiyan Lakshmanan
TL0041926 at TechMahindra.com
Mon Jul 9 14:50:59 EDT 2018
Hi,
I am trying to use FRR in my VM for BGP 3107 functionality. While configuring the BGP neighbor with address family "ipv4 labeled-unicast", the neighbor state shows NoNeg. But the peer side router shows established. I also noticed the routes are learnt in FRR from peer router and installed in the route table. But, I am trying to advertise my VM loopback to the LU neighbor, which is not happening. Can someone help me on this?
Below is the VM details,
root at ubuntu4-4-VM2:~# uname -r
4.16.18-041618-generic
root at ubuntu4-4-VM2:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
root at ubuntu4-4-VM2:~#
FRR version:
Total number of neighbors 1
ubuntu4-4-VM2# show version
FRRouting 5.0 (ubuntu4-4-VM2).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
configured with:
'--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libexecdir=${prefix}/lib/frr' '--disable-maintainer-mode' '--disable-dependency-tracking' '--enable-exampledir=/usr/share/doc/frr/examples/' '--localstatedir=/var/run/frr' '--sbindir=/usr/lib/frr' '--sysconfdir=/etc/frr' '--disable-snmp' '--enable-ospfapi=yes' '--enable-multipath=256' '--enable-ldpd' '--disable-tcp-zebra' '--enable-fpm' '--enable-user=frr' '--enable-group=frr' '--enable-vty-group=frrvty' '--enable-configfile-mask=0640' '--enable-logfile-mask=0640' '--enable-werror' '--with-libpam' '--enable-systemd=yes' '--enable-poll=yes' '--enable-cumulus=no' '--enable-pimd' '--enable-dependency-tracking' '--enable-bgp-vnc=yes' '--disable-rpki' 'CFLAGS=-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security' 'FCFLAGS=-g -O2 -fPIE -fstack-protector-strong' 'FFLAGS=-g -O2 -fPIE -fstack-protector-strong' 'GCJFLAGS=-g -O2 -fPIE -fstack-protector-strong' 'LDFLAGS=-Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now' 'OBJCFLAGS=-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security' 'OBJCXXFLAGS=-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security' 'build_alias=x86_64-linux-gnu'
ubuntu4-4-VM2#
FRR configuration,
ubuntu4-4-VM2# sh running-config
Building configuration...
Current configuration:
!
frr version 5.0
frr defaults traditional
hostname ubuntu4-4-VM2
log syslog informational
no ip forwarding
no ipv6 forwarding
service integrated-vtysh-config
username cumulus nopassword
!
interface lo
ip address 10.10.100.11/32 label lo:10
!
router bgp 7018
neighbor 10.10.101.1 remote-as 7018
!
address-family ipv4 unicast
network 10.0.0.0/8 label-index 3
no neighbor 10.10.101.1 activate
exit-address-family
!
address-family ipv4 labeled-unicast
neighbor 10.10.101.1 activate
neighbor 10.10.101.1 next-hop-self
neighbor 10.10.101.1 route-map ADV_Lo10 out
exit-address-family
!
route-map ADV_Lo10 permit 10
match ip address 10.10.100.11/32
match source-protocol connected
!
line vty
!
end
ubuntu4-4-VM2# sh ip bg sum
IPv4 Labeled Unicast Summary:
BGP router identifier 10.10.100.11, local AS number 7018 vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 20 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.10.101.1 4 7018 9337 8553 0 0 0 2d23h15m NoNeg
Total number of neighbors 1
ubuntu4-4-VM2#
ubuntu4-4-VM2# show ip bgp ipv4 labeled-unicast neighbors 10.10.101.1 advertised-routes
% No such neighbor or address family
ubuntu4-4-VM2# show ip bgp ipv4 labeled-unicast neighbors 10.10.101.1 received-routes
% No such neighbor or address family
ubuntu4-4-VM2#
Displayed 26 routes and 26 total paths
ubuntu4-4-VM2# sh ip route
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR,
> - selected route, * - FIB route
K>* 0.0.0.0/0 [0/0] via 135.21.13.161, ens3, 2d23h58m
B>* 10.10.100.1/32 [200/0] via 10.10.101.1, bond0.11, label 306384, 2d23h58m
B>* 10.10.100.10/32 [200/0] via 10.10.101.1, bond0.11, label 306416, 2d23h58m
C>* 10.10.100.11/32 is directly connected, lo, 2d23h58m
C>* 10.10.101.0/30 is directly connected, bond0.11, 2d23h58m
C>* 10.10.101.32/30 is directly connected, bond0.12, 2d23h58m
B>* 10.10.101.36/30 [200/0] via 10.10.101.1, bond0.11, label 306432, 2d23h58m
B>* 10.10.101.40/30 [200/0] via 10.10.101.1, bond0.11, label 306368, 2d23h58m
B>* 10.10.252.1/32 [200/0] via 10.10.101.1, bond0.11, label 306048, 2d23h58m
B>* 10.10.252.2/32 [200/0] via 10.10.101.1, bond0.11, label 306064, 2d23h58m
Regards,
Thiruvazhiyan L
============================================================================================================================
Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html <http://www.techmahindra.com/Disclaimer.html> externally http://tim.techmahindra.com/tim/disclaimer.html <http://tim.techmahindra.com/tim/disclaimer.html> internally within TechMahindra.
============================================================================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20180709/d80d1f42/attachment.html>
More information about the frog
mailing list