CLI Guide
Layer 3 Routing Commands 1287
Command History
Introduced in version 6.2.0.1 firmware.
Example
In the following example, the router is configured to reject routes received
from neighbor 172.20.1.1 with an AS path that indicates the route originates
in or passes through AS 100.
console(config)# ip as-path access-list 1 deny _100_
console(config)# ip as-path access-list 1 deny ^100$
console(config)# router bgp 1
console(config-router)# neighbor 172.20.1.1 remote-as 200
console(config-router)# neighbor 172.20.1.1 filter-list 1 in
ip bgp-community new-format
Use this command to display BGP standard communities in AA:NN format.
To display BGP standard communities as 32-bit integers, use the no form of
this command.
brackets [] Designates a range of single-character
patterns.
caret ^ Matches the beginning of the input
string.
dollar sign $ Matches the end of the input string.
hyphen - Separates the end points of a range.
period . Matches any single character, including
white space.
plus sign + Matches 1 or more sequences of the
pattern.
question mark ? Matches 0 or 1 occurrences of the
pattern.
underscore _ Matches a comma (,), left brace ({),
right brace (}), left parenthesis, right
parenthesis, the beginning of the input
string, the end of the input string, or a
space.