10G Core Routing Switch User Manual
陈泽科技有限公司
- - 17 - -
www.stephen-tele.com
5.2.2.
Enabling/Disabling an Ethernet Port
The following command can be used for disabling or enabling the port.
Beginning in privileged EXEC mode, follow these steps to enable an Ethernet port.
Command
Purpose
Step 1
config terminal
Enter global configuration mode.
Step 2
Interface
interface_id
Enter interface configuration mode for the physical
interface to be configured.
Step 3
shutdown
Disabling an Ethernet interface.
Step 4
exit
Return to global configuration mode.
Step 5
exit
Return to privileged EXEC mode.
Step 6
show Interface
interface_id
Verify your entries.
Step 7
Copy
running-config
startup-config
(Optional) Save your entries in the configuration file.
By default, the port is enabled.
To enabling an Ethernet interface ,use the interface configuration command
no shutdown.
5.2.3.
Setting the Duplex Attribute and speed of the Ethernet Port
Ethernet interfaces on the switch operate at 10, 100, or 1000 Mbps, or 10,000 Mbps and in either full or half-duplex
mode. In full-duplex mode, two stations can send and receive traffic at the same time. Normally, 10-Mbps ports
operate in half-duplex mode, which means that stations can either receive or send traffic. Switch models include
combinations of Gigabit Ethernet (10/100/1000-Mbps) ports, 10-Gigabit module ports, and small form-factor
pluggable (SFP) module slots supporting Gigabit SFP modules.
You cannot configure speed or duplex mode on 10-Gigabit module ports; these ports operate only at 10,000 Mbps
and in full duplex mode.
You can configure interface speed on Gigabit Ethernet (10/100/1000-Mbps) ports. You can configure Gigabit
Ethernet ports to full-duplex mode or to autonegotiate; you cannot configure half-duplex mode on Gigabit
Ethernet ports.
You cannot configure speed on SFP module ports, but you can configure speed to not negotiate (nonegotiate) if
connected to a device that does not support autonegotiation. However, when a 1000BASE-T SFP module is in the
SFP module port, you can configure speed as 10, 100, or 1000 Mbps, or auto.
You cannot configure duplex mode on SFP module ports unless a 1000BASE-T SFP module is in the port. All other
SFP modules operate only in full-duplex mode.
– When a 1000BASE-T SFP module is in the SFP module port, you can configure duplex mode to auto or full.
To configure a port to send and receive data packets at the same time, set it to full-duplex. To configure a port to
either send or receive data packets at a time, set it to half-duplex. If the port has been set to auto-negotiation mode,
the local and peer ports will automatically negotiate about the duplex mode. You can use the following command to
set the speed on the Ethernet port. If the speed is set to auto-negotiation mode, the local and peer ports will
automatically negotiate about the port speed.
Beginning in privileged EXEC mode, follow these steps to setting the duplex attribute and speed of the Ethernet port.