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.
This chapter contains the following sections:
System port profiles are designed to establish and protect those ports and VLANs which need to be configured before the VEM contacts the VSM.
For this reason, the following ports must use system VLANs:
Use this procedure to create a system port profile.
This example shows how to create a system port profile:
switch# configure terminal switch(config)# port-profile port-profile type vethernet Trunk_To_Cloud switch(config-port-prof)# switchport mode trunk switch(config-port-prof)# switchport trunk allowed vlan 72,2315-2350 switch(config-port-prof)# no shutdown switch(config-port-prof)# state enabled switch(config-port-prof)# max ports 64 switch(config-port-prof)# system vlan 72 switch(config-port-prof)# publish port-profile switch(config-port-prof)#
You can use the following procedures to change the set of system VLANs in a trunk mode port profile without removing all system VLANs.
Step 1 | In the Cisco Nexus 1000V VSM in the enterprise, shut off the switch port used by the InterCloud VSM's management port. |
Step 2 | Log in to the console of Cisco Nexus 1000V InterCloud VSM and convert the port profile to an access profile with a system VLAN. |
Step 3 | Convert the access port profile back to a trunk profile. |
Step 4 |
In the Cisco Nexus 1000V VSM in the enterprise unshut the switch port used by the Cisco Nexus 1000V InterCloud VSM's management port. The VEMS are reconnected to the VSM. |
You can use this procedure to change the set of system VLANs in a trunk mode port profile without removing all system VLANs.
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 | switch# configure terminal | Enters global configuration mode. |
||
Step 2 | switch(config)# port-profile [type vethernet}] name | Enters port profile configuration mode for the named port profile. If the port profile does not already exist, it is created using the following characteristics: |
||
Step 3 | switch(config-port-prof)# no system vlan | Remove the system VLAN from a port profile. |
||
Step 4 | switch(config-port-prof)# switchport mode access | Sets port mode access. |
||
Step 5 | switch(config-port-prof)# switchport access vlan vlan-id | Set the access mode of an interface. |
||
Step 6 | switch(config-port-prof)# no shutdown | Changes the port to administrative status so that system VLAN can be configured.
|
||
Step 7 | switch(config-port-prof)# system vlan vlan-id-list | Adds system VLANs to this port profile. |
The trunk port profile is converted to an access port profile with a system VLAN.
This example shows how to convert a trunk port profile to an access port profile.
switch# configure terminal switch(config)# port-profile Trunk_System_Prof switch(config-port-prof)# no system vlan switch(config-port-prof)# switchport mode access switch(config-port-prof)# switchport access vlan 300 switch(config-port-prof)# system vlan 300 switch(config-port-prof)#
Command or Action | Purpose | |
---|---|---|
Step 1 | switch# configure terminal | Enters global configuration mode. |
Step 2 | switch(config)# port-profile [type vethernet}] name | Enters port profile configuration mode for the named port profile. If the port profile does not already exist, it is created using the following characteristics: |
Step 3 | switch(config-port-prof)# switchport mode trunk | Designates that the interfaces are to be used as a trunking ports. A trunk port transmits untagged packets for the native VLAN and transmits encapsulated, tagged packets for all other VLANs. |
Step 4 | system vlan vlan-id-list |
Adds system VLANs to this port profile. |
Step 5 | switch(config-port-prof)# show port-profile [brief | expand-interface | usage] [name profile-name] | (Optional) Displays the configuration for verification. |
Step 6 | switch(config-port-prof)# copy running-config startup-config | (Optional) Saves the change persistently through reboots and restarts by copying the running configuration to the startup configuration. |
This example shows how to convert an access port profile to a trunk port profile.
switch# config terminal switch(config)# port-profile Trunk_System_Prof switch(config-port-prof)# switchport mode trunk switch(config-port-prof)# system vlan 114,115 switch(config-port-prof)# show port-profile name Trunk_System_Prof switch(config-port-prof)# copy running-config startup-config
You can use this procedure to change the set of system VLANs in an access port profile without removing all system VLANs.
Command or Action | Purpose | |
---|---|---|
Step 1 | switch# configure terminal | Enters global configuration mode. |
Step 2 | switch(config)# port-profile [type vethernet] name | Enters port profile configuration mode for the named port profile. If the port profile does not already exist, it is created using the following characteristics: |
Step 3 | switch(config-port-prof)# system vlan vlan-id-list | Adds system VLANs to this port profile. |
Step 4 | switch(config-port-prof)# show port-profile [brief | expand-interface | usage] [name profile-name] | (Optional) Displays the configuration for verification. |
Step 5 | switch(config-port-prof)# copy running-config startup-config | (Optional) Saves the change persistently through reboots and restarts by copying the running configuration to the startup configuration. |
This example shows how to change the set of system VLANs in an access port profile without removing all system VLANs.
switch# configure terminal switch(config)# port-profile Access_System_Prof switch(config-port-prof)# system vlan 114,115 switch(config-port-prof)# show port-profile name Access_System_prof switch(config-port-prof)# copy running-config startup-config
In the Cisco Nexus 1000V VSM in the enterprise unshut the switch port used by the Cisco Nexus 1000V InterCloud VSM's management port.
Feature Name |
Release |
Feature Information |
---|---|---|
System Port Profiles |
Release 5.2(1)IC1(1.1) |
This feature was introduced. |