らくがきちょう

なんとなく

Cisco ACI でよく設定する Interface Policies

Cisco ACI でよく設定する Interface Policy の Post 用 XML をメモしておきます。

XML

XML は以下の通りです。 Parent DNuni/infra/ に対して Post します。 設定内容の詳細は後述します。

<?xml version="1.0" encoding="UTF-8"?>
<infraInfra dn="uni/infra" nameAlias="" ownerKey="" ownerTag="">
  <fabricHIfPol autoNeg="off" descr="" dn="uni/infra/hintfpol-100M" fecMode="inherit" linkDebounce="100" name="100M" nameAlias="" ownerKey="" ownerTag="" speed="100M"/>
  <fabricHIfPol autoNeg="off" descr="" dn="uni/infra/hintfpol-1G" fecMode="inherit" linkDebounce="100" name="1G" nameAlias="" ownerKey="" ownerTag="" speed="1G"/>
  <fabricHIfPol autoNeg="off" descr="" dn="uni/infra/hintfpol-10G" fecMode="inherit" linkDebounce="100" name="10G" nameAlias="" ownerKey="" ownerTag="" speed="10G"/>
  <fabricHIfPol autoNeg="on" descr="" dn="uni/infra/hintfpol-Auto" fecMode="inherit" linkDebounce="100" name="Auto" nameAlias="" ownerKey="" ownerTag="" speed="inherit"/>
  <cdpIfPol adminSt="enabled" descr="" dn="" name="CdpEnable" nameAlias="" ownerKey="" ownerTag=""/>
  <cdpIfPol adminSt="disabled" descr="" dn="" name="CdpDisable" nameAlias="" ownerKey="" ownerTag=""/>
  <lldpIfPol adminRxSt="enabled" adminTxSt="enabled" descr="" dn="uni/infra/lldpIfP-LldpEnable" name="LldpEnable" nameAlias="" ownerKey="" ownerTag=""/>
  <lldpIfPol adminRxSt="disabled" adminTxSt="disabled" descr="" dn="uni/infra/lldpIfP-LldpDisable" name="LldpDisable" nameAlias="" ownerKey="" ownerTag=""/>
  <lacpLagPol ctrl="fast-sel-hot-stdby,graceful-conv,susp-individual" descr="" dn="" maxLinks="16" minLinks="1" mode="active" name="LacpActive" nameAlias="" ownerKey="" ownerTag=""/>
  <lacpLagPol ctrl="fast-sel-hot-stdby,graceful-conv,susp-individual" descr="" dn="" maxLinks="16" minLinks="1" mode="passive" name="LacpPassive" nameAlias="" ownerKey="" ownerTag=""/>
  <lacpLagPol ctrl="fast-sel-hot-stdby,graceful-conv,susp-individual" descr="" dn="" maxLinks="16" minLinks="1" mode="off" name="ModeOn" nameAlias="" ownerKey="" ownerTag=""/>
  <stpIfPol ctrl="bpdu-guard" descr="" dn="" name="BpduGuardEnable" nameAlias="" ownerKey="" ownerTag=""/>
  <stpIfPol ctrl="" descr="" dn="" name="BpduGuardDisable" nameAlias="" ownerKey="" ownerTag=""/>
  <stormctrlIfPol burstPps="unspecified" burstRate="0.500000" descr="" dn="uni/infra/stormctrlifp-000.5percent" name="000.5percent" nameAlias="" ownerKey="" ownerTag="" rate="0.500000" ratePps="unspecified" type="all"/>
  <stormctrlIfPol burstPps="unspecified" burstRate="1.000000" descr="" dn="uni/infra/stormctrlifp-001.0percent" name="001.0percent" nameAlias="" ownerKey="" ownerTag="" rate="1.000000" ratePps="unspecified" type="all"/>
  <stormctrlIfPol burstPps="unspecified" burstRate="5.000000" descr="" dn="uni/infra/stormctrlifp-005.0percent" name="005.0percent" nameAlias="" ownerKey="" ownerTag="" rate="5.000000" ratePps="unspecified" type="all"/>
  <stormctrlIfPol burstPps="unspecified" burstRate="10.000000" descr="" dn="uni/infra/stormctrlifp-010.0percent" name="010.0percent" nameAlias="" ownerKey="" ownerTag="" rate="10.000000" ratePps="unspecified" type="all"/>
  <mcpIfPol adminSt="enabled" descr="" dn="uni/infra/mcpIfP-McpEnable" name="McpEnable" nameAlias="" ownerKey="" ownerTag=""/>
  <mcpIfPol adminSt="disabled" descr="" dn="uni/infra/mcpIfP-McpDisable" name="McpDisable" nameAlias="" ownerKey="" ownerTag=""/>
  <l2IfPol descr="" dn="" name="GlobalScope" nameAlias="" ownerKey="" ownerTag="" qinq="disabled" vlanScope="global"/>
  <l2IfPol descr="" dn="" name="PortLocalScope" nameAlias="" ownerKey="" ownerTag="" qinq="disabled" vlanScope="portlocal"/>
</infraInfra>

Interface Policies

設定される内容は以下の通りです。

Link Level

Name Auto Negotiation Speed Link devounce interval (msec) Forwarding Error Correction
100M off 100 Mbps 100 Inherit
1G off 1 Gbps 100 Inherit
10G off 10 Gbps 100 Inherit
Auto on Inherit 100 Inherit

CDP Interface

Name Admin State
CdpEnable Enabled
CdpDisable Disabled

LLDP Interface

Name Receive State Transmit State
LldpEnable Enabled Enabled
LldpDisable Disabled Disabled

Port Channel

Name Mode Minimum Number of Links Maximum Number of Links
LacpActive LACP Active 1 16
LacpPassive LACP Passive 1 16
ModeOn Static Channel - Mode On 1 16

Spanning Tree Interface

Name BPDU filter enabled BPDU Guard enabled
BpduGuardEnable Disabled Enabled
BpduGuardDisable Disabled Disabled

Storm Control

Name Specify Policy In Rate Max Burst Rate
000.5percent Percentage 0.500000 0.500000
001.0percent Percentage 1.000000 1.000000
005.0percent Percentage 5.000000 5.000000
010.0percent Percentage 10.000000 10.000000

MCP Interface

Name Admin State
McpEnable Enabled
McpDisable Disabled

L2 Interface

Name VLAN Scope QinQ
GlobalScope Global scope disabled
PortLocalScope Port Local scope disabled