41
Configuring Interfaces
Configuring Ethernet Interfaces
To disable auto-MDIX, use the
no mdix auto
interface configuration command.
This example shows how to enable auto-MDIX on a port:
Switch#
configure terminal
Switch(config)#
interface GigabitEthernet1/17
Switch(config-if)#
no shutdown
Switch(config-if)#
speed auto
Switch(config-if)#
duplex auto
Switch(config-if)#
mdix auto
Switch(config-if)#
end
Adding a Description for an Interface
You can add a description about an interface to help you remember its function. The description appears in the output
of these privileged EXEC commands:
show configuration
,
show running-config
,
and
show interfaces
.
Beginning in privileged EXEC mode, follow these steps to add a description for an interface:
Use the
no description
interface configuration command to delete the description.
This example shows how to add a description on a port and how to verify the description:
Switch#
config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
interface GigabitEthernet1/18
Switch(config-if)#
description Connects to Marketing
Switch(config-if)#
end
Switch#
show interfaces GigabitEthernet1/18 description
Interface Status Protocol Description
Gi 0/2
admin down down Connects to Marketing
7.
end
Return to privileged EXEC mode.
8.
show controllers ethernet-controller
interface-id
phy
Verify the operational state of the auto-MDIX feature on the interface.
9.
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Command
Purpose
1.
configure terminal
Enter global configuration mode.
2.
interface
interface-id
Specify the interface for which you are adding a description, and enter
interface configuration mode.
3.
description
string
Add a description (up to 240 characters) for an interface.
4.
end
Return to privileged EXEC mode.
5.
show interfaces
interface-id
description
or
show running-config
Verify your entry.
6.
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...