Using the Advanced Filters
Advanced filters let you customize the routing table display to show only the routes that you want to see. This release includes these advanced filter criteria:
Advanced Filter Criterion
|
Description
|
--route-filter
|
Shows active routes filtered by a specified parameter
|
--inactive-filter
|
Shows inactive routes filtered by a specified parameter
|
--dynamic-filter
|
Shows specified OSPF and BGP route information and makes sure that there are no inconsistencies between SGMs
|
Each advanced filter type has many different parameters that you can use to show a precisely filtered route list.
Advanced Filter Syntax and Parameters
You can combine many basic options on one line, but you can only use one advanced filter option at a time.
asg_route [basic_options] -n |--dyn-route <parameter>
Dynamic Route Parameter
|
Description
|
ospf
|
Shows OSPF interfaces and neighbors
|
rip
|
Shows RIP interfaces and neighbors
|
bgp
|
Shows BGP peers
|
asg_route [basic_options] -r | --route <parameter>
Advanced Filter Parameter
|
Description
|
aggregate
|
Shows active aggregate routes‑
|
bgp
|
Shows BGP peers
|
Destination <address>
|
Shows routes to the specified destination
|
direct
|
Shows directly connected routes
|
exact <ip_address/mask>
|
Shows a route from the specified IP address
|
subnets <ip_address/mask>
|
Shows routes to the specified network and subnets
|
ospf
|
Shows OSPF interfaces and neighbors
|
static
|
Shows static routes
|
rip
|
Shows RIP interfaces and neighbors
|
|
|
all
|
Shows all routes (Including inactive routes)
|
asg_route [basic_options] -i | --inactive <parameter>
Inactive Route Parameter
|
Description
|
aggregate
|
Shows active aggregate routes‑
|
bgp
|
Shows BGP routes
|
direct
|
Shows directly connected routes
|
ospf
|
Shows routes received from OSPF
|
static
|
Shows static routes
|
rip
|
Shows RIP Routes
|
all
|
Shows all routes (Including inactive routes)
|
|