MCP Interface Policy
Location in GUI: Fabric
» Access Policies
» Policies
» Interface
» MCP Interface
Diagram
Section titled “Diagram”Classes
Section titled “Classes”interface_policies (apic.access_policies)
Section titled “interface_policies (apic.access_policies)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
mcp_policies | List | [mcp_policies] | No |
mcp_policies (apic.access_policies.interface_policies)
Section titled “mcp_policies (apic.access_policies.interface_policies)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
admin_state | Boolean | true , false | No |
Examples
Section titled “Examples”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