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, falseNofalse
per_vlan_mcpBooleantrue, falseNotrue
strict_modeBooleantrue, falseNofalse
max_vlansIntegermin: 1, max: 2000No256
grace_periodIntegermin: 0, max: 300No3
grace_period_msecIntegermin: 0, max: 999No0
initial_delayIntegermin: 0, max: 1800No0
frequency_secIntegermin: 0, max: 300No0
frequency_msecIntegermin: 0, max: 999No500

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.access_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.access_policies.mcp object in the data model.

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

Example 3: MCP per-VLAN mode with a non-default VLAN limit. Set per_vlan_mcp to enable or disable per-VLAN MCP on the interface; max_vlans is honored only when per_vlan_mcp is true.

apic:
access_policies:
interface_policies:
mcp_policies:
- name: mcpPerVlan
admin_state: true
per_vlan_mcp: true
max_vlans: 512

Example 4: MCP strict mode with per-VLAN MCP, a VLAN limit, and explicit grace-period and strict-transmit timers. Set strict_mode to enable or disable strict MCP; timer attributes are deployed only when strict_mode is true.

apic:
access_policies:
interface_policies:
mcp_policies:
- name: mcpStrict
admin_state: true
per_vlan_mcp: true
max_vlans: 128
strict_mode: true
grace_period: 5
grace_period_msec: 500
initial_delay: 180
frequency_sec: 2
frequency_msec: 0

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

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

apic:
access_policies:
interface_policies:
mcp_policies:
- name: MCP-ENABLED
admin_state: true