Académique Documents
Professionnel Documents
Culture Documents
NETWORK
PILOT PHASE
TRAINING DOCUMENT
Useful command
//check neighboring state
Show isis adjacency
Show isis hostname
//check interface configuration
Show isis interface
//check isis route
Show isis route
Show route protocol isis
Useful command
//check policys impact by displaying isis route on L2 or L1 routers
Show isis route
Show route protocol isis
Useful command
//check ldp neighboring and interface state
Show ldp interface
Show ldp neighbor
Show ldp session
//check ldp label and path distribution
Show ldp database
Show ldp path
//check label distribution and forwarding action
Show route table mpls.0
//check ldp path on inet.3 table
Show route protocol ldp table inet.3
//traceroute/ping using MPLS label switched path
run ping mpls ldp remote-loopback-IP detail
run traceroute mpls ldp remote-loopback-IP detail
Useful command
//check bgp neighboring state
Show bgp summary
Show bgp neighbor
Note: ESTABLISHED state only appear if MP-BGP is configuration (i.e more than one family support
is configuration inside protocol bgp {} stanza). If only normal BGP session is configured, the session
state will be display in the form x/x/x/x after established.
Otherwise IDLE or ACTIVE or CONNECT state indicate BGP session error.
juniper@vMX# run show bgp summary logical-system HN-UPE1
Groups: 1 Peers: 2 Down peers: 0
Table
Tot Paths Act Paths Suppressed
History Damp State
Pending
inet.0
2
1
0
0
0
0
inet.3
22
9
0
0
0
0
bgp.l2vpn.0
4
2
0
0
0
0
Peer
AS
InPkt
OutPkt
OutQ
Flaps Last Up/Dwn State|
#Active/Received/Accepted/Damped...
10.0.1.11
18403
103
68
0
1
29:01 Establ
inet.0: 1/1/1/0 > by default only these number are displayed
inet.3: 7/11/11/0 > Additional line for a neighbor only appear if MP-BGP is configured
bgp.l2vpn.0: 0/2/2/0
L2VPN-CUSTOMER1.l2vpn.0: 0/2/2/0
10.0.1.12
18403
77
66
0
0
28:15 Establ
inet.0: 0/1/1/0
inet.3: 2/11/11/0
bgp.l2vpn.0: 2/2/2/0
L2VPN-CUSTOMER1.l2vpn.0: 2/2/2/0
BGP policy
Useful command
//check bgp route on a router
Show route protocol bgp
Show route protocol bgp table inet.3
//check to see which route are being advertised to a bgp neighbor
Show route advertising-protocol bgp neighbor-IP
Show route advertising-protocol bgp neighbor-IP table <inet.3/ bgp.l3vpn.0/ bgp.l2vpn.0>
//check to see which route are being received from a bgp neighbor
Show route receive-protocol bgp neighbor-IP
Show route receive-protocol bgp neighbor-IP table <inet.3/ bgp.l3vpn.0/ bgp.l2vpn.0>
Useful command
//check rsvp neighboring and interface state
Show rsvp interface
Show rsvp neighbor
//check rsvp labeL-switched-path state
Show mpls lsp <ingress/ egress/ transist>
Show rsvp session
//check rsvp path on inet.3 table
Show route protocol rsvp table inet.3
//check label distribution and forwarding action
show route table mpls.0
//traceroute/ping using MPLS label switched path
run ping mpls lsp-end-point remote-loopback-IP detail
run traceroute mpls rsvp LSP-Name detail
//check LDP tunneling state
run traceroute mpls ldp remote-loopback-IP detail
Useful command
//check routing instances route
Show route table + Instance-name.inet.0
//check to see which route are being advertised to a bgp neighbor
Show route advertising-protocol bgp neighbor-IP table <inet.3/ bgp.l3vpn.0>
//check to see which route are being received from a bgp neighbor
Show route receive-protocol bgp neighbor-IP table <inet.3/ bgp.l3vpn.0>
//check table bgp.l3vpn.0 on transist/Route reflector router:
Show route table bgp.l3vpn.0 community + RT-vablue
Useful command
//check L2VPN connection state Show l2vpn connection
//check to see which route are being advertised to a bgp neighbor
Show route advertising-protocol bgp neighbor-IP table <inet.3/ bgp.l3vpn.0>
//check to see which route are being received from a bgp neighbor
Show route receive-protocol bgp neighbor-IP table <inet.3/ bgp.l3vpn.0>
//check table bgp.l2vpn.0 on transist/Route reflector router:
Show route table bgp.l2vpn.0 community + RT-vablue
10
Useful command
//check L2VPN connection state instances route
Show vpls connection
//check to see which route are being advertised to a bgp neighbor
Show route advertising-protocol bgp neighbor-IP table <inet.3/ bgp.l3vpn.0>
//check to see which route are being received from a bgp neighbor
Show route receive-protocol bgp neighbor-IP table <inet.3/ bgp.l3vpn.0>
//check table bgp.l2vpn.0 on transist/Route reflector router:
Show route table bgp.l2vpn.0 community + RT-vablue
11
12