Users Guide

Table Of Contents
Layer 3 Routing Commands 1452
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
To display BGP standard communities in AA:NN format, use the ip bgp-
community new-format command. To display BGP standard communities as
32-bit integers, use the no form of this command.
Syntax
ip bgp-community new-format
no ip bgp-community new-format
Default Configuration
Standard communities are displayed in AA:NN format.
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.
Special
Character Symbol Behavior