Switch 7700 Command reference Guide, v2.0

Table Of Contents
BGP Configuration Commands 207
Parameter
as-regular-expression: Matched AS regular expression.
Description
Use the display bgp routing-table regular-expression command to view
the routing information matching the specified AS regular expression
Example
Display the routing information matched with ^200$.
<SW7700>display bgp routing-table regular-expression ^200$
Flags: # - valid, ^ - best,
D - damped, H - history,
I - internal, S Ð aggregate suppressed
Destination/Mask Pref Next-hop Med Local-Pref
Origin Path
--------------------------------------------------------------------
1.1.1.0/24 256 10.10.10.1 0 IGP 200
1.1.2.0/24 256 10.10.10.1 0 IGP 200
1.1.3.0/24 256 10.10.10.1 0 IGP 200
2.2.3.0/24 256 10.10.10.1 0 INC 200
4.4.4.0/24 256 10.10.10.1 0 IGP 200
9.9.9.0/24 256 10.10.10.1 0 INC 200
10.10.10.0/24 256 10.10.10.1 0 IGP 200
For detailed description of the output information, see Ta b le 13.
filter-policy export Syntax
filter-policy { acl_number | ip-prefix ip_prefix_name } export [
protocol ]
undo filter-policy { acl_number | ip-prefix ip_prefix_name } export [
protocol ]
View
BGP view
Parameter
acl_number: Number of IP access control list.
ip_prefix_name: Number of ip prefix list.
protocol: Specified protocols advertising routing information which include
direct, ospf, ospf-ase, ospf-nssa, rip and static.
Description
Use the filter-policy export command to filter the advertised routes and
only the routes passing the filter can be advertised by BGP.
Use the undo filter-policy export command to cancel the filtration to the
advertised routes.
By default, filtration to the received routing information is not configured.