Specifications

Table Of Contents
show ip bgp labels
MP-460
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
show ip bgp labels
To display information about Multiprotocol Label Switching (MPLS) labels from the external Border
Gateway Protocol (eBGP) route table, use the show ip bgp labels command in privileged EXEC mode.
show ip bgp labels
Syntax Description This command has no arguments or keywords.
Command Modes Privileged EXEC
Command History
Usage Guidelines Use this command to display eBGP labels associated with an Autonomous System Boundary Router
(A
SBR).
This command displays labels for BGP routes in the default table only. To display labels in the Virtual
Pri
vate Network (VPN) routing and forwarding (VRF) tables, use the show ip bgp vpnv4 {all | vrf
vrf-name} command with the optional labels keyword.
Examples The following example shows output for an ASBR using BGP as a label distribution protocol:
Router# show ip bgp labels
Network Next Hop In Label/Out Label
10.3.0.0/16 0.0.0.0 imp-null/exp-null
10.15.15.15/32 10.15.15.15 18/exp-null
10.16.16.16/32 0.0.0.0 imp-null/exp-null
10.17.17.17/32 10.0.0.1 20/exp-null
10.18.18.18/32 10.0.0.1 24/31
10.18.18.18/32 10.0.0.1 24/33
Release Modification
12.0(21)ST This command was introduced.
12.0(22)S This command was integrated into Cisco IOS Release 12.0(22)S.
12.2(13)T This command was integrated into Cisco IOS Release 12.2(13)T.
12.2(14)S This command was integrated into Cisco IOS Release 12.2(14)S.
12.2(28)SB This command was integrated into Cisco IOS Release 12.2(28)SB and
i
mplemented on the Cisco 10000 series router.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2(33)SXH This command was integrated into Cisco IOS Release 12.2(33)SXH.