Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

How to configure tagged and untagged sub-interfaces on vSRX

0

0

Article ID: KB31895 KB Last Updated: 31 Jul 2020Version: 2.0
Summary:

This article gives an example of configuring tagged and untagged sub-interfaces on vSRX.

Solution:

On a vSRX, tagged and untagged sub-interfaces can be configured on the same physical interface. To accept untagged packets, a native-vlan-id statement and flexible-vlan-tagging statement must be included at the [edit interfaces interface-name] hierarchy level:

[edit interfaces ge-fpc/pic/port]
flexible-vlan-tagging;
native-vlan-id number;


The logical interface on which untagged packets are to be received must be configured with the same native-vlan-id as that configured on the physical interface. To configure the logical interface, include the vlan-id statement (matching the native-vlan-id statement on the physical interface) at the [edit interfaces interface-name unit logical-unit-number] hierarchy level.

The following example shows how an untagged packet can be mapped to logical unit number 0 of vlan-id 10:

root@vSRX-1# show interfaces ge-0/0/0 
flexible-vlan-tagging;
native-vlan-id 10;
unit 0 {
    vlan-id 10;
    family inet {
        address 10.10.10.1/30;
    }
}
unit 1 {
    vlan-id 20;
    family inet {
        address 20.20.20.1/30;
    }
}
Modification History:
2020-07-31: Article reviewed for accuracy. No changes made. Article is correct and complete.
 

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search