29.3.4 Checking advertised BGP4 + routes
To check the path attributes of advertised BGP4+ routes, use the show ipv6 bgp command with the advertised-routes parameter specified.
> show ipv6 bgp advertised-routes Date 20XX/10/18 22:44:54 UTC BGP4+ Peer: 3ffe: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 3ffe:192:169:10::/64 3ffe:192:168:2::2 120 - 65531 i ..1 3ffe:192:169:20::/64 3ffe:192:168:2::2 100 - 65531 i BGP4+ Peer: 3ffe: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 3ffe:192:169:10::/64 3ffe:192:168:2::2 120 - 65531 i ..2 3ffe:192:169:20::/64 3ffe:192:168:2::2 100 - 65531 i |
1 and 2: The MED attribute (value: 120) is set for the advertised routes.