Dell S50V Switch User Manual


  Open as PDF
of 1262
 
248 | Border Gateway Protocol IPv4 (BGPv4)
www.dell.com | support.dell.com
Use these commands in the following sequence, starting in the CONFIGURATION mode to configure an
IP community list.
Use these commands in the following sequence, starting in the CONFIGURATION mode to configure an
IP extended community list.
To set or modify an extended community attribute, use the
set extcommunity {rt | soo} {ASN:NN |
IPADDR:NN} command.
To view the configuration, use the
show config command in the CONFIGURATION
COMMUNITY-LIST or CONFIGURATION EXTCOMMUNITY LIST mode or the
show ip
{community-lists | extcommunity-list} command
in EXEC Privilege mode (Figure 10-28).
Step Command Syntax Command Mode Purpose
1
ip community-list
community-list-name
CONFIGURATION Create a Community list and enter the
COMMUNITY-LIST mode.
2
{deny | permit}
{community-number | local-AS
| no-advertise | no-export |
quote-regexp
regular-expression-list | regexp
regular-expression}
CONFIG-COMMUNITY-
LIST
Configure a Community list by denying or permitting
specific community numbers or types of community
community-number: use AA:NN format where AA
is the AS number (2 or 4 Bytes) and NN is a value
specific to that autonomous system.
local-AS: routes with the COMMUNITY
attribute of NO_EXPORT_SUBCONFED.
no-advertise: routes with the COMMUNITY
attribute of NO_ADVERTISE.
no-export: routes with the COMMUNITY
attribute of NO_EXPORT.
quote-regexp: followed by any number of
regular expressions. The software applies all
regular expressions in the list.
regexp: followed by a regular expression.
Step Command Syntax Command Mode Purpose
1 ip extcommunity-list
extcommunity-list-name
CONFIGURATION Create a extended community list and enter the
EXTCOMMUNITY-LIST mode.
2
{permit | deny} {{rt | soo}
{ASN:NN | IPADDR:N} | regex
REGEX-LINE}
CONFIG-COMMUNITY-
LIST
Two types of extended communities are supported.
Filter routes based on the type of extended
communities they carry using one of the following
keywords:
rt: Route Target
soo: Route Origin or Site-of-Origin.
Support for matching extended communities against
regular expression is also supported. Match against a
regular expression using the following keyword:
regexp: regular expression