OcNOS-SP : Layer 3 Guide : Border Gateway Protocol Command Reference : BGP Commands : ip community-list <1-99>
ip community-list <1-99>
Use this command to specify a standard community list (1 to 99) that specifies BGP community attributes.
Use the no parameter with this command to delete the community list entry.
Command Syntax
ip community-list <1-99> (deny|permit)
ip community-list <1-99> (deny|permit) [AA:NN|internet|local-AS|no-advertise|no-export]
no ip community-list <1-99> (deny|permit)
no ip community-list <1-99> (deny|permit) [AA:NN|internet|local-AS|no-advertise|no-export]
Parameters
deny
Reject the community
permit
Accept the community
AA:NN
Community number
internet
Advertise routes to the internet community
local-AS
Do not advertise routes to external BGP peers
no-advertise
Do not advertise routes to other BGP peers
no-export
Do not advertise routes outside of Autonomous System boundary
Default
By default, ip community list is disabled
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#ip community-list 55 permit 7675:80 7675:90
 
(config)#no ip community-list 55 permit 7675:80 7675:90
Last modified date: 10/16/2023