Advanced Filter Examples
Example 1 - BGP routes for all SGMs.
> asg_route -b all --route-filter bgp
Collecting routing information, may take few seconds...
===============================================================================
Fetching Routes info from SGMs:
1_01
Routes:
B 10.33.88.0/24 via 192.168.34.33, bond1.34, cost -1
B 10.33.94.0/24 via 192.168.33.94, bond1.33, cost -1
B 10.34.94.0/24 via 192.168.34.94, bond1.34, cost -1
Types: C - Connected, S - Static, R - RIP, B - BGP,
O - OSPF IntraArea (IA - InterArea, E - External, N - NSSA)
A - Aggregate, K - Kernel Remnant, H - Hidden, P - Suppressed
SBR - Source-Based Routes
-------------------------------------------------------
===============================================================================
Example 2 - Dynamic Routing filter for OSPF neighbors
> asg_route --dynamic-filter ospf_neighbors
Collecting routing information, may take few seconds...
OSPF neighbors -
-*- 1 blade: 1_01 -*-
Neighbor Pri State Address Interface
10.33.94.1 1 FULL/BDR 192.168.33.94 192.168.33.86
10.33.87.88 1 FULL/BDR 10.33.87.88 10.33.87.1
Status: OK
Example 3 - Inactive OSPF Routes
> asg_route --inactive-filter ospf
Collecting routing information, may take few seconds...
===============================================================================
Fetching Routes info from SGMs:
1_01
Routes:
O H i 10.33.87.0/24 is an unusable route
O H i 192.168.33.0/24 is an unusable route
O H i 192.168.34.0/24 is an unusable route
O E i 194.29.40.138/32 via 10.33.87.88, bond2.163, cost 2:0
Types: C - Connected, S - Static, R - RIP, B - BGP,
O - OSPF IntraArea (IA - InterArea, E - External, N - NSSA)
A - Aggregate, K - Kernel Remnant, H - Hidden, P - Suppressed
SBR - Source-Based Routes
-------------------------------------------------------
===============================================================================
Notes:
- Do not use the -v argument with an advanced filter. If you use -v, the command ignores the advanced filter and shows all routes.
|