Users Guide

Table Of Contents
Usage Information
If you assign an IP address to an interface, you cannot use this command to enable L2 switching — you must
first remove the IP address.
The access parameter automatically adds an interface to default VLAN1 to transmit untagged traffic. Use
the switchport access vlan command to change the access VLAN assignment.
The trunk parameter configures an interface to transmit tagged VLAN traffic. You must manually configure
VLAN membership for a trunk port with the switchport trunk allowed vlan command.
Use the no switchport command to remove all L2 configurations when you configure an L3 mode
interface.
Use the no switchport mode command to restore a trunk port on an interface to L2 Access mode on
VLAN1.
Example
OS10(conf-if-eth1/1/7)# switchport mode access
Supported
Releases
10.2.0E or later
switchport trunk allowed vlan
Configures the tagged VLAN traffic that a L2 trunk interface can carry. An L2 trunk port has no tagged VLAN membership and does not
transmit tagged traffic.
Syntax
switchport trunk allowed vlan vlan-id-list
Parameters vlan-id-list — Enter the VLAN numbers of the tagged traffic that the L2 trunk port can carry. Comma-
separated and hyphenated VLAN number ranges are supported.
Default None
Command Mode INTERFACE
Usage Information Use the no version of this command to remove the configuration.
Example
OS10(conf-if-eth1/1/2)# switchport trunk allowed vlan 1000
OS10(conf-if-eth1/1/2)# no switchport trunk allowed vlan 1000
Supported
Releases
10.2.0E or later
unit-provision
Provisions the unit ID of a Fabric Expander attached to an MX9116n Fabric Switching Engine in Full Switch mode.
Syntax
unit-provision node/unit-id provision_name
Syntax
unit-provision node/unit-id provision_name
Parameters
node/unit-id — Enter 1 for node with an unassigned unit ID displayed in the show unit-provision
output.
provision_name — Enter the service tag of the Fabric Expander displayed in the show discovered-
expanders output.
Default None
Command Mode CONFIGURATION
Usage Information
To verify the currently configured mode on a Fabric Engine, use the show operating mode command. If a
Fabric Engine is in Full Switch mode, you must manually provision a Fabric Expander using the unit-
provision command. This command assigns a unit ID to a service tag or provision name. To transmit server
traffic, you must configure the virtual port on the Fabric Expander by entering the unit ID as the virtual-slot
number using the interface ethernet node/virtual-slot/port command.
278 Interfaces