Configuring Ethernet Interfaces
Command or Action
Step 4
exit
Example:
switch(config-port-prof)# exit
switch(config)#
Step 5
show port-profile
Example:
switch(config)# show port-profile name
Step 6
copy running-config startup-config
Example:
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)#
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.
SUMMARY STEPS
1. configure terminal
2. interface [ethernet slot/port | interface-vlan vlan-id | port-channel number]
3. no inherit port-profile name
4. exit
5. (Optional) show port-profile
6. (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)N1(1)
Configuring Port Profiles
Purpose
Exits port profile configuration mode.
(Optional)
Displays the port profile configuration.
(Optional)
Copies the running configuration to the startup
configuration.
Purpose
Enters configuration mode.
35