Cisco Systems N5KC5596TFA Enabling a Specific Port Profile, channel name, state enabled name

Models: N5KC5596TFA

1 122
Download 122 pages 34.07 Kb
Page 33
Image 33
Enabling a Specific Port Profile

Configuring Layer 2 Interfaces

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

Procedure

 

Command or Action

Purpose

Step 1

configure terminal

Enters configuration mode.

 

Example:

 

 

switch# configure terminal

 

 

switch(config)#

 

Step 2

port-profile [type {ethernet interface-vlan port

Enters the port profile configuration

 

channel}] name

mode for the specified port profile.

 

Example:

 

 

switch(config)# port-profile type ethernet

 

 

test

 

 

switch(config-port-prof)# no shutdown

 

 

switch(config-port-prof)#

 

Step 3

state enabled name

Enables the port profile.

 

Example:

 

 

switch(config-port-prof)# state enabled

 

 

switch(config-port-prof)#

 

Step 4

exit

Exits the port profile configuration

 

 

mode.

 

Example:

 

 

switch(config-port-prof)# exit

 

 

switch(config)#

 

Step 5

show port-profile

(Optional)

 

 

Displays the port profile configuration.

 

Example:

 

 

switch(config)# show port-profile name

 

Step 6

copy running-config startup-config

Example:

switch(config)# copy running-config startup-config

(Optional)

Copies the running configuration to the startup configuration.

Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)

78-26881-OL

21

Page 33
Image 33
Cisco Systems N5KC5596TFA Enabling a Specific Port Profile, port-profile type ethernet interface-vlan port, channel name