Port Profiles
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.
SUMMARY STEPS
1. switch# configure terminal
2. interface [ethernet slot/port | interface-vlan vlan-id | port-channel number]
3. inherit port-profile name
4. exit
5. (Optional) show port-profile name
6. (Optional) switch(config)# copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
interface [ethernet slot/port | interface-vlan
vlan-id | port-channel number]
Step 3
inherit port-profile name
Step 4
exit
Step 5
show port-profile name
Step 6
switch(config)# copy running-config
startup-config
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)# exit
switch(config)# show port-profile adam
switch(config)# copy running-config startup-config
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.
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
30
Purpose
Enters global configuration mode.
Selects the range of interfaces.
Assigns the specified port profile to the selected interfaces.
Exits port profile configuration mode.
(Optional)
Displays the port profile configuration.
(Optional)
Saves the change persistently through reboots and restarts by
copying the running configuration to the startup configuration.
Configuring Ethernet Interfaces
OL-25842-01