Configuring Port Profiles
This example shows how to remove commands from the port profile named ppEth configured for an Ethernet
interface:
switch# configure terminal
switch(config)# port-profile ppEth
switch(config-port-prof)# switchport mode trunk
switch(config-port-prof)# switchport trunk allowed vlan 300-400
switch(config-port-prof)# flowcontrol receive on
switch(config-port-prof)# no speed 10000
switch(config-port-prof)#
Enabling a Specific Port Profile
SUMMARY STEPS
1. configure terminal
2. port-profile [type {ethernet | interface-vlan | port channel}] name
3. state enabled 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
port-profile [type {ethernet | interface-vlan | port channel}]
name
Example:
switch(config)# port-profile type ethernet test
switch(config-port-prof)# no shutdown
switch(config-port-prof)#
Step 3
state enabled name
Example:
switch(config-port-prof)# state enabled
switch(config-port-prof)#
Step 4
exit
Example:
switch(config-port-prof)# exit
switch(config)#
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)N1(1)
30
Configuring Ethernet Interfaces
Purpose
Enters configuration mode.
Enters the port profile configuration mode for
the specified port profile.
Enables the port profile.
Exits the port profile configuration mode.