/
Debugging CLI for Labeled-BGP
Debugging CLI for Labeled-BGP
Show BGP Peers
Note: This CLI is used to show the BGP peer status.
admin@XorPlus> show bgp peers Peer 1: local 3131::31 remote 1717::17 state ESTABLISHED
Show BGP Peer Details
Note: This CLI is used to show BGP peer detail info.
admin@XorPlus> show bgp peers detail Peer 1: local 3131::31 remote 1717::17 state ESTABLISHED Peer ID: 17.17.17.17 Peer Type: IBGP Admin State: START BFD: Disabled Address family: ipv4-unicast ipv6-unicast ipv6-label-unicast Options: < Refresh > Negotiated BGP Version: 4 Peer AS Number: 17 Updates Received: 5, Updates Sent: 0 Messages Received: 514, Messages Sent: 509 Time since last received update: 4994 seconds Number of transitions to ESTABLISHED: 2 Time since last entering ESTABLISHED state: 13360 seconds Retry Interval: 120 seconds Hold Time: 90 seconds, Keep Alive Time: 30 seconds Configured Hold Time: 90 seconds, Configured Keep Alive Time: 30 seconds Minimum AS Origination Interval: 0 seconds Minimum Route Advertisement Interval: 0 seconds Received prefixes: 1 Accepted prefixes: 1 Active prefixes:
Show BGP Routes IPv4/IPv6
Note: This CLI is used to show BGP route table.
admin@XorPlus> show bgp routes ipv6 Status Codes: * valid route, > best route Origin Codes: i IGP, e EGP, ? incomplete Prefix Nexthop Peer AS Path ---------------------------- ------------------------ --------------- ------------ *> 2001::/64 1717::17 17.17.17.17 i
Show BGP Routes IPv4/IPv6 Detail
Note: This CLI is used to show the detailed info of BGP route.
admin@XorPlus> show bgp routes ipv6 detail 2001::/64 From peer: 17.17.17.17 Route: Winner Origin: IGP AS Path: Nexthop: 1717::17 Nexthop references: 1 Local Preference: 100 Originator ID: 28.28.28.28 Cluster List: 17.17.17.17 Age: 1:25:20
Show BGP Routes IPv4/IPv6 Label
Note: This CLI is used to show the label of the BGP speaker assigned to the specify BGP route entry.
admin@XorPlus> show bgp routes ipv6 label Status Codes: * valid route, > best route Prefix Nexthop In-label/Out-label ---------------------------- ------------------------ --------------------------- *> 2001::/64 1717::17 16/16
Show Route Label
Note: This CLI is used to show the label info of the route table.
admin@XorPlus> show route label IPv4 Routing table: 4 routes 17.17.17.17/32 [static(1)/1] > to 192.168.5.2 via vlan500/vlan500 in-label:nolabel out-label:nolabel 31.31.31.31/32 [connected(0)/0] > via loopback/loopback in-label:nolabel out-label:nolabel 192.168.5.0/30 [connected(0)/0] > via vlan500/vlan500 in-label:nolabel out-label:nolabel 192.168.7.0/30 [connected(0)/0] > via vlan700/vlan700 in-label:nolabel out-label:nolabel IPv6 Routing table: 8 routes 1717::17/128 [static(1)/1] > to 5000::2 via vlan500/vlan500 in-label:nolabel out-label:nolabel 2001::/64 [ibgp(200)/0] > to 5000::2 via vlan500/vlan500 in-label:16 out-label:16 3131::31/128 [connected(0)/0] > via loopback/loopback in-label:nolabel out-label:nolabel 5000::/64 [connected(0)/0] > via vlan500/vlan500 in-label:nolabel out-label:nolabel 7000::/64 [connected(0)/0] > via vlan700/vlan700 in-label:nolabel out-label:nolabel fe80::/64 [connected(0)/0] > via loopback/loopback in-label:nolabel out-label:nolabel fe80::/64 [connected(0)/0] > via vlan500/vlan500 in-label:nolabel out-label:nolabel fe80::/64 [connected(0)/0] > via vlan700/vlan700 in-label:nolabel out-label:nolabel
Show MPLS Forwarding-Table IPv4/IPv6 All
Note: This CLI is used to show the MPLS forwarding table.
admin@XorPlus> show mpls forwarding-table ipv6 all In-label Out-label Destination Outgoing-Interface Next Hop -------- --------- ----------- ------------------ -------- 16 16 2001::/64 te-1/1/44 5000::2 1000 16 2001::/64 te-1/1/44 5000::2
set protocols bgp trace options flag [all/ FSM/configuration/damp/event/keepalive/nexthop-resolution/notification/notify-snmp/open/packet/policy/raw-packet/route-refresh/ timer/update] disable false
Note: This CLI is used to enable the debug switch for BGP.
set protocols mpls traceoptions disable false
Note: This CLI is used to enable mpls debug switch for mpls.
, multiple selections available,
Related content
Building Peering Sessions
Building Peering Sessions
More like this
run show bgp neighbor
run show bgp neighbor
More like this
run show bgp neighbor
run show bgp neighbor
More like this
run show bgp neighbor
run show bgp neighbor
More like this
run show bgp neighbor
run show bgp neighbor
More like this
run show bgp neighbor
run show bgp neighbor
More like this
Copyright © 2025 Pica8 Inc. All Rights Reserved.