Ip Bgp-Community New-Format - NETGEAR M6100 Series Reference Manual

Hide thumbs Also See for M6100 Series:
Table of Contents

Advertisement

Table 13. AS path regular expression syntax
Special Character
dollar sign
hyphen
period
plus sign
question mark
underscore
Command example:
The following example configures the router to reject routes that it receives from neighbor
172.20.1.1 with an AS path that indicates that the route originates in, or passes through, AS
100:
(NETGEAR Switch)(Config)# ip as-path access-list 1 deny _100_
(NETGEAR Switch)(Config)# ip as-path access-list 1 deny ^100$
(NETGEAR Switch)(Config)# router bgp 1
(NETGEAR Switch)(Config-router)# neighbor 172.20.1.1 remote-as 200
(NETGEAR Switch)(Config-router)# neighbor 172.20.1.1 filter-list 1 in
no ip as-path access-list
To delete an AS path access list, use the no ip as-path access-list command.
Format
no ip as-path access-list as-path-list-number
Mode
Global Configuration

ip bgp-community new-format

To display BGP standard communities in AA:NN format, use the ip bgp-community
new-format command in Global Configuration mode. 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.
Default
Standard communities are displayed in AA:NN format.
Format
ip bgp-community new-format
Mode
Global Configuration
M6100 Series Switches
Symbol
Behavior
$
Matches the end of the input string.
Separates the end points of a range.
.
Matches any single character, including white space.
+
Matches 1 or more sequences of the pattern.
?
Matches 0 or 1 occurrences of the pattern.
_
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.
Border Gateway Protocol Commands
878

Advertisement

Table of Contents
loading

Table of Contents