Modifying A Port Profile - Cisco nexus 5000 series Configuration Manual

Nx-os layer 2
Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Port Profiles
Command or Action
Step 2
port-profile [type {ethernet | interface-vlan | port channel}]
name
Example:
switch(config)# port-profile type ethernet test
switch(config-port-prof)#
Step 3
exit
Example:
switch(config-port-prof)# exit
switch(config)#
Step 4
show port-profile
Example:
switch(config)# show port-profile name
Step 5
copy running-config startup-config
Example:
switch(config)# copy running-config startup-config
This example shows how to create a port profile named test for Ethernet interfaces:
switch# configure terminal
switch(config)# port-profile type ethernet test
switch(config-port-prof)#
This example shows how to add the interface commands to a port profile named ppEth configured for Ethernet
interfaces:
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)# speed 10000
switch(config-port-prof)#

Modifying a Port Profile

You can modify a port profile in port-profile configuration mode.
You can remove commands from a port profile using the no form of the command. When you remove a
command from the port profile, the corresponding command is removed from the interface that is attached to
the port profile.
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
24
Configuring Ethernet Interfaces
Purpose
Creates and names a port profile for the specified
type of interface and enters the port profile
configuration mode.
Exits port profile configuration mode.
(Optional)
Displays the port profile configuration.
(Optional)
Copies the running configuration to the startup
configuration.
OL-25842-01

Advertisement

Table of Contents
loading

Table of Contents