22.05.2017 Views

nx.os.and.cisco.nexus.switching.2nd.edition.1587143046

Nexus Switching 2nd Edition

Nexus Switching 2nd Edition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

• System VLANs cannot be deleted when the profile is in use.<br />

• Non-system VLANs in a system port profile can be freely added or deleted, even<br />

when the profile is in use; that is, one or more DVS ports are carrying that profile.<br />

• System VLANs can always be added to a system port profile or a non-system port<br />

profile, even when the profile is in use.<br />

• The native VLAN on a system port profile may be a system VLAN or a non-system<br />

VLAN.<br />

Example 9-16 shows how to create the port-profile on the VSM.<br />

Example 9-16. Creating the Port-Profile on the VSM<br />

Click here to view code image<br />

vsm(config)# port-profile HR-APPS<br />

SVS domain config:<br />

vsm(config-port-prof)# vmware port-group<br />

vsm(config-port-prof)# switchport mode access<br />

vsm(config-port-prof)# switchport access vlan 701<br />

vsm(config-port-prof)# service-policy type q<strong>os</strong> output q<strong>os</strong>stat<br />

vsm(config-port-prof)# no shutdown<br />

vsm(config-port-prof)# system vlan 701<br />

vsm(config-port-prof)# state enabled<br />

vsm(config-port-prof)# exit<br />

vsm(config)# port-profile Web<br />

vsm(config-port-prof)# vmware port-group<br />

vsm(config-port-prof)# switchport mode access<br />

vsm(config-port-prof)# switchport access vlan 78<br />

vsm(config-port-prof)# ip flow monitor IPv4Monitor input<br />

vsm(config-port-prof)# service-policy type q<strong>os</strong> output q<strong>os</strong>stat<br />

vsm(config-port-prof)# no shutdown<br />

vsm(config-port-prof)# state enabled<br />

vsm(config-port-prof)# exit<br />

vsm(config)# port-profile NAS<br />

vsm(config-port-prof)# vmware port-group<br />

vsm(config-port-prof)# switchport mode access<br />

vsm(config-port-prof)# switchport access vlan 702<br />

vsm(config-port-prof)# ip flow monitor IPv4Monitor input<br />

vsm(config-port-prof)# service-policy type q<strong>os</strong> output<br />

mark-control-packet-vlans

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!