Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Juniper MPLS Basics Learning Byte

Widget Connector
urlhttps://www.youtube.com/watch?v=xegWBCUJ4tE




Code Block
titleconfig
vagrant@vqfx1> show configuration interfaces xe-0/0/0
unit 0 {
    family inet {
        address 10.11.12.11/24;
    }
    family mpls;
}



vagrant@vqfx1> show configuration protocols ldp
interface xe-0/0/0.0;
interface lo0.0;


Code Block
titleshow commands
vagrant@vqfx1> show ldp ?
Possible completions:
  database             Show LDP label database
  fec-filters          Show filters for forwarding equivalence classes
  interface            Show LDP interface status
  neighbor             Show LDP neighbor status
  oam                  Show LDP OAM information
  overview             Show LDP overview information
  p2mp                 Show LDP p2mp state
  path                 Show LDP path table
  rib-groups           Show LDP rib-groups
  route                Show LDP internal topology table
  session              Show LDP session status
  statistics           Show LDP statistics
  traffic-statistics   Show packet statistics for LDP label-switched paths
{master:0}



Code Block
titleshow
vagrant@vqfx1> show ldp neighbor
Address                             Interface       Label space ID     Hold time
10.11.12.12                         xe-0/0/0.0      12.12.12.12:0        10

{master:0}
vagrant@vqfx1> show ldp interface
Interface          Address                          Label space ID   Nbr   Next
                                                                    count  hello
xe-0/0/0.0         10.11.12.11                      11.11.11.11:0     1      2

{master:0}
vagrant@vqfx1> show ldp session
  Address                           State       Connection  Hold time  Adv. Mode
12.12.12.12                         Operational Open          24         DU

{master:0}
vagrant@vqfx1>


Code Block
titlepath
vagrant@vqfx1> show ldp path
Output Session (label)          Input Session (label)
12.12.12.12:0(3)                ( )
  Attached route:  11.11.11.11/32
12.12.12.12:0(16)               12.12.12.12:0(3)
  Attached route:  12.12.12.12/32, Ingress route



{master:0}
vagrant@vqfx1> show ldp database
Input label database, 11.11.11.11:0--12.12.12.12:0
Labels received: 2
  Label     Prefix
     16      11.11.11.11/32
      3      12.12.12.12/32

Output label database, 11.11.11.11:0--12.12.12.12:0
Labels advertised: 2
  Label     Prefix
      3      11.11.11.11/32
     16      12.12.12.12/32


...