![Dell Brocade DCX Configuration Manual Download Page 823](http://html.mh-extra.com/html/dell/brocade-dcx/brocade-dcx_configuration-manual_85983823.webp)
BigIron RX Series Configuration Guide
751
53-1001810-01
Defining an AS-path filter
26
If you enable the software to display IP subnet masks in CIDR format, the mask is saved in the file
in “/
<mask-bits>
” format. To enable the software to display the CIDR masks, enter the ip
show-subnet-length command at the global CONFIG level of the CLI. You can use the CIDR format
to configure the filter regardless of whether the software is configured to display the masks in CIDR
format.
The
<mask>
parameter specifies the network mask. If you want the filter to match on all
destination addresses, enter any. The wildcard works the same as described above.
Defining an AS-path filter
To define an AS-path filter, enter the command such as the following.
BigIron RX(config-bgp)# as-path-filter 4 permit 2500
The command defines AS-path filter 4 to permit AS 2500.
Syntax: [no] as-path-filter
<num>
permit | deny
<as-path>
The
<num>
parameter identifies the filter’s position in the AS-path filter list and can be from 1 –
100. Thus, the AS-path filter list can contain up to 100 filters. The device applies the filters in
numerical order, beginning with the lowest-numbered filter. When a filter match is true, the device
stops and does not continue applying filters from the list.
NOTE
If the filter is referred to by a route map’s match statement, the filter is applied in the order in which
the filter is listed in the match statement.
The permit | deny parameter indicates the action the router takes if the filter match is true.
•
If you specify permit, the router permits the route into the BGP4 table if the filter match is true.
•
If you specify deny, the router denies the route from entering the BGP4 table if the filter match
is true.
The
<as-path>
parameter indicates the AS-path information. You can enter an exact AS-path string
if you want to filter for a specific value. You also can use regular expressions in the filter string.
Defining a community filter
To define filter 3 to permit routes that have the NO_ADVERTISE community, enter the following
command.
BigIron RX(config-bgp)# community-filter 3 permit no-advertise
Syntax: [no] community-filter
<num>
permit | deny
<num>
:
<num>
| internet | local-as |
no-advertise | no-export
The
<num>
parameter identifies the filter’s position in the community filter list and can be from 1 –
100. Thus, the community filter list can contain up to 100 filters. The router applies the filters in
numerical order, beginning with the lowest-numbered filter. When a filter match is true, the router
stops and does not continue applying filters from the list.
Summary of Contents for Brocade DCX
Page 40: ...xl BigIron RX Series Configuration Guide 53 1001810 01 ...
Page 72: ...lxxii BigIron RX Series Configuration Guide 53 1001810 01 ...
Page 88: ...16 BigIron RX Series Configuration Guide 53 1001810 01 Searching and filtering output 1 ...
Page 300: ...228 BigIron RX Series Configuration Guide 53 1001810 01 Displaying IP information 7 ...
Page 318: ...246 BigIron RX Series Configuration Guide 53 1001810 01 Deploying a LAG 8 ...
Page 418: ...346 BigIron RX Series Configuration Guide 53 1001810 01 SuperSpan 12 ...
Page 482: ...410 BigIron RX Series Configuration Guide 53 1001810 01 MRP CLI example 14 ...
Page 506: ...434 BigIron RX Series Configuration Guide 53 1001810 01 Displaying VSRP information 15 ...
Page 582: ...510 BigIron RX Series Configuration Guide 53 1001810 01 Viewing Layer 2 ACLs 20 ...
Page 634: ...562 BigIron RX Series Configuration Guide 53 1001810 01 Troubleshooting ACLs 21 ...
Page 642: ...570 BigIron RX Series Configuration Guide 53 1001810 01 Trunk formation 22 ...
Page 746: ...674 BigIron RX Series Configuration Guide 53 1001810 01 Displaying RIP filters 24 ...
Page 808: ...736 BigIron RX Series Configuration Guide 53 1001810 01 Displaying OSPF information 25 ...
Page 938: ...866 BigIron RX Series Configuration Guide 53 1001810 01 Displaying MBGP information 27 ...
Page 950: ...878 BigIron RX Series Configuration Guide 53 1001810 01 Using secure copy 28 ...
Page 988: ...916 BigIron RX Series Configuration Guide 53 1001810 01 Clearing IS IS information 29 ...
Page 1054: ...982 BigIron RX Series Configuration Guide 53 1001810 01 Sample 802 1x configurations 33 ...
Page 1108: ...1036 BigIron RX Series Configuration Guide 53 1001810 01 sFlow 39 ...
Page 1190: ...1118 BigIron RX Series Configuration Guide 53 1001810 01 Displaying RIPng information 44 ...
Page 1270: ...1198 BigIron RX Series Configuration Guide 53 1001810 01 Displaying ACLs 47 ...
Page 1310: ...1238 BigIron RX Series Configuration Guide 53 1001810 01 Displaying OSPFv3 information 48 ...
Page 1382: ...1310 BigIron RX Series Configuration Guide 53 1001810 01 Commands That Require a Reload D ...
Page 1435: ...BigIron RX Series Configuration Guide 1363 53 1001810 01 VSRP E ...
Page 1436: ...1364 BigIron RX Series Configuration Guide 53 1001810 01 VSRP E ...