Configuring Vlan And S-Vlan Subinterfaces; Configuring Ip Over Vlan - Juniper JUNOSE SOFTWARE 11.2.X - LINK LAYER CONFIGURATION GUIDE 7-7-2010 Configuration Manual

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

Advertisement

Configuring IP over VLAN

Copyright © 2010, Juniper Networks, Inc.
Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet port.
1.
host1(config)#interface fastEthernet 4/0
Specify VLAN as the encapsulation method.
2.
host1(config-if)#encapsulation vlan
The router creates the VLAN major interface.
You can now create multiple VLAN subinterfaces to carry higher-level protocols. For
examples, see "Creating a VLAN Subinterface" on page 170, next.
To configure IP over VLAN over an Ethernet interface:
Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet port.
1.
host1(config)#interface fastEthernet 4/0
Specify VLAN as the encapsulation method.
2.
host1(config-if)#encapsulation vlan
The VLAN major interface is added.
Create a VLAN subinterface by adding a subinterface number to the interface
3.
identification command.
host1(config-if)#interface fastEthernet 4/0.3
Do one of the following:
4.
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.
5.
host1(config-if)#ip address 192.6.129.5 255.255.255.0
(Optional) Configure additional VLAN subinterfaces by completing Steps 3 through
6.
5.
Figure 14 on page 172 illustrates the IP/VLAN/Fast Ethernet stacking, showing two separate
VLAN subinterfaces. Configure one VLAN subinterface entirely; then configure the next
VLAN subinterface.
Chapter 5: Configuring VLAN and S-VLAN Subinterfaces
171

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.2

Table of Contents