Junos OS

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  Layer 2 switching on vQFX switch

    Posted 04-13-2022 09:49
    Hi all,

    I`ve just started to learn junos a few weeks ago, so please forgive me if my question is too nooby.
    I tried to set up a basic lab in eve-ng to practice. Everything works as I expected, except the switch. I`m unable to ping the hosts over the switch, ping the router from the switch, ping the switch itself from any other devices. I followed several guide from the knowledge base and nothing helped. I always get an error message: host unreachable.
    Here is my configuration:

    set interfaces xe-1/0/0 vlan-tagging
    set interfaces xe-1/0/0 native-vlan-id 1
    set interfaces xe-1/0/0 encapsulation extended-vlan-bridge
    set interfaces xe-1/0/0 unit 0 family ethernet-switching interface-mode trunk
    set interfaces xe-1/0/0 unit 0 family ethernet-switching vlan members employee-vlan
    set interfaces xe-1/0/1 vlan-tagging
    set interfaces xe-1/0/1 native-vlan-id 1
    set interfaces xe-1/0/1 encapsulation extended-vlan-bridge
    set interfaces xe-1/0/1 unit 0 family ethernet-switching interface-mode trunk
    set interfaces xe-1/0/1 unit 0 family ethernet-switching vlan members employee-vlan
    set interfaces em0 unit 0 family inet dhcp
    set interfaces em1 unit 0 family inet address 169.254.0.2/24
    set interfaces irb unit 0 family inet address 100.100.100.1/24
    set interfaces vlan unit 0 family inet address 100.100.100.1/24
    set forwarding-options storm-control-profiles default all
    set protocols igmp-snooping vlan default
    set vlans default vlan-id 1
    set vlans employee-vlan vlan-id 100
    set vlans employee-vlan l3-interface irb.0

    Can you tell me what I missed?

    Thanks for your help!

    ------------------------------
    BALAZS KISS
    ------------------------------


  • 2.  RE: Layer 2 switching on vQFX switch

    Posted 04-13-2022 17:19
    Hi,


    Please delete this "set interfaces vlan unit 0 family inet address 100.100.100.1/24"



    Thanks


  • 3.  RE: Layer 2 switching on vQFX switch

    Posted 04-14-2022 05:27
    Hi,

    Thanks for your answer. I deleted it, but unfortunately it almost the same.
    I got 100% packet loss for every device ping. Only the irb interface self ping works. 
    Ethernet switching table is empty.
    Other logs seem to be fine for me.

    root@vqfx-re> show ethernet-switching global-information

    Global Configuration:

    MAC aging interval : 300
    MAC learning : Enabled
    MAC statistics : Disabled
    MAC limit Count : 393215
    MAC limit hit : Disabled
    MAC packet action drop: Disabled
    MAC+IP aging interval : IPv4 - 1200 seconds
    IPv6 - 1200 seconds
    MAC+IP limit Count : 393215
    MAC+IP limit reached : No
    LE aging time : 1200
    LE VLAN aging time : 1200
    RE state : Master
    VXLAN Overlay load bal: Disabled

    {master:1}

    root@vqfx-re> show ethernet-switching statistics

    Local interface: xe-1/0/1.0, Index: 558
    Multicast packets: 0
    Multicast bytes : 0
    Flooded packets : 0
    Flooded bytes : 0
    Current MAC count: 0 (Limit 8192)
    Local interface: xe-1/0/0.0, Index: 556
    Multicast packets: 0
    Multicast bytes : 0
    Flooded packets : 0
    Flooded bytes : 0
    Current MAC count: 0 (Limit 8192)

    {master:1}

    root@vqfx-re> show ethernet-switching interface
    Routing Instance Name : default-switch
    Logical Interface flags (DL - disable learning, AD - packet action drop,
    LH - MAC limit hit, DN - interface down,
    MMAS - Mac-move action shutdown, AS - Autostate-exclude enabled,
    SCTL - shutdown by Storm-control, MI - MAC+IP limit hit)

    Logical Vlan TAG MAC MAC+IP STP Logical Tagging
    interface members limit limit state interface flags
    xe-1/0/0.0 8192 8192 tagged
    employee-vlan 100 1024 1024 Forwarding tagged
    Routing Instance Name : default-switch
    Logical Interface flags (DL - disable learning, AD - packet action drop,
    LH - MAC limit hit, DN - interface down,
    MMAS - Mac-move action shutdown, AS - Autostate-exclude enabled,
    SCTL - shutdown by Storm-control, MI - MAC+IP limit hit)

    Logical Vlan TAG MAC MAC+IP STP Logical Tagging
    interface members limit limit state interface flags
    xe-1/0/1.0 8192 8192 tagged
    employee-vlan 100 1024 1024 Forwarding tagged

    {master:1}

    root@vqfx-re> show ethernet-switching instance
    Information for routing instance and VLAN:

    Flags (DL - disable learning, SE - stats enabled,
    AD - packet action drop, LH - MAC limit hit,
    MI - mac+ip limit hit)

    Inst Logical Routing VLAN Index IRB Flags Tag
    type system instance index
    RTT Default default-switch 5
    vlan Default default-switch default 2 1
    vlan Default default-switch employee-vlan 3 547 100


    ------------------------------
    BALAZS KISS
    ------------------------------



  • 4.  RE: Layer 2 switching on vQFX switch

    Posted 04-15-2022 06:30

    Hi,

    I had such kind of issue on GN3. And it was a problem of network driver emulation for the vQFX on GNS. I had to tune it until I found one working with my hardware (e1000, parvirtualize, vmxnet3,...).

    I am not familiar with eveNG but I suppose you can configure the drive somehow.

    Sometimes the forwarding seems to go wrong too, and a reboot of the PFE helps.




  • 5.  RE: Layer 2 switching on vQFX switch

    Posted 04-15-2022 10:57
    Hi,


    if u use eve/pnetlab for vqfx then please make sure RE is finish loading first. After that then u can power on PFE.

    Thanks


  • 6.  RE: Layer 2 switching on vQFX switch

     
    Posted 04-16-2022 12:59
    Hi, 

    please check that the PFE is fully loaded with : show chassis fpc pic-status

    regards,

    ------------------------------
    Farid BOUZEMARENE
    ------------------------------



  • 7.  RE: Layer 2 switching on vQFX switch

    Posted 04-19-2022 05:32
    Hi,

    It is online and seems to be loaded up properly.

    ------------------------------
    BALAZS KISS
    ------------------------------



  • 8.  RE: Layer 2 switching on vQFX switch

    Posted 04-19-2022 05:32
    Hi,

    It should have the correct ones, as if I setup to different one I won`t have any interfaces. ​

    ------------------------------
    BALAZS KISS
    ------------------------------