The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
Contents
This chapter contains the following sections:
Use one of the following commands to verify the configuration:
show port-profile [brief | expand-interface | usage] [name profile-name]
show running-config port-profile [profile-name]
show port-profile virtual usage [name profile-name]
show running-config port-profile [prof-name]
For detailed information about the command output, see the Cisco Nexus 1000V Command Reference.
switch# show port-profile port-profile PVLAN_MAC type: Ethernet description: NSM created profile. Do not delete. status: enabled max-ports: 512 min-ports: 1 inherit: MAC config attributes: switchport mode private-vlan trunk promiscuous switchport private-vlan mapping trunk 356 357-358 switchport private-vlan trunk allowed vlan 342,3000-3500 no shutdown evaluated config attributes: mtu 4074 switchport mode private-vlan trunk promiscuous switchport private-vlan mapping trunk 356 357-358 switchport private-vlan trunk allowed vlan 342,3000-3500 channel-group auto mode on mac-pinning no shutdown assigned interfaces: port-channel1 port-channel3 Ethernet3/1 Ethernet3/2 port-group: system vlans: none capability l3control: no capability iscsi-multipath: no capability vxlan: no capability l3-vn-service: no port-profile role: none port-binding: static port-profile check type: Vethernet description: status: disabled max-ports: 32 min-ports: 1 inherit: config attributes: evaluated config attributes: assigned interfaces: port-group: check system vlans: none capability l3control: no capability iscsi-multipath: no capability vxlan: no capability l3-vn-service: no port-profile role: none port-binding: static port-profile default type: Vethernet description: status: enabled max-ports: 32 min-ports: 1 inherit: config attributes: no shutdown evaluated config attributes: no shutdown assigned interfaces: Vethernet9 port-group: default system vlans: none capability l3control: no capability iscsi-multipath: no capability vxlan: no capability l3-vn-service: no port-profile role: none port-binding: static port-profile dynpp_5a2a23c6-10a0-4cdd-b459-7840e2db118d_0cf1a4ea-a6e0-4cdf-b4ec-fcfa95ced562 type: Vethernet description: NSM created profile. Do not delete. status: enabled max-ports: 32 min-ports: 1 inherit: check config attributes: switchport mode access switchport access vlan 342 evaluated config attributes: switchport mode access switchport access vlan 342 assigned interfaces: port-group: system vlans: none capability l3control: no capability iscsi-multipath: no capability vxlan: no capability l3-vn-service: no port-profile role: none port-binding: static port-profile dynpp_ebdcbd8e-96ab-4f9a-8975-c71283d0adc7_0cf1a4ea-a6e0-4cdf-b4ec-fcfa95ced562 type: Vethernet description: NSM created profile. Do not delete. status: enabled max-ports: 32 min-ports: 1 inherit: default config attributes: switchport mode access switchport access vlan 342 evaluated config attributes: switchport mode access switchport access vlan 342 no shutdown assigned interfaces: Vethernet2 Vethernet3 Vethernet4 Vethernet5 Vethernet7 Vethernet8 Vethernet11 Vethernet14 port-group: system vlans: none capability l3control: no capability iscsi-multipath: no capability vxlan: no capability l3-vn-service: no port-profile role: none port-binding: static switch#
switch# show port-profile name UpLinkProfile3 port-profile UpLinkProfile3 description: type: vethernet status: disabled capability l3control: no pinning control-vlan: - pinning packet-vlan: - system vlans: none port-group: max ports: 32 inherit: config attributes: channel-group auto mode on sub-group manual evaluated config attributes: channel-group auto mode on sub-group manual assigned interfaces: switch#
switch# show port-profile name PVLAN_MAC port-profile PVLAN_MAC type: Ethernet description: NSM created profile. Do not delete. status: enabled max-ports: 512 min-ports: 1 inherit: MAC config attributes: switchport mode private-vlan trunk promiscuous switchport private-vlan mapping trunk 356 357-358 switchport private-vlan trunk allowed vlan 342,3000-3500 no shutdown evaluated config attributes: mtu 4074 switchport mode private-vlan trunk promiscuous switchport private-vlan mapping trunk 356 357-358 switchport private-vlan trunk allowed vlan 342,3000-3500 channel-group auto mode on mac-pinning no shutdown assigned interfaces: port-channel1 port-channel3 Ethernet3/1 Ethernet3/2 port-group: system vlans: none capability l3control: no capability iscsi-multipath: no capability vxlan: no capability l3-vn-service: no port-profile role: none port-binding: static switch#
switch# show port-profile brief -------------------------------------------------------------------------------- Port Profile Profile Conf Eval Assigned Child Profile Type State Items Items Intfs Profs -------------------------------------------------------------------------------- DATA-Lacp Ethernet 1 3 4 10 0 DATA-Macpin Ethernet 1 3 4 13 0 Eth-Profile-Mgmt Ethernet 1 1 1 0 1 Lacp-Policy Ethernet 1 2 2 0 4 Macpin-Policy Ethernet 1 2 2 0 8 Macpin-Policy2 Ethernet 1 2 2 0 0 NSM_template_segmentation Vethernet 1 1 1 0 0 NSM_template_vlan Vethernet 1 1 1 0 0 PVLAN_Macpin Ethernet 1 4 5 15 0 Uplink-10G-Lacp Ethernet 1 3 4 0 0 dynpp_03ac7d00-933d-4fc6-89c6-83bdaadf4248_42cce283-638e-4b90-9762-4734bd78739c Vethernet 1 2 12 0 0 dynpp_03ac7d00-933d-4fc6-89c6-83bdaadf4248_55e79594-417c-42b2-a574-8f28779dfbb2 Vethernet 1 2 12 0 0 dynpp_03ac7d00-933d-4fc6-89c6-83bdaadf4248_96d80bc3-aa5b-43b8-a784-ca023f59759a Vethernet 1 2 12 8 0 dynpp_03ac7d00-933d-4fc6-89c6-83bdaadf4248_db8f0159-5f86-4c20-a424-d777a7086801 Vethernet 1 2 12 0 0 dynpp_4959aadf-c362-4bbf-8d80-0bbede356b9f_96d80bc3-aa5b-43b8-a784-ca023f59759a Vethernet 1 2 4 0 0 system8 Vethernet 1 1 1 0 0 system9 Vethernet 1 1 1 0 0 test Vethernet 0 1 1 0 1 uplink_network_default_policy Ethernet 1 1 1 0 0 veth-no-policy Vethernet 1 1 1 0 2 veth-policy Vethernet 1 3 3 0 4 veth-policy3 Vethernet 1 3 3 0 1 -------------------------------------------------------------------------------- Profile Assigned Total Sys Parent Child UsedBy Type Intfs Prfls Prfls Prfls Prfls Prfls -------------------------------------------------------------------------------- Vethernet 8 64 32 58 14 1 Ethernet 38 18 0 15 13 3 switch#
switch# show port-profile virtual usage ------------------------------------------------------------------------------- Port Profile Port Adapter Owner ------------------------------------------------------------------------------- PVLAN_Macpin Po2 Po4 Po6 Po8 Po9 Eth3/1 vmnic0 NODE-135 Eth3/2 vmnic1 NODE-135 Eth4/1 vmnic0 NODE-137 Eth4/2 vmnic1 NODE-137 Eth5/2 vmnic1 NODE-139 Eth5/3 vmnic2 NODE-139 Eth6/1 vmnic0 NODE-141 Eth6/2 vmnic1 NODE-141 Eth7/1 vmnic0 NODE-UCS-158 Eth7/2 vmnic1 NODE-UCS-158 dynpp_03ac7d00-933d-4fc6-8 Veth1 LINUX-RHEL-01 Veth2 LINUX-RHEL-02 Veth3 LINUX-RHEL-03 Veth4 LINUX-RHEL-04 Veth5 LINUX-RHEL-05 Veth6 LINUX-RHEL-06 Veth7 LINUX-RHEL-07 switch#
switch# show port-profile expand-interface name PVLAN_Macpin port-profile PVLAN_Macpin port-channel2 switchport mode private-vlan trunk promiscuous switchport private-vlan mapping trunk 264 10, 20, 30, 40, 50 switchport private-vlan trunk allowed vlan 214,224,234,244,254,260,284 switchport private-vlan trunk allowed vlan add 294,298 channel-group auto mode on mac-pinning no shutdown port-channel4 switchport mode private-vlan trunk promiscuous switchport private-vlan mapping trunk 264 10, 20, 30, 40, 50 switchport private-vlan trunk allowed vlan 214,224,234,244,254,260,284 switchport private-vlan trunk allowed vlan add 294,298 channel-group auto mode on mac-pinning no shutdown port-channel6 switchport mode private-vlan trunk promiscuous switchport private-vlan mapping trunk 264 10, 20, 30, 40, 50 switchport private-vlan trunk allowed vlan 214,224,234,244,254,260,284 switchport private-vlan trunk allowed vlan add 294,298 channel-group auto mode on mac-pinning no shutdown port-channel8 switchport mode private-vlan trunk promiscuous switchport private-vlan mapping trunk 264 10, 20, 30, 40, 50 switch#
switch# show port-profile expand-interface port-profile DATA-Lacp port-channel3 switchport mode trunk switchport trunk allowed vlan 150,205,207,209,211,213,215,217,219,221 switchport trunk allowed vlan add 223,225,227,229,231,233,235,237,239 switchport trunk allowed vlan add 241,243,245,247,249,251,253,255,257 switchport trunk allowed vlan add 261-263,265,267,269,271,273,275,277 switchport trunk allowed vlan add 281,283,285,287,289,291,293,295,297 switchport trunk allowed vlan add 299 channel-group auto mode active no shutdown port-channel5 switchport mode trunk switchport trunk allowed vlan 150,205,207,209,211,213,215,217,219,221 switchport trunk allowed vlan add 223,225,227,229,231,233,235,237,239 switchport trunk allowed vlan add 241,243,245,247,249,251,253,255,257 switchport trunk allowed vlan add 261-263,265,267,269,271,273,275,277 switchport trunk allowed vlan add 281,283,285,287,289,291,293,295,297 switchport trunk allowed vlan add 299 channel-group auto mode active no shutdown Ethernet4/3 switchport mode trunk switchport trunk allowed vlan 150,205,207,209,211,213,215,217,219,221 switchport trunk allowed vlan add 223,225,227,229,231,233,235,237,239 switch#
switch# show running-config port-profile !Command: show running-config port-profile !Time: Mon Feb 11 14:41:43 2013 version 5.2(1)SM1(5.1) port-profile default max-ports 32 port-profile default port-binding static port-profile type vethernet NSM_template_vlan no shutdown guid b3f317de-190b-4b55-966a-ba7d4b67f741 description NSM default port-profile for VLAN networks. Do not delete. state enabled port-profile type vethernet NSM_template_segmentation no shutdown guid ad853f88-11db-48ec-9ab8-f8d616e0ff04 description NSM default port-profile for VXLAN networks. Do not delete. state enabled port-profile type ethernet uplink_network_default_policy no shutdown guid 8ca21cba-a5b3-46f6-addf-c80d01c81d76 max-ports 512 description NSM created profile. Do not delete. state enabled port-profile type vethernet system no shutdown guid 44598166-009e-43b1-a7cd-472efe951d44 publish port-profile system port-profile state enabled port-profile type vethernet check guid 5a2a23c6-10a0-4cdd-b459-7840e2db118d publish port-profile port-profile type ethernet PVLAN_MAC inherit port-profile MAC switchport mode private-vlan trunk promiscuous switchport private-vlan mapping trunk 356 357-358 switchport private-vlan trunk allowed vlan 342,3000-3500 no shutdown guid f8b3719c-e240-4cc0-8096-804c15819c08 max-ports 512 description NSM created profile. Do not delete. state enabled port-profile type vethernet dynpp_5a2a23c6-10a0-4cdd-b459-7840e2db118d_0cf1a4ea-a6e0-4cdf-b4ec-fcfa95ced562 inherit port-profile check switchport mode access switchport access vlan 342 guid 536bcf06-de07-4857-8f2c-41e134cab0df description NSM created profile. Do not delete. state enabled switch#
Feature Name | Releases | Feature Information |
---|---|---|
Port Profile verification |
5.2(1)SM1(5.1) |
This feature was introduced. |