Replies: 1 comment
-
Sending communities is enabled by default - that's why you don't see it in running-config. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have configured neighbor send-community command in the bgp session.
but the same is not shown in the show running-config.
is it expected?
(functionality is working fine)
c4c3989cc2da# show version
FRRouting 9.1-dev-my-manual-build (c4c3989cc2da) on Linux(5.4.0-166-generic).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
configured with:
'--prefix=/usr' '--localstatedir=/var/run/frr' '--sbindir=/usr/lib/frr' '--sysconfdir=/etc/frr' '--enable-sharpd' '--enable-multipath=64' '--enable-user=frr' '--enable-group=frr' '--enable-config-rollbacks' '--enable-vty-group=frrvty' '--enable-snmp=agentx' '--enable-scripting' '--with-pkg-extra-version=-my-manual-build'
c4c3989cc2da#
c4c3989cc2da(config)# router bgp 11
c4c3989cc2da(config-router)# address-family ipv4 unicast
c4c3989cc2da(config-router-af)# neighbor 172.18.0.3 send-community
c4c3989cc2da(config-router-af)#
send-community statement is missing in show run
c4c3989cc2da# show running-config
Building configuration...
Current configuration:
!
frr version 9.1-dev-my-manual-build
frr defaults traditional
hostname c4c3989cc2da
no ipv6 forwarding
!
router bgp 11
bgp log-neighbor-changes
no bgp ebgp-requires-policy
neighbor 172.18.0.3 remote-as 22
!
address-family ipv4 unicast
network 10.2.1.0/24
network 10.2.2.0/24
network 10.2.3.0/24
neighbor 172.18.0.3 soft-reconfiguration inbound
neighbor 172.18.0.3 route-map pref-comm out
exit-address-family
exit
!
ip prefix-list 1 seq 5 permit 10.2.1.0/24
ip prefix-list 2 seq 5 permit 10.2.2.0/24
ip prefix-list 3 seq 5 permit 10.2.3.0/24
!
route-map pref-comm permit 5
match ip address prefix-list 1
set community 50:50
exit
!
route-map pref-comm permit 10
match ip address prefix-list 2
set community 100:100
exit
!
route-map pref-comm permit 15
match ip address prefix-list 3
set community 150:150
exit
!
route-map pref-comm permit 20
exit
!
end
c4c3989cc2da#
Beta Was this translation helpful? Give feedback.
All reactions