MCP Interface Policy
ACILocation 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 | false |
| per_vlan_mcp | Boolean | true, false | No | true |
| strict_mode | Boolean | true, false | No | false |
| max_vlans | Integer | min: 1, max: 2000 | No | 256 |
| grace_period | Integer | min: 0, max: 300 | No | 3 |
| grace_period_msec | Integer | min: 0, max: 999 | No | 0 |
| initial_delay | Integer | min: 0, max: 1800 | No | 0 |
| frequency_sec | Integer | min: 0, max: 300 | No | 0 |
| frequency_msec | Integer | min: 0, max: 999 | No | 500 |
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.access_policies.mcp object in the data model.
apic: access_policies: interface_policies: mcp_policies: - name: mcpEnabled admin_state: trueExample 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: falseExample 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: 512Example 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: 0Location 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: trueExample 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: falseLocation 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”apic: access_policies: interface_policies: mcp_policies: - name: MCP-ENABLED admin_state: true