show ip bgp filtered-routes
Displays BGP4 filtered routes that are received from a neighbor or peer group.
Syntax
show ip bgp filtered-routes
[
detail
]
[
ip-addr
{
/
mask
}
[
longer-prefixes
]
|
as-path-access-list
name
|
prefix-list
name
]
Parameters
- longer-prefixes
- Specifies all statistics for routes that match the specified route, or that have a longer prefix than the specified route.
- as-path-access-list name
- Specifies an AS-path ACL. The name must be between 1 and 32 ASCII characters in length.
- prefix-list name
- Specifies an IP prefix list. The name must be between 1 and 32 ASCII characters in length.
Modes
User EXEC mode
Examples
The following example displays BGP4 filtered routes.
device> show ip bgp filtered-routes
Searching for matching routes, use ^C to quit...
Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
S:SUPPRESSED F:FILTERED s:STALE
Prefix Next Hop MED LocPrf Weight Status
1 10.3.0.0/8 192.168.4.106 100 0 EF
AS_PATH: 65001 4355 701 80
2 10.4.0.0/8 192.168.4.106 100 0 EF
AS_PATH: 65001 4355 1
3 10.60.212.0/22 192.168.4.106 100 0 EF
AS_PATH: 65001 4355 701 1 189