Cisco Systems N5KC5596TFA Switch User Manual


 
PurposeCommand or Action
Exits port profile configuration mode.exit
Example:
switch(config-port-prof)# exit
switch(config)#
Step 4
(Optional)
Displays the port profile configuration.
show port-profile
Example:
switch(config)# show port-profile name
Step 5
(Optional)
Copies the running configuration to the
startup configuration.
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Step 6
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
PurposeCommand or Action
Enters configuration mode.configure terminal
Example:
switch# configure terminal
switch(config)#
Step 1
Selects the range of interfaces.
interface [ethernet slot/port | interface-vlan vlan-id
| port-channel number]
Step 2
Example:
switch(config)# interface ethernet 7/3-5,
10/2, 11/20-25
switch(config-if)#
Removes the specified port profile from
the selected interfaces.
no inherit port-profile name
Example:
switch(config-if)# no inherit port-profile
adam
switch(config-if)#
Step 3
Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)
78-26881-OL 25
Configuring Layer 2 Interfaces
Port Profiles