Cisco Systems N5KC5596TFA Switch User Manual


 
PurposeCommand or Action
Exits 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
This example shows how tos remove the port profile named adam from Ethernet interfaces 1/3-5:
switch# configure terminal
switch(config)# interface ethernet 1/3-5
switch(config-if)# no inherit port-profile adam
switch(config-if)#
Configuration Examples for Port Profiles
The following example shows how to configure a port profile, inherit the port profile on an Ethernet interface,
and enabling the port profile.
switch(config)#
switch(config)# show running-config interface Ethernet1/14
!Command: show running-config interface Ethernet1/14
!Time: Thu Aug 26 07:01:32 2010
version 5.0(2)N1(1)
interface Ethernet1/14
switch(config)# port-profile type ethernet alpha
switch(config-port-prof)# switchport mode trunk
switch(config-port-prof)# switchport trunk allowed vlan 10-15
switch(config-port-prof)#
switch(config-port-prof)# show running-config port-profile alpha
!Command: show running-config port-profile alpha
!Time: Thu Aug 26 07:02:29 2010
version 5.0(2)N1(1)
port-profile type ethernet alpha
switchport mode trunk
switchport trunk allowed vlan 10-15
switch(config-port-prof)# int eth 1/14
switch(config-if)# inherit port-profile alpha
switch(config-if)#
switch(config-if)# port-profile type ethernet alpha
switch(config-port-prof)# state enabled
switch(config-port-prof)#
Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)
26 78-26881-OL
Configuring Layer 2 Interfaces
Port Profiles