Reference Guide

Interfaces
You can congure and monitor physical interfaces (Ethernet), port-channels, and VLANs in L2 or L3 modes.
Table 1. Interface types
Interface type Supported / default mode Requires creation / default status
Ethernet (PHY) L2, L3 / unset No / no shutdown (enabled)
Management N/A No / no shutdown (enabled)
Loopback L3 / L3 Yes / no shutdown (enabled)
Port-channel L2, L3 / unset Yes / shutdown (disabled)
VLAN L2, L3 / L3 Yes (except default) / shutdown (disabled)
Ethernet interfaces
Ethernet port interfaces are enabled by default. To disable an Ethernet interface, enter the shutdown command.
To re-enable a disabled interface, enter the no shutdown command.
1 Congure an Ethernet port interface from global CONFIGURATION mode.
interface ethernet node/slot/port[:subport]
2 Disable and re-enable the Ethernet port interface in INTERFACE mode.
shutdown
no shutdown
Disable Ethernet port interface
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# shutdown
Enable Ethernet port interface
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# no shutdown
L2 mode conguration
All physical, Ethernet and port-channel interfaces use a single MAC address and, by default, operate in L2 mode. From L2 mode, you can
congure switching and L2 protocols, such as VLANs and spanning-tree protocol (STP) on an interface.
You can enable L2 switching on a port interface in access or trunk mode. By default, an interface is congured in access mode. Access
mode allows L2 switching of untagged trac on a single VLAN (VLAN 1 is the default). Trunk mode enables L2 switching of untagged
trac on the access VLAN, and tagged trac on multiple (two or more) VLANs.
A trunk interface carries VLAN trac that is tagged using 802.1q encapsulation. If an access interface receives a packet with an 802.1q tag
in the header that is dierent from the access VLAN ID, it drops the packet.
2
72 Interfaces