DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
87
7-33 ip community-list
This command is used to create a community list or add a community list entry to an existing community list. Use the
no form of this command to delete the community list or one of its entries.
Standard Community Lists:
ip community-list standard
COMMUNITY-LIST-NAME
[{permit | deny}
COMMUNITY
]
no ip community-list standard
COMMUNITY-LIST-NAME
[{permit | deny}
COMMUNITY
]
Expanded Community Lists:
ip community-list expanded
COMMUNITY-LIST-NAME
[{permit | deny}
REGEXP
]
no ip community-list expanded
COMMUNITY-LIST-NAME
[{permit | deny}
REGEXP
]
Parameters
Example
This example shows how to delete an entry in an AS path access list, earlier
configured.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#no ip as-path access-list mylist deny ^65535$
DXS-3600-32S(config)#
Example
After that, the AS path access list, called ‘mylist’, has no entry, but it still exists.
The following example show how to delete an AS path access list, no matter whether
it has entries or not.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#no ip as-path access-list mylist
DXS-3600-32S(config)#
COMMUNITY-LIST-NAME
Specifies the community list name. It can accept up to 16 characters. The syntax is
general string that does not allow space.
permit
Specifies the community to accept.
deny
Specifies the community to reject.
COMMUNITY
Specifies the community value, which is a 32-bit integer. It can be a user-specified
number represented by AA:NN, where AA (AS number) is the upper part of the word
and NN (community number, user-specified) is the lower part of the word.
It can also be one of the following reserved community values:
internet
- Specifies that routes are advertised to all peers (internal and external).
local-AS
- Specifies that routes not to be advertised to external BGP peers.
no-advertise
- Specifies that routes not to be advertised to other BGP peers.
no-export -
Specifies that routes not to be advertised outside of the Autonomous
System boundary.
REGEXP
Specifies to configures a regular expression that is used to specify a pattern to match
against an input string. Regular expressions can be used only with expanded
community lists. The maximum length is 80 characters.
Default
The BGP community exchange is disabled by default. It is enabled on a per-
neighbor basis with the neighbor send-community command.
The Internet community is applied to all routes or prefixes by default, until any other
community value is configured with this command or the set community command.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 8. (
EI Mode Only Command
)
Summary of Contents for DXS-3600-16S
Page 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Page 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Page 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Page 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Page 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Page 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Page 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...