Configuring Ip Over Vlan - Juniper JUNOSE 11.1.X - LINK LAYER CONFIGURATION 4-7-2010 Configuration Manual

For e series broadband services routers - link layer configuration
Table of Contents

Advertisement

2.
You can now create multiple VLAN subinterfaces to carry higher-level protocols. For
examples, see "Creating a VLAN Subinterface" on page 172, next.

Configuring IP over VLAN

To configure IP over VLAN over an Ethernet interface:
1.
2.
3.
4.
5.
6.
Figure 14 on page 174 illustrates the IP/VLAN/Fast Ethernet stacking, showing two
separate VLAN subinterfaces. Configure one VLAN subinterface entirely; then configure
the next VLAN subinterface.
Specify VLAN as the encapsulation method.
host1(config-if)#encapsulation vlan
The router creates the VLAN major interface.
Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet port.
host1(config)#interface fastEthernet 4/0
Specify VLAN as the encapsulation method.
host1(config-if)#encapsulation vlan
The VLAN major interface is added.
Create a VLAN subinterface by adding a subinterface number to the interface
identification command.
host1(config-if)#interface fastEthernet 4/0.3
Do one of the following:
a. Assign a VLAN ID for the subinterface.
host1(config-if)#vlan id 201
b. Assign a VLAN ID and the optional unique MAC address for the subinterface.
host1(config-if)#vlan id 201 mac-address 0090.1a01.1234
Assign an IP address and mask.
host1(config-if)#ip address 192.6.129.5 255.255.255.0
(Optional) Configure additional VLAN subinterfaces by completing Steps 3 through
5.
Chapter 5: Configuring VLAN and S-VLAN Subinterfaces
Creating a VLAN Subinterface
173

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.1.x

Table of Contents