After the configurations of controlling BGP to advertise routes are complete, you can view filters, routes matching a specified filter, and routes advertised to BGP peers.
Prerequisites
All configurations of controlling BGP to advertise routes are complete.
Procedure
- Run the display ip as-path-filter [ as-path-filter-number | as-path-filter-name ] command to check information about a configured AS_Path filter.
- Run the display ip community-filter [ basic-comm-filter-num | adv-comm-filter-num | comm-filter-name ] command to check information about a configured community filter.
- Run the display ip extcommunity-filter [ basic-extcomm-filter-num | advanced-extcomm-filter-num | extcomm-filter-name ] command to check information about a configured VPN-Target extcommunity filter.
- Run the display ip extcommunity-list soo [ extcomm-filter-name ] command to check information about a configured SoO extcommunity filter.
- Run the display bgp routing-table as-path-filter as-path-filter-number command to check information about routes matching a specified AS_Path filter.
- Run the display bgp routing-table community-filter { { community-filter-name | basic-community-filter-number } [ whole-match ] | advanced-community-filter-number } command to check information about routes matching a specified BGP community filter.
- Run the display bgp routing-table peer ipv4-address advertised-routes [ statistics ] command to check information about routes advertised by a BGP device to its peers.