13.3.4 Checking advertised BGP4 routes
To check the path attributes of advertised BGP4 routes, use the show ip bgp command with the advertised-routes parameter specified.
> show ip bgp advertised-routes Date 20XX/10/18 22:44:54 UTC BGP Peer: 10.2.2.2 , Remote AS: 65533 Local AS: 65531, Local Router ID: 192.168.1.100 Origin Codes: i - IGP, e - EGP, ? - incomplete Network Next Hop MED LocalPref Path 192.169.10/24 192.168.2.2 120 - 65531 i ..1 192.169.20/24 192.168.2.2 100 - 65531 i BGP Peer: 172.16.2.2 , Remote AS: 65532 Local AS: 65531, Local Router ID: 192.168.1.100 Origin Codes: i - IGP, e - EGP, ? - incomplete Network Next Hop MED LocalPref Path 192.169.10/24 192.168.2.2 120 - 65531 i ..2 192.169.20/24 192.168.2.2 100 - 65531 i |
1 and 2: The MED attribute (value: 120) is set for the advertised routes.