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)
Enable Ethernet interfaces
Although all Ethernet port interfaces are enabled by default, you must use the no shutdown command to enable trac for a specic
congured Ethernet port interface. The shutdown command prevents all trac from passing through an Ethernet interface.
1 Enter an Ethernet port interface in CONFIGURATION mode.
interface ethernet node/slot/port[:subport]
2 Enable the Ethernet port interface in INTERFACE mode.
no shutdown
3 Save the conguration.
do commit
Enable Ethernet port interface
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# no shutdown
OS10(conf-if-eth1/1/1)# do commit
Disable Ethernet port interface
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# shutdown
OS10(conf-if-eth1/1/1)# do commit
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 enabled 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.
2
64 Interfaces