Introduction 142
SmartWare Software Configuration Guide 12 • Ethernet port configuration
Introduction
This chapter provides an overview of Ethernet ports and describes the tasks involved in configuring Ethernet
ports through the SmartWare.
Ethernet port configuration task list
To configure Ethernet ports, perform the tasks described in the following sections. Most of the task are required to
have an operable Ethernet port, some of the tasks are optional, but might be required for your application.
• Entering the Ethernet port configuration mode (see page 142)
• Configuring medium for an Ethernet port (see page 142)
• Configuring Ethernet encapsulation type for an Ethernet port (see page 143)
• Binding an Ethernet port to an IP interface (see page 143)
• Configuring multiple IP addresses on the Ethernet ports (see page 144)
• Configuring a VLAN (see page 145)
• Configuring layer 2 CoS to service-class mapping for an Ethernet port (advanced) (see page 146)
• Closing an Ethernet port (see page 148)
Entering the Ethernet port configuration mode
To enter port configuration mode and begin configuring an Ethernet port, enter the command
port ethernet
slot port in administrator execution mode. The keywords slot and port represent the number of the respective
physical entity.
Configuring medium for an Ethernet port
All Ethernet ports are configured by default to auto-sense both the port speed and the duplex mode. This is the
recommended configuration. Command options are (if supported by the platform):
• 10—for 10 Mbps
• 100—for 100 Mbps
• 1000—for Gigabit Ethernet
• auto—for auto-sense the port speed
• half—for half-duplex
• full—for full-duplex
This procedure describes how to configure the medium for the Ethernet port on slot and port
Mode: Configure
Step Command Purpose
1 node(cfg)#port ethernet slot port Enters Ethernet port configuration mode for the
interface on slot and port.
2 node(prt-eth)[slot/port]#medium (10 |
100 | 1000 | auto} (half | full)
Configures the interface on slot and port to
medium according to the selected option.