interface (VLAN)
To create a VLAN subinterface, use the
interface
command in global configuration mode. To delete a
subinterface, use the
no
form of this command.
interface type interface-path-id.subinterface [l2transport]
no interface type interface-path-id.subinterface [l2transport]
Syntax Description
Type of Ethernet interface on which you want to create a VLAN. Enter
GigabitEthernet
,
TenGigE
,, or
Bundle-Ether
.
type
Physical interface or virtual interface followed by the subinterface path ID.
Naming notation is
interface-path-id.subinterface
. The period in front of the
subinterface value is required as part of the notation.
For more information about the syntax for the router, use the question mark
(?) online help function.
interface-path-id.subinterface
Enables Layer 2 transport port mode on the specified VLAN interface and
enters Layer 2 transport configuration mode. The l2transport keyword creates
the Vlan interface in L2 mode so that it can be used for L2VPNs and local
switching.
l2transport
Command Default
No default behavior or values
Command Modes
Global configuration
Command History
Modification
Release
This command was introduced.
Release 3.7.2
Usage Guidelines
For the
interface-path-id
argument, use the following guidelines:
•
If specifying a physical interface, the naming notation is
rack
/
slot
/
module
/
port
. The slash between values
is required as part of the notation. An explanation of each component of the naming notation is as follows:
◦
rack
: Chassis number of the rack.
◦
slot
: Physical slot number of the line card.
◦
module
: Module number. A physical layer interface module (PLIM) is always 0.
◦
port
: Physical port number of the interface.
Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Command Reference,
Release 5.3.x
1092
VLAN Subinterface Commandsonthe Cisco ASR 9000 Series Router
interface (VLAN)