Juniper JUNOSE SOFTWARE FOR E SERIES 11.3.X - LINK LAYER CONFIGURATION GUIDE 2010-10-13 Configuration Manual page 712

Software for e series broadband services routers link layer configuration guide
Table of Contents

Advertisement

JunosE 11.3.x Link Layer Configuration Guide
encapsulation vlan
680
Do one of the following:
4.
Assign a VLAN ID for the subinterface.
host1(config-if)#vlan id 201
Assign a VLAN ID and the optional unique MAC address for the subinterface.
host1(config-if)#vlan id 201 mac-address 0090.1a01.1234
To fully configure the VLAN subinterface, assign an IP address, or make it unnumbered.
5.
host1(config-if)#ip unnumbered loopback 0
Creating VLAN Subranges That Include Static VLAN Subinterfaces
You can configure a bulk-configured VLAN subrange that includes the VLAN ID belonging
to an existing VLAN on a static VLAN subinterface. This example is essentially the reverse
of the procedure in "Creating Static VLAN Subinterfaces Within VLAN Subranges" on
page 679.
To create a VLAN subrange that includes a static VLAN subinterface:
Create the VLAN major interface.
1.
host1(config)#interface gigabitEthernet 3/1
host1(config-if)#encapsulation vlan
Specify a static VLAN subinterface.
2.
host1(config-if)#interface gigabitEthernet 3/1.201
Do one of the following:
3.
Assign a VLAN ID for the subinterface.
host1(config-if)#vlan id 201
Assign a VLAN ID and the optional unique MAC address for the subinterface.
host1(config-if)#vlan id 201 mac-address 0090.1a01.1234
Create a bulk-configured VLAN range that includes the VLAN ID of the previously
4.
configured VLAN. In this example, the VLAN range 100–250 includes VLAN ID 201.
host1(config)#interface gigabitEthernet 3/1
host1(config-if)#vlan bulk-config test2 vlan-range 100 250
To fully configure the VLAN subinterface, assign an IP address or make it unnumbered.
5.
host1(config-if)#ip unnumbered loopback 0
Use to configure VLAN as the encapsulation method on an interface.
Issuing this command creates the VLAN major interface.
Example
host1(config-if)#encapsulation vlan
Copyright © 2010, Juniper Networks, Inc.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.3

Table of Contents