Administrator Guide

Layer 3 Routing Commands 1269
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.
Syntax
ip bgp-community new-format
no ip bgp-community new-format
Default Configuration
Standard communities are displayed in AA:NN format.
Command Mode
Global Configuration mode
User Guidelines
RFC 1997 specifies that the first two bytes of a community number are
considered to be an autonomous system number. The new format displays a
community number as the ASN followed by a 16-bit AS-specific number.
Command History
Introduced in version 6.2.0.1 firmware.
Example
console(config)# ip bgp-community new-format
2CSNXXX_SWUM204.book Page 1269 Monday, January 25, 2016 1:25 PM