Switching

 View Only
last person joined: 13 hours ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  Problem with Virtual Routing instance with EX4300

    Posted 09-03-2019 07:17

    Hello

     

    I hope someone can help me or point out where I am going wrong. I am trying to configure multiple irbs each in their own virtual routing instance. The irbs still show as down despite trunk being up.

     

    IRB Configuration

     

    set interfaces irb unit 10 family inet address 172.16.0.2/24 
    set interfaces irb unit 100 family inet address 172.16.1.2/24 
    set interfaces irb unit 110 family inet address 172.16.2.2/24 
    set interfaces irb unit 120 family inet address 172.16.3.2/24 
    set interfaces irb unit 130 family inet address 172.16.4.2/24 

    VLAN Configuration

     

     

    set vlans Test1 description "Test1 Traffic" 
    set vlans Test1 vlan-id 100 
    set vlans Test1 l3-interface irb.100 
    set vlans Test2 description "Test 2" 
    set vlans Test2 vlan-id 110 
    set vlans Test2 l3-interface irb.110 
    set vlans Test3 description "Test3 Traffic" 
    set vlans Test3 vlan-id 130 
    set vlans Test3 l3-interface irb.130 
    set vlans Test4 description "Test4 Traffic" 
    set vlans Test4 vlan-id 10 
    set vlans Test4 l3-interface irb.10 
    set vlans Test5 description "Test5 traffic" 
    set vlans Test5 vlan-id 120 
    set vlans Test5 l3-interface irb.120 
    show interfaces routing-instance Test4 
    Logical interface irb.10 (Index 602) (SNMP ifIndex 606) 
    Flags: Hardware-Down Up SNMP-Traps 0x0 Encapsulation: ENET2 
    Bandwidth: 1000mbps 
    Routing Instance: default-switch Bridging Domain: Test4
    Input packets : 0 
    Output packets: 0 
    Protocol inet, MTU: 1514 
    Flags: Sendbcast-pkt-to-re, Is-Primary 
    Addresses, Flags: Dest-route-down Is-Default Is-Preferred Is-Primary 
    Destination: 172.16.0/24, Local: 172.16.0.2, Broadcast: 172.16.0.255 

    Physical Interface configuration (LACP aggregate)

     

     

    set interfaces ae0 vlan-tagging 
    set interfaces ae0 aggregated-ether-options lacp active 
    set interfaces ae0 unit 10 vlan-id 10 
    set interfaces ae0 unit 10 family ethernet-switching vlan members Test4 
    set interfaces ae0 unit 100 vlan-id 100 
    set interfaces ae0 unit 110 vlan-id 110 
    set interfaces ae0 unit 120 vlan-id 120 
    set interfaces ae0 unit 130 vlan-id 130 
    

    Virtual Router configuration

     

     

    set routing-instances Test1 instance-type virtual-router 
    set routing-instances Test1 interface ae0.100 
    set routing-instances Test1 interface irb.100 
    set routing-instances Test1 routing-options static route 0.0.0.0/0 next-hop 172.16.1.1 
    set routing-instances Test2 instance-type virtual-router 
    set routing-instances Test2 interface ae0.110 
    set routing-instances Test2 interface irb.110 
    set routing-instances Test2 routing-options static route 0.0.0.0/0 next-hop 172.16.2.1 
    set routing-instances Test3 instance-type virtual-router 
    set routing-instances Test3 interface ae0.130 
    set routing-instances Test3 interface irb.130 
    set routing-instances Test3 routing-options static route 0.0.0.0/0 next-hop 172.16.4.1 
    set routing-instances Test4 instance-type virtual-router 
    set routing-instances Test4 interface ae0.10 
    set routing-instances Test4 interface irb.10 
    set routing-instances Test4 routing-options static route 0.0.0.0/0 next-hop 172.16.0.1 
    set routing-instances Test5 instance-type virtual-router 
    set routing-instances Test5 interface ae0.120 
    set routing-instances Test5 interface irb.120 
    set routing-instances Test5 routing-options static route 0.0.0.0/0 next-hop 172.16.3.1 

    The physical interface shows UP/UP

     

     

    show interfaces ae0 terse 
    Interface Admin Link Proto Local Remote 
    ae0 up up 
    ae0.10 up up 
    ae0.100 up up 
    ae0.110 up up 
    ae0.120 up up 
    ae0.130 up up 

    But the link state of IRB sows as down

     

     

    show interfaces irb terse 
    Interface Admin Link Proto Local Remote 
    irb up up 
    irb.0 up down inet 
    irb.10 up down inet 172.16.0.2/24 
    irb.100 up down inet 172.16.1.2/24 
    irb.110 up down inet 172.16.2.2/24 
    irb.120 up down inet 172.16.3.2/24 
    irb.130 up down inet 172.16.4.2/24

    Also, when I look at the interface for the Virtual routing instance, I don’t see the physical port. I only see the IRB port.

     

    show interfaces routing-instance Test4 
    Logical interface irb.10 (Index 602) (SNMP ifIndex 606) 
    Flags: Hardware-Down Up SNMP-Traps 0x0 Encapsulation: ENET2 
    Bandwidth: 1000mbps 
    Routing Instance: default-switch Bridging Domain: Test4
    Input packets : 0 
    Output packets: 0 
    Protocol inet, MTU: 1514 
    Flags: Sendbcast-pkt-to-re, Is-Primary 
    Addresses, Flags: Dest-route-down Is-Default Is-Preferred Is-Primary 
    Destination: 172.16.0/24, Local: 172.16.0.2, Broadcast: 172.16.0.255 

    Thanks



  • 2.  RE: Problem with Virtual Routing instance with EX4300
    Best Answer

     
    Posted 09-03-2019 08:56

    Hi Jam,

    Can you please try following configuration for one unit and see if that works .

    set interfaces irb unit 10 family inet address 172.16.0.2/24 

     

    set vlans Test4 vlan-id 10 
    set vlans Test4 l3-interface irb.10
    set vlans Test4 interface ae0.10

     

    set interfaces ae0 vlan-tagging 
    set interfaces ae0 aggregated-ether-options lacp active 
    set interfaces ae0 unit 10 family ethernet-switching vlan members Test4

     

    delete routing-instances Test1 interface ae0.100 


    **Please mark my response as solution if it solves your query. Kudos are appreciated too!!

    Thanks

    Vishal



  • 3.  RE: Problem with Virtual Routing instance with EX4300

    Posted 09-03-2019 09:53

    Hello Vishal,

     

    Thanks for your answer. I just had to make one tweak to your answer to get it to work

     

    I had to change

    set interfaces ae0 unit 10 family ethernet-switching vlan members Test4

     

    To

    set interfaces ae0 unit 10 family ethernet-switching

    After that it started working. Thaks for your help

     

     



  • 4.  RE: Problem with Virtual Routing instance with EX4300

     
    Posted 09-03-2019 09:57

    Thanks for trying out!

    Can you please paste the complete config for unit 10 that's working for you so that others can benefit from complete solution in single thread 🙂

    Thanks
    Vishal



  • 5.  RE: Problem with Virtual Routing instance with EX4300

    Posted 09-04-2019 08:59

    Following is the configuration that worked

     

    set interfaces irb unit 10 family inet address 172.16.0.2/24
    set vlans test4 vlan-id 10
    set vlans test4 interface ae0.10
    set vlans test4 l3-interface irb.10
    set interfaces ae0 unit 10 vlan-id 10
    set interfaces ae0 vlan-tagging
    set interfaces ae0 aggregated-ether-options lacp active
    set interfaces ae0 unit 10 family ethernet-switching
    set routing-instances test4 instance-type virtual-router
    set routing-instances test4 interface irb.10
    set routing-instances test4 routing-options static route 0.0.0.0/0 next-hop 172.16.0.1