Skip to content

MCP Interface Policy

Location in GUI: Fabric » Access Policies » Policies » Interface » MCP Interface

Diagram
NameTypeConstraintMandatoryDefault Value
mcp_policiesList[mcp_policies]No

mcp_policies (apic.access_policies.interface_policies)

Section titled “mcp_policies (apic.access_policies.interface_policies)”
NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
admin_stateBooleantrue, falseNo

Example 1: In this first example we created an MCP policy to enable MCP onto an interface. For the policy to take affect MCP needs to be enabled globally first. The global MCP policy is defined in the apic.acces_policies.mcp object in the data model.

apic:
access_policies:
interface_policies:
mcp_policies:
- name: mcpEnabled
admin_state: true

Example 2: In this first example we created an MCP policy to disable MCP onto an interface. For the policy to take affect MCP needs to be enabled globally first. The global MCP policy is defined in the apic.acces_policies.mcp object in the data model.

apic:
access_policies:
interface_policies:
mcp_policies:
- name: mcpDisabled
admin_state: false