Assigning A Port Profile To A Range Of Interfaces - Cisco Nexus 5000 Series Configuration Manual

Nx-os layer 2 switching configuration guide, release 5.0(3)n1(1)
Hide thumbs Also See for Nexus 5000 Series:
Table of Contents

Advertisement

Configuring Port Profiles
Command or Action
Step 6
copy running-config startup-config
Example:
switch(config)# copy running-config startup-config
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.
SUMMARY STEPS
1. 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
6. (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
interface [ethernet slot/port | interface-vlan vlan-id |
port-channel number]
Example:
switch(config)# interface ethernet 7/3-5, 10/2, 11/20-25
switch(config-if)#
Step 3
inherit port-profile name
Example:
switch(config-if)# inherit port-profile adam
switch(config-if)#
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)N1(1)
34
Configuring Ethernet Interfaces
Purpose
(Optional)
Copies the running configuration to the startup
configuration.
Purpose
Enters configuration mode.
Selects the range of interfaces.
Assigns the specified port profile to the selected
interfaces.

Advertisement

Table of Contents
loading

Table of Contents