Cisco Systems N5KC5596TFA Switch User Manual


 
PurposeCommand or Action
Exits the 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 remove the inherited port profile named adam from the port profile named test:
switch# configure terminal
switch(config)# port-profile test
switch(config-ppm)# no inherit port-profile adam
switch(config-ppm)#
Assigning a Port Profile to a Range of Interfaces
You can assign a port profile to an interface or to a range of interfaces. All of the interfaces must be the same
type.
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)#
Assigns the specified port profile to the
selected interfaces.
inherit port-profile name
Example:
switch(config-if)# inherit port-profile adam
switch(config-if)#
Step 3
Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)
24 78-26881-OL
Configuring Layer 2 Interfaces
Port Profiles