Configuring Ethernet Interfaces

Disabling and Restarting Ethernet Interfaces

 

Command or Action

Purpose

Step 3

switch(config-if)# description test

Specifies the description for the interface.

This example shows how to set the interface description to "Server 3 Interface."

switch# configure terminal switch(config)# interface ethernet 1/3 switch(config-if)# description Server 3 Interface

Disabling and Restarting Ethernet Interfaces

You can shut down and restart an Ethernet interface. This action disables all of the interface functions and marks the interface as being down on all monitoring displays. This information is communicated to other network servers through all dynamic routing protocols. When shut down, the interface is not included in any routing updates.

To disable an interface, perform this task:

Procedure

 

Command or Action

Purpose

Step 1

switch# configure terminal

Enters configuration mode.

Step 2

switch(config)# interface type slot/port

Enters interface configuration mode for the

 

 

specified interface.

Step 3

switch(config-if)# shutdown

Disables the interface.

Step 4

switch(config-if)# no shutdown

Restarts the interface.

The following example shows how to disable an Ethernet port:

switch# configure terminal switch(config)# interface ethernet 1/4 switch(config-if)#shutdown

The following example shows how to restart an Ethernet interface:

switch# configure terminal switch(config)# interface ethernet 1/4 switch(config-if)#no shutdown

Displaying Interface Information

To view configuration information about the defined interfaces, perform one of these tasks:

Cisco Nexus 3000 NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U3(1)

OL-26590-01

21

Page 35
Image 35
Cisco Systems N3KC3064TFAL3, N3KC3048TP1GE Displaying Interface Information, Disabling and Restarting Ethernet Interfaces