Cisco Systems N5KC5596TFA Switch User Manual


 
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
Procedure
PurposeCommand or Action
Enters configuration mode.configure terminal
Example:
switch# configure terminal
switch(config)#
Step 1
Enters the port profile configuration
mode for the specified port profile.
port-profile [type {ethernet | interface-vlan | port
channel}] name
Example:
switch(config)# port-profile type ethernet
test
Step 2
switch(config-port-prof)# no shutdown
switch(config-port-prof)#
Enables the port profile.
state enabled name
Example:
switch(config-port-prof)# state enabled
switch(config-port-prof)#
Step 3
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
Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)
78-26881-OL 21
Configuring Layer 2 Interfaces
Port Profiles