Cisco ACI Cookbook
上QQ阅读APP看书,第一时间看更新

How to do it...

  1. From the Fabric menu, select Access Policies. Go to Interface Policies | Policies | CDP Interface. We can see that there is already a default policy:
  1. The default is for CDP to be disabled. So switch the Admin State to Enabled, and click on SUBMIT in the bottom corner of the window:
  1. This has enabled CDP globally, but what if we need to be a little more selective and disable on a single port?
  1. Right-click on CDP Interface and select Create CDP Interface Policy.
 
  1. Name the new policy CDP-OFF and set the state to Disabled.
  1. Click on SUBMIT.
  2. We now have two policies, one with CDP enabled, and the other has CDP disabled.
  1. We can now create a leaf policy group (well, we should create two, actually). Right-click on Leaf Policy Groups and select Create Leaf Access Port Policy Group.
  1. Name the new policy CDP-Off and choose the CDP-OFF policy from the drop-down menu next to CDP Policy.
  1. Click on SUBMIT.
  2. Repeat the process to create a second leaf access port policy group, this time selecting default from the CDP Policy dropdown. The results should look like this:
  1. Navigate to Interface PoliciesInterface OverridesLeaf Interface Overrides, and select Create Leaf Interface Override.
  1. Enter a name for the override and select the port from the drop-down list.
  1. From the Policy Group drop-down, select the CDP-Off policy created earlier.
  1. Click on SUBMIT.