1232
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter S Commands
switchport mode
switch(config-if)#
switchport mode vntag
switch(config-if)#
This example shows how to set a virtual Ethernet interface in trunk port mode:
switch#
configure terminal
switch(config)#
interface vethernet 1
switch(config-if)#
switchport mode trunk
switch(config-if)#
Related Commands
Command
Description
interface vethernet
Configures a virtual Ethernet interface.
show interface
ethernet
Displays information about a specified Ethernet interface.
show interface
switchport
Displays information on all interfaces configured as switch ports.
switchport access vlan
Sets the access VLAN when the interface is in access mode.