Reader small image

You're reading from  Mastering PowerCLI

Product typeBook
Published inOct 2015
Reading LevelIntermediate
PublisherPackt
ISBN-139781785286858
Edition1st Edition
Languages
Right arrow
Author (1)
Sajal Debnath
Sajal Debnath
author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath

Right arrow

Working with ports


So far, we have worked with host, switch, and port groups; now, let's explore how we can get details of a port and modify it. To manage a port, we will use the following two cmdlets:

  • Get-VDPort

  • Set-VDPort

We can get the details of the port using the Get-VDPort cmdlet and set details via the Set-VDPort cmdlet.

Configuring traffic shaping

We can use PowerCLI to configure traffic shaping in distributed ports, and we can use the following two cmdlets to configure it:

  • Get-VDTrafficShapingPolicy

  • Set-VDTrafficShapingPolicy

Obviously, Get-VDTrafficShapingPolicy will provide you with the details of the current policy set and Set-VDTrafficShapingPolicy will allow us to change the existing settings.

Next, let's set the parameters for traffic shaping.

Configuring port blocking

Next, we will check port blocking options using PowerCLI. The following are the cmdlets available for this purpose:

  • Get-VDBlockedPolicy

  • Set-VDBlockedPolicy

Configuring the security policy

To configure the security...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering PowerCLI
Published in: Oct 2015Publisher: PacktISBN-13: 9781785286858

Author (1)

author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath