Chapter 6 Interface Configuration
Confidential and Proprietary Information of ZTE CORPORATION 103
Configuring VLAN-Sub Interface
IEEE 802.1q was a project in IEEE 802 standards process to
develop a mechanism to allow multiple bridged networks to
transparently share same physical network link without leakage
of information between networks (i.e. "trunking"). IEEE 802.1q
is also name of standard issued by this process and in common
usage name of encapsulation protocol used to implement this
mechanism over Ethernet networks.
ZXR10 routers can utilize 802.1q VLAN trunk and sub-interface
technology to provide inter-VLAN routes in switch. To terminate
different VLANs on switch, multiple logical sub-interfaces should
be created on the physical interface of the router. The sub-
interfaces correspond to the VLANs on the switch one by one by
means of VLAN IDs.
This procedure describes how to do VLAN-sub interface on ZTE
ZXR10 GER.
Router Command Line Interface has been accessed.
1. To enter into configuration mode, use config terminal
command in privilged mode, as shown in
Table 110.
TABLE 110 CONFIG TERMINAL COMMAND
Command
Format
Command
Mode
Command Function
config
terminal
Exec Enters into global configuration
mode
Result: This enables to enter into global configuration mode.
2. To enter into interface configuration mode, use interface
<interface-number> command in global configuration mode,
as shown in
Table 111.
TABLE 111 INTERFACE CONFIG COMMAND
Command
Format
Command
Mode
Command Function
interface
<interface-
number>
global config
This enters into interface
configuration mode
Result: This enables to enter into interface configuration
mode.
3. To encapsulate dot1q VLAN-ID, use encapsulation dot1Q
<vlan-id>command in interface configuration mode, as
shown in
Table 112.
Background
802.1q VLAN
Trunk
Purpose
Prerequisite
Steps