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 toÂInterface Policies
|Policies
|CDP Interface
. We can see that there is already adefault
 policy:
- The default is for CDP to be disabled. So switch the
Admin State
toEnabled
, and click onSUBMIT
 in 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 Interface
and selectÂCreate CDP Interface Policy
.
Â
- Name the new policy
CDP-OFF
and set the state toDisabled
.
- Click on
SUBMIT
. - We now have two...