OcNOS-SP : Layer 2 Guide : Layer 2 Command Reference : Layer 2 Subinterface Commands : interface IFNAME.SUBINTERFACE_ID switchport
interface IFNAME.SUBINTERFACE_ID switchport
Use this command to configure a L2 subinterface. An L2 sub-interfaces makes it possible for a logical interface to be created on an Ethernet physical interface as well as on dynamic/static LAG interfaces to handle one slice of its resource. The supported method for this resource slicing is vlan credential based which can be a single tagged or double-tagged or untagged or default along with encapsulation types as either dot1q or dot1ad.
Use no form of this command to unconfigure a sub-interface.
Command Syntax
interface IFNAME.SUBINTERFACE_ID switchport
no interface IFNAME.SUBINTERFACE_ID
Parameters
IFNAME
Interface name, such as xe1, po1 or sa1
SUBINTERFACE_ID
 
Subinterface identifier <1-2000>
switchport
L2 subinterface
Default
None
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
(config)#interface xe1.1 switchport
(config-if)#exit
(config)#no interface xe1.1
(config)#interface po1.1 switchport
(config-if)#exit
(config)#no interface po1.1
(config)#interface sa1.1 switchport
(config-if)#exit
(config)#no interface sa1.1
(config)#exit
#
 
Last modified date: 07/06/2023