SRX

last person joined: 14 hours ago 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  Sub-interface with tagged VLAN in vSRX

    Posted 04-18-2016 07:53

    Hi.

     

    It is possible to create tagged and untagged sub-interfaces simultaneously in vSRX?

    Something like these:

    ge-0/0/0 {
        unit 0 {
            family inet {
                address 192.168.2.100/24;
            }
        }
        unit 1 {
            vlan-id 10;
            family inet {
                address 192.168.1.100/24;
            }
        }
    }
    

    #vSRX


  • 2.  RE: Sub-interface with tagged VLAN in vSRX

    Posted 04-18-2016 19:59

    Hi,

     

    The answer is no. U need to remove unit 0 if u want do vlan-tagging.

     

     

    Thanks



  • 3.  RE: Sub-interface with tagged VLAN in vSRX
    Best Answer

    Posted 04-18-2016 22:39

    Yes you can, but you will need to enable flexible-vlan-tagging and use a native vlan (documentation).

     

    Your confif would look like:

     

    ge-0/0/0 {
        flexible-vlan-tagging;
        native-vlan-id 20;
        unit 0 {
            vlan-id 20;
            family inet {
                address 192.168.2.100/24;
            }
        }
        unit 1 {
            vlan-id 10;
            family inet {
                address 192.168.1.100/24;
            }
        }
    }