SROS Command Line Interface Reference Guide
Community List Command Set
5991-2114
© Copyright 2007 Hewlett-Packard Development Company, L.P.
1328
deny [
<community-number>
| internet | local-as | no-export |
no-advertise]
Use the
deny
command to add an entry to the community list that denies 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>
Denies 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
Denies routes that contain this value in their community attribute. This represents
the well-known reserved community number for the INTERNET community.
local-as
Denies 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
Denies 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
Denies 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 deny BGP routes that have the INTERNET
community number in their community attribute:
ProCurve(config)
#ip community-list MyList
ProCurve(config-comm-list)
#deny internet
Содержание ProCurve Secure 7102dl
Страница 2: ......
Страница 3: ...SROS Command Line Interface Reference Guide Software Version J 08 03 September 2007 61195880L1 35H ...
Страница 1454: ......