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.

vsm#<br />

Example 9-22 shows how to configure the port-profiles on the Nexus 1000v for the VSG<br />

Communication.<br />

Example 9-22. Create the Cisco VSG Port-Profiles on the Nexus 1000v VSM. Port-<br />

Profile “VSG” Is the Data VLAN<br />

Click here to view code image<br />

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

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

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

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

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

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

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

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

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

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

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

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

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

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

vsm(config)#<br />

Example 9-23 shows how to configure the port-profiles on the Nexus 1000v for the VSG<br />

Communication.<br />

Example 9-23. Do No Forget to Add the VSG-Data <strong>and</strong> HA VLANs to the Ethernet<br />

Profile. This Example uses “uplink” port-profile<br />

Click here to view code image<br />

vsm(config)# port-profile type ethernet uplink<br />

vsm(config-port-prof)# switchport trunk allowed vlan add<br />

100, 200<br />

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

Virtual Security Gateway<br />

Virtual Security Gateway (VSG) is a multitenant security firewall to secure virtualized

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

Saved successfully!

Ooh no, something went wrong!