2.
Specify VLAN as the encapsulation method.
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 172, next.
Configuring IP over VLAN
To configure IP over VLAN over an Ethernet interface:
1.
Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet port.
host1(config)#
interface fastEthernet 4/0
2.
Specify VLAN as the encapsulation method.
host1(config-if)#
encapsulation vlan
The VLAN major interface is added.
3.
Create a VLAN subinterface by adding a subinterface number to the interface
identification command.
host1(config-if)#
interface fastEthernet 4/0.3
4.
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
5.
Assign an IP address and mask.
host1(config-if)#
ip address 192.6.129.5 255.255.255.0
6.
(Optional) Configure additional VLAN subinterfaces by completing Steps 3 through
5.
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.
Creating a VLAN Subinterface
■
173
Chapter 5: Configuring VLAN and S-VLAN Subinterfaces
Содержание JUNOSE 11.1.X - LINK LAYER CONFIGURATION 4-7-2010
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 26: ...xxvi List of Figures JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 34: ...2 Chapters JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 200: ...168 Monitoring Upper Level Protocols over Ethernet JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 230: ...198 Monitoring VLAN and S VLAN Subinterfaces JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 258: ...226 Monitoring 802 3ad Link Aggregation JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 334: ...302 Troubleshooting JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 394: ...362 Monitoring Multiclass MLPPP JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 406: ...374 Monitoring POS JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 468: ...436 Troubleshooting JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 498: ...466 Monitoring Bridged Ethernet JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 546: ...514 Monitoring Cisco HDLC JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 747: ...Part 2 Index Index on page 717 Index 715...
Страница 748: ...716 Index JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 774: ...742 Index JUNOSe 11 1 x Link Layer Configuration Guide...