Junos OS

 View Only
last person joined: yesterday 

Ask questions and share experiences about Junos OS.

Juniper equivalent for Cisco "encapsulation default" on subinterface

  • 1.  Juniper equivalent for Cisco "encapsulation default" on subinterface

    This message was posted by a user wishing to remain anonymous
    Posted 23 days ago
    This message was posted by a user wishing to remain anonymous

    Hello all,
    Hope your day is going well.
    Query:
    On Cisco device you can use the configuration "encapsulation default" on subinterface. The behaviour is that that subinterface/flow point will accept all frames which are "unmatched" I.e. all frames which are not matched on any other subinterfaces. It's a catch all, except for things which match the encapsulation of other subinterfaces.i.e.
    Int Gi0/0/1.1
      Encapsulation untagged
    Int Gi0/0/1.2
         Encapsulation dot1q vlan 20
    Int Gi0/0/1.3
         Encapsulation defaultIn this case above, interface Gi0/0/1.3 will catch all frames that are not tagged dot1q 20, or untagged. i.e it will catch vlan1-19 and vlan 21 - 4094
    Similarly on Arista, you can configure "encapsulation unmatched" on an interface to do the same thing.I have not found a way to do this on Juniper, besides having to manually create a subinterface encapsulation and "choose" the remaining vlans i.e. client dot1q vlan-id-list [1-19,21-4094], which is a static config, and needs to be changed if I then add another subinterface with a specific vlan match.I am not sure if we can use wildcard for this as well.Please if someone has ever tried this on Juniper?