Creating access policies
Access policies control the operation of switch ports, allowing connectivity to resources such as storage and compute, hypervisors, and layer 4 to layer 7 devices and protocols such as CDP, LLDP, and STP.
In this recipe, we are going to look at access policies and enable a preconfigured policy. We will then look at how to override this policy on a per-port basis, and also to override blocks of ports on a leaf.
How to do it...
- From the Fabric menu, select
Access Policies. Go toInterface Policies|Policies|CDP Interface. We can see that there is already adefaultpolicy:

- The default is for CDP to be disabled. So switch the
Admin StatetoEnabled, and click onSUBMITin the bottom corner of the window:

- This has enabled CDP globally, but what if we need to be a little more selective and disable on a single port?
- Right-click on
CDP Interfaceand selectCreate CDP Interface Policy.

- Name the new policy
CDP-OFFand set the state toDisabled.

- Click on
SUBMIT. - We now have two...