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: KB31896 KB Last Updated: 26 Jun 2020Version: 2.0
Summary:

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

Solution:

On vSRX tagged and untagged sub-interfaces can be configured on the same physical interface. To accept untagged packets the native-vlan-id  and flexible-vlan-tagging statements 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.

This example shows how untagged packet is 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-06-23: Article reviewed for accuracy; no changes required

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