Cisco Systems N5KC5596TFA Removing a Port Profile from a Range of Interfaces, Procedure, exit

Models: N5KC5596TFA

1 122
Download 122 pages 34.07 Kb
Page 37
Image 37
Removing a Port Profile from a Range of Interfaces

Configuring Layer 2 Interfaces

Port Profiles

 

Command or Action

Purpose

Step 4

exit

Exits port profile configuration mode.

 

Example:

 

 

switch(config-port-prof)# exit

 

 

switch(config)#

 

Step 5

show port-profile

(Optional)

 

 

Displays the port profile configuration.

 

Example:

 

 

switch(config)# show port-profile name

 

Step 6

copy running-config startup-config

Example:

switch(config)# copy running-config startup-config

(Optional)

Copies the running configuration to the startup configuration.

This example shows how to assign the port profile named adam to Ethernet interfaces 2/3 to 2/5, 3/2, and 1/20 to 1/25:

switch# configure terminal

switch(config)# interface ethernet 2/3 to 2/5, 3/2, and 1/20 to 1/25 switch(config-if)# inherit port-profile adam

switch(config-if)#

Removing a Port Profile from a Range of Interfaces

You can remove a port profile from some or all of the interfaces to which you have applied the profile.

Procedure

 

Command or Action

Purpose

Step 1

configure terminal

Enters configuration mode.

 

Example:

 

 

switch# configure terminal

 

 

switch(config)#

 

Step 2

interface [ethernet slot/port interface-vlan vlan-id

Selects the range of interfaces.

port-channel number]

Example:

switch(config)# interface ethernet 7/3-5, 10/2, 11/20-25

switch(config-if)#

Step 3

no inherit port-profile name

Removes the specified port profile from

 

 

the selected interfaces.

Example:

switch(config-if)# no inherit port-profile adam

switch(config-if)#

Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)

78-26881-OL

25

Page 37
Image 37
Cisco Systems N5KC5596TFA Removing a Port Profile from a Range of Interfaces, the selected interfaces, Procedure, exit