Cisco Systems N3KC3064TFAL3 Changing an Interface Port Mode, running-config bootflash, Procedure

Models: N3KC3064TFAL3 N3KC3048TP1GE

1 164
Download 164 pages 5.98 Kb
Page 27
Image 27
Changing an Interface Port Mode

Configuring Ethernet Interfaces

Changing an Interface Port Mode

This example shows how to disable UDLD for an Ethernet port:

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

This example shows how to disable UDLD for the switch:

switch# configure terminal switch(config)# no feature udld

Changing an Interface Port Mode

You can configure a Quad small form-factor pluggable (QSFP+) port by using the hardware profile portmode command. To restore the defaults, use the no form of this command.

To change an interface port mode, preform this task:

Procedure

 

Command or Action

Purpose

 

Step 1

switch# configure terminal

Enters global configuration mode.

Step 2

switch(config)# copy

Copies the running configuration to the bootflash. You

 

running-config bootflash:

can use this file to configure your device later.

 

my-config.cfg

 

 

Step 3

switch(config)# write erase

Removes all the interface configurations.

Step 4

switch(config)# reload

Reloads the Cisco Nexus 3000 Series switch software.

Step 5

switch(config)# [no] hardware

Changes the interface port mode.

 

profile portmode portmode

 

 

Step 6

switch(config)# copy

(Optional)

 

running-config startup-config

Saves the change persistently through reboots and restarts

 

 

by copying the running configuration to the startup

 

 

configuration.

Step 7

switch(config)# reload

Reloads the Cisco Nexus 3000 Series switch software.

 

 

Manually apply all the interface configuration. You can

 

 

refer to the configuration file that you saved earlier.

 

 

Note

The interface numbering changes if the ports

 

 

 

are changed from 40G mode to 4x10G mode or

 

 

 

vice-versa.

This example shows how to change the port mode to 48x10g+4x40g for QSFP+ ports:

switch# configure terminal

switch(config) copy running-config bootflash:my-config.cfg switch(config)# write erase

switch(config)# reload

WARNING: This command will reboot the system Do you want to continue? (y/n) [n] y

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

OL-26590-01

13

Page 27
Image 27
Cisco Systems N3KC3064TFAL3 Changing an Interface Port Mode, running-config bootflash, profile portmode portmode, Step