SROS Command Line Interface Reference Guide
Community List Command Set
5991-2114
© Copyright 2007 Hewlett-Packard Development Company, L.P.
1329
permit [
<community-number>
| internet | local-as | no-export |
no-advertise]
Use the
permit
command to add an entry to the community list that allows only BGP routes containing the
specified community number in the community attribute. Use the
no
form of this command to remove the
statement from the community list.
Syntax Description
<community-number>
Permits routes that contain this value in their community attribute. This is a
numeric value that can be an integer from 1 to 4,294,967,295 or string in the form
“aa:nn", where the value of "aa" is the AS number and the value of "nn" is the
community number. Multiple community-number parameters can be present in
the command.
internet
Permits routes that contain this value in their community attribute. This represents
the well-known reserved community number for the INTERNET community.
local-as
Permits routes that contain this value in their community attribute. This represents
the well-known reserved community number for NO_EXPORT_SUBCONFED.
Routes containing this attribute should not be advertised to external BGP peers.
no-export
Permits routes containing this value in their community attribute. This represents
the well-known reserved community number for NO_EXPORT. Routes containing
this attribute should not be advertised to BGP peers outside a confederation
boundary.
no-advertise
Permits routes containing this value in their community attribute. This represents
the well-known reserved community number for NO_ADVERTISE. Routes
containing this attribute should not be advertised to any BGP peer.
Default Values
No default value necessary for this command.
Usage Examples
The following example creates a community list (
MyList
) to permit BGP routes that have the INTERNET
community number in their community attribute:
ProCurve(config)
#ip community-list MyList
ProCurve(config-comm-list)
#permit internet