Verifying the Port Profile Configuration
This chapter describes the commands used to verify port profile configurations.
This chapter includes the following sections:
•Verifying the Port Profile Configuration
•Feature History for Port Profile Verification
Verifying the Port Profile Configuration
You can use the following commands to verify the port profile configuration.
|
|
show port-profile [brief | expand-interface | usage] [name profile-name] |
Displays the port profile configuration. |
show running-config interface {ethernet slot/port | mgmt 0 | vethernet number} |
Displays the port profile configuration, including interface assignments. |
For detailed information about the command output, see the Cisco Nexus 1000V Command Reference, Release 4.0(4)SV1(2).
EXAMPLES
The following example shows how to display information about all port profiles:
n1000v# show port-profile
port-profile UpLinkProfile1
channel-group auto mode on mac-pinning
evaluated config attributes:
channel-group auto mode on mac-pinning
port-profile UpLinkProfile2
channel-group auto mode on sub-group cdp
evaluated config attributes:
channel-group auto mode on sub-group cdp
port-profile UpLinkProfile3
channel-group auto mode on sub-group manual
evaluated config attributes:
channel-group auto mode on sub-group manual
assigned interfaces:n1000v#
The following example shows how to display information about a specific port profile:
n1000v# show port-profile name UpLinkProfile3
port-profile UpLinkProfile3
channel-group auto mode on sub-group manual
evaluated config attributes:
channel-group auto mode on sub-group manual
The following example shows how to display summary information about all port profiles:
n1000v# show port-profile brief
--------------------------------------------------------------------------------
Port Profile Remote Conf Eval Child Child
Profile State Mgmt Items Items Intfs Profs
--------------------------------------------------------------------------------
UplinkProfile1 enabled vmware 3 3 1 0
UplinkProfile2 enabled vmware 3 3 2 0
Ubuntu-Profile enabled vmware 3 3 1 0
The following example shows how to display usage information about all port profiles:
n1000v# show port-profile usage
--------------------------------------------------------------------------------
Port Profile Port Adapter Owner
--------------------------------------------------------------------------------
UplinkProfile1 Eth2/2 vmnic1 mcs-srvr26
UplinkProfile2 Eth2/3 vmnic2 mcs-srvr26
Ubuntu-Profile Veth439 ubuntu-2
The following example shows how to display expanded interface information about a specific port profile:
n1000v# show port-profile expand-interface name UplinkProfile1
port-profile UplinkProfile1
switchport trunk allowed vlan 110-119
The following example shows how to display expanded interface information for all port profiles:
n1000v# show port-profile expand-interface
port-profile UplinkProfile1
switchport trunk allowed vlan 110-119
port-profile UplinkProfile2
switchport trunk allowed vlan 117
switchport trunk allowed vlan 117
port-profile Ubuntu-Profile
switchport access vlan 118
The following example shows how to display the running configuration of all port profiles:
n1000v# show running-config port-profile
port-profile type ethernet UplinkProfile1
description "Profile for critical system ports"
switchport access vlan 113
switchport trunk native vlan 113
channel-group auto mode on
port-profile type vethernet UplinkProfile2
switchport trunk native vlan 112
channel-group auto mode on sub-group cdp
Feature History for Port Profile Verification
This section provides the feature history for port profile verification.
|
|
|
Port Profile verification |
4.0(4)SV1(1) |
This feature was introduced. |
show running-config command |
4.0(4)SV1(2) |
This command output has the following changes: •Shows the port profile type (Ethernet or vEthernet). •Optionally, you can display running configurations for all port profiles or a specific port profile. |
show port-profile name command |
4.0(4)SV1(2) |
This command output shows the port profile type, pinning, and channel-group configuration. The uplink capability is removed from the output of this command since port profiles used as uplinks are now configured as Ethernet type instead. |