Routing

 View Only

IMPORTANT MODERATION NOTICE

This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.



L2Circuit not coming UP

This thread has been viewed 4 times
  • 1.  L2Circuit not coming UP

    Posted 07-05-2022 11:38
    HI , 

    Below L2cirucit is not coming up . please support 
    i'm using vMX 18.2

    PE1-------->P--------------P-------------PE8

    PE1 Configuration :-

    root@R1> show configuration | display set | match 0/0/4
    set interfaces ge-0/0/4 vlan-tagging
    set interfaces ge-0/0/4 encapsulation vlan-ccc
    set interfaces ge-0/0/4 unit 0 encapsulation vlan-ccc
    set interfaces ge-0/0/4 unit 0 vlan-id 513
    set interfaces ge-0/0/4 unit 0 family ccc
    set protocols l2circuit neighbor 8.8.8.8 interface ge-0/0/4.0 virtual-circuit-id 513

    root@R1>

    root@R1> show l2circuit connections
    Layer-2 Circuit Connections:

    Legend for connection status (St)
    EI -- encapsulation invalid NP -- interface h/w not present
    MM -- mtu mismatch Dn -- down
    EM -- encapsulation mismatch VC-Dn -- Virtual circuit Down
    CM -- control-word mismatch Up -- operational
    VM -- vlan id mismatch CF -- Call admission control failure
    OL -- no outgoing label IB -- TDM incompatible bitrate
    NC -- intf encaps not CCC/TCC TM -- TDM misconfiguration
    BK -- Backup Connection ST -- Standby Connection
    CB -- rcvd cell-bundle size bad SP -- Static Pseudowire
    LD -- local site signaled down RS -- remote site standby
    RD -- remote site signaled down HS -- Hot-standby Connection
    XX -- unknown

    Legend for interface status
    Up -- operational
    Dn -- down
    Neighbor: 8.8.8.8
    Interface Type St Time last up # Up trans
    ge-0/0/4.0(vc 513) rmt OL

    root@R1>


    root@R1> show ldp session
    Address State Connection Hold time Adv. Mode
    2.2.2.2 Operational Open 27 DU
    8.8.8.8 Operational Open 25 DU

    root@R1>


    root@R1> show ldp session
    Address State Connection Hold time Adv. Mode
    2.2.2.2 Operational Open 27 DU
    8.8.8.8 Operational Open 25 DU

    root@R1>



    root@R1> show route table l2circuit.0 hidden extensive

    l2circuit.0: 1 destinations, 1 routes (0 active, 0 holddown, 1 hidden)
    8.8.8.8:CtrlWord:4:513:Local/96 (1 entry, 0 announced)
    L2CKT Preference: 7
    Next hop type: Unusable, Next hop index: 0
    Address: 0xa1df870
    Next-hop reference count: 1
    State: <Hidden Int>
    Age: 36:12
    Validation State: unverified
    Task: l2 circuit
    AS path: I
    VC Label 299888, MTU 1500, VLAN ID 513, Flow Label T Bit 0, Flow Label R Bit 0
    Indirect next hops: 1
    Protocol next hop: 8.8.8.8
    Indirect next hop: 0x0 - INH Session ID: 0x0

    root@R1> ping mpls ldp 8.8.8.8/32 source 1.1.1.1
    !!!!!
    --- lsping statistics ---
    5 packets transmitted, 5 packets received, 0% packet loss

    root@R1>


    Traces :- 

    root@R1> show log l2vpn
    Jul 2 19:46:34 trace_on: Tracing to "/var/log/l2vpn" started
    Jul 2 19:46:34.151688 vc_iflchange intf ge-0/0/4.0 (index 334) change flags 0x0
    Jul 2 19:46:34.151742 adjusted mtu = 1500
    Jul 2 19:46:34.151756 [vc_intf_params_change] Intf ge-0/0/4.0: NO Intf Params CHANGE
    Jul 2 19:46:34.152368 [vc_ifachange] intf ge-0/0/4.0: new status intf Up (old status intf Up), GF 4
    Jul 2 19:46:34.152394 [vc_ifachange] Triggering VC status update timer for intf ge-0/0/4.0
    Jul 2 19:46:34.152398 Triggering VC status update timer for intf ge-0/0/4.0
    Jul 2 19:46:34.152408 [vc_ifachange] ge-0/0/4.0 is not in any vc yet
    Jul 2 19:46:34.153655 New policy call for L2CKT from l2ckt.0
    Jul 2 19:46:34.153672 [l2ckt_handle_local_adv_rt_status_change] VC-interface ge-0/0/4.0 transport LSP state transition to DOWN
    Jul 2 19:46:34.153676 New policy processing complete for L2CKT from l2ckt.0
    Jul 2 19:46:34.198731 [vc_intf_vc_status_update] Recomputing the status of the VC for interface: ge-0/0/4.0, flags 0x0, 0x20184
    Jul 2 19:46:34.198751 interface ge-0/0/4.0: vc status = intf Up, intf_up = TRUE
    Jul 2 19:46:34.198755 interface ge-0/0/4.0: UP adv_down = 0 : vc_down = 0, ccc_up = 1
    Jul 2 19:46:34.198761 interface ge-0/0/4.0: VC NOT PRESENT adv_down = 0, vc_down = 1, ccc_up = 0
    Jul 2 19:46:34.198765 interface ge-0/0/4.0: Done Computing adv, vc down and ccc_up status adv_down = 0, vc_down = 1, ccc_up = 0
    Jul 2 19:46:34.198769 [vc_intf_vc_status_update] Done Recomputing the status of the VC for interface ge-0/0/4.0: flags 0x0, 0x20184
    Jul 2 19:46:39.059529 [l2ckt_intf_change_process] Change processing for intf ge-0/0/4.0: vc flags 0x0 0x20104 l2ckt flags 0x0 0x8000000
    Jul 2 19:46:39.059564 l2ckt_intf_create_mib2d_notify: Not a TDM/ATM VC
    Jul 2 19:46:39.059587 Evaluated local PW status code 0x0 for intf ge-0/0/4.0 (nbr 8.8.8.8) belonging to instance L2circuit
    Jul 2 19:46:39.059600 ge-0/0/4.0 OP state transition to DOWN [Transport-LSP: 0,vpls_num_ifds: 0 is_pw_phy: 1, out_label ffffffff]



    root@R1> show interfaces ge-0/0/4
    Physical interface: ge-0/0/4, Enabled, Physical link is Up
    Interface index: 152, SNMP ifIndex: 530
    Link-level type: VLAN-CCC, MTU: 1518, MRU: 1526, LAN-PHY mode,
    Speed: 1000mbps, BPDU Error: None, Loop Detect PDU Error: None,
    Ethernet-Switching Error: None, MAC-REWRITE Error: None, Loopback: Disabled,
    Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Enabled,
    Remote fault: Online
    Pad to minimum frame size: Disabled
    Device flags : Present Running
    Interface flags: SNMP-Traps Internal: 0x4000
    CoS queues : 8 supported, 8 maximum usable queues
    Current address: 50:00:00:09:00:06, Hardware address: 50:00:00:09:00:06
    Last flapped : 2022-07-02 18:38:53 UTC (01:22:02 ago)
    Input rate : 0 bps (0 pps)
    Output rate : 0 bps (0 pps)
    Active alarms : None
    Active defects : None
    PCS statistics Seconds
    Bit errors 0
    Errored blocks 0
    Ethernet FEC statistics Errors
    FEC Corrected Errors 0
    FEC Uncorrected Errors 0
    FEC Corrected Errors Rate 0
    FEC Uncorrected Errors Rate 0
    Interface transmit statistics: Disabled

    Logical interface ge-0/0/4.0 (Index 334) (SNMP ifIndex 538)
    Flags: SNMP-Traps CCC-Down 0x4000 VLAN-Tag [ 0x8100.513 ]
    Encapsulation: VLAN-CCC
    Input packets : 0
    Output packets: 0
    Protocol ccc, MTU: 1518
    Flags: Is-Primary

    Logical interface ge-0/0/4.32767 (Index 335) (SNMP ifIndex 537)
    Flags: Up SNMP-Traps 0x4004000 VLAN-Tag [ 0x0000.0 ] Encapsulation: ENET2
    Input packets : 0
    Output packets: 0
    Protocol multiservice, MTU: Unlimited
    Flags: None

    root@R1>







    PE2 Configuration: - 


    tac3@R8> show configuration | display set | match 0/0/4
    set interfaces ge-0/0/4 vlan-tagging
    set interfaces ge-0/0/4 encapsulation vlan-ccc
    set interfaces ge-0/0/4 unit 0 encapsulation vlan-ccc
    set interfaces ge-0/0/4 unit 0 vlan-id 513
    set interfaces ge-0/0/4 unit 0 family ccc
    set protocols l2circuit neighbor 1.1.1.1 interface ge-0/0/4.0 virtual-circuit-id 513

    tac3@R8>

    tac3@R8> show route table l2circuit.0 hidden extensive

    l2circuit.0: 1 destinations, 1 routes (0 active, 0 holddown, 1 hidden)
    1.1.1.1:CtrlWord:4:513:Local/96 (1 entry, 0 announced)
    L2CKT Preference: 7
    Next hop type: Unusable, Next hop index: 0
    Address: 0xa1df870
    Next-hop reference count: 1
    State: <Hidden Int>
    Age: 32:25
    Validation State: unverified
    Task: l2 circuit
    AS path: I
    VC Label 299888, MTU 1500, VLAN ID 513, Flow Label T Bit 0, Flow Label R Bit 0
    Indirect next hops: 1
    Protocol next hop: 1.1.1.1
    Indirect next hop: 0x0 - INH Session ID: 0x0

    tac3@R8>



    tac3@R8> show l2circuit connections
    Layer-2 Circuit Connections:

    Legend for connection status (St)
    EI -- encapsulation invalid NP -- interface h/w not present
    MM -- mtu mismatch Dn -- down
    EM -- encapsulation mismatch VC-Dn -- Virtual circuit Down
    CM -- control-word mismatch Up -- operational
    VM -- vlan id mismatch CF -- Call admission control failure
    OL -- no outgoing label IB -- TDM incompatible bitrate
    NC -- intf encaps not CCC/TCC TM -- TDM misconfiguration
    BK -- Backup Connection ST -- Standby Connection
    CB -- rcvd cell-bundle size bad SP -- Static Pseudowire
    LD -- local site signaled down RS -- remote site standby
    RD -- remote site signaled down HS -- Hot-standby Connection
    XX -- unknown

    Legend for interface status
    Up -- operational
    Dn -- down
    Neighbor: 1.1.1.1
    Interface Type St Time last up # Up trans
    ge-0/0/4.0(vc 513) rmt OL

    tac3@R8>



    tac3@R8> show interfaces ge-0/0/4
    Physical interface: ge-0/0/4, Enabled, Physical link is Up
    Interface index: 152, SNMP ifIndex: 533
    Link-level type: VLAN-CCC, MTU: 1518, MRU: 1526, LAN-PHY mode,
    Speed: 1000mbps, BPDU Error: None, Loop Detect PDU Error: None,
    Ethernet-Switching Error: None, MAC-REWRITE Error: None, Loopback: Disabled,
    Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Enabled,
    Remote fault: Online
    Pad to minimum frame size: Disabled
    Device flags : Present Running
    Interface flags: SNMP-Traps Internal: 0x4000
    CoS queues : 8 supported, 8 maximum usable queues
    Current address: 50:00:00:10:00:06, Hardware address: 50:00:00:10:00:06
    Last flapped : 2022-07-02 18:31:57 UTC (01:30:35 ago)
    Input rate : 0 bps (0 pps)
    Output rate : 0 bps (0 pps)
    Active alarms : None
    Active defects : None
    PCS statistics Seconds
    Bit errors 0
    Errored blocks 0
    Ethernet FEC statistics Errors
    FEC Corrected Errors 0
    FEC Uncorrected Errors 0
    FEC Corrected Errors Rate 0
    FEC Uncorrected Errors Rate 0
    Interface transmit statistics: Disabled

    Logical interface ge-0/0/4.0 (Index 334) (SNMP ifIndex 537)
    Flags: SNMP-Traps CCC-Down 0x4000 VLAN-Tag [ 0x8100.513 ]
    Encapsulation: VLAN-CCC
    Input packets : 0
    Output packets: 0
    Protocol ccc, MTU: 1518
    Flags: Is-Primary

    Logical interface ge-0/0/4.32767 (Index 335) (SNMP ifIndex 538)
    Flags: Up SNMP-Traps 0x4004000 VLAN-Tag [ 0x0000.0 ] Encapsulation: ENET2
    Input packets : 0
    Output packets: 0
    Protocol multiservice, MTU: Unlimited
    Flags: None

    tac3@R8>



    tac3@R8> ping mpls ldp 1.1.1.1 source 8.8.8.8
    !!!!!
    --- lsping statistics ---
    5 packets transmitted, 5 packets received, 0% packet loss

    tac3@R8>


    tac3@R8> show ldp session
    Address State Connection Hold time Adv. Mode
    1.1.1.1 Operational Open 23 DU
    5.5.5.5 Operational Open 25 DU

    tac3@R8>