IPI-MCEC
Configure options
Use this attribute to debug the mlag feature.
Attribute Name: options
Attribute Type: bits (hello|info|timer|event|cli|mac-sync|stp|all)
Netconf edit-config payload
<mcec xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mcec">
<debug>
<config>
<options>hello</options> <!-- operation="delete"-->
</config>
</debug>
</mcec>
Command Syntax
debug mcec (hello|info|timer|event|cli|mac-sync|stp|all)
Configure system number
Use this attribute to configure domain system number, which uniquely identifies domain system in MCEC domain
Attribute Name: system-number
Attribute Type: uint8
Attribute Range: 1-2
Netconf edit-config payload
<mcec xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mcec">
<domain>
<config>
<system-number>1</system-number> <!-- operation="delete"-->
</config>
</domain>
</mcec>
Command Syntax
domain-system-number <1-2>
Configure address
Use this attribute configure domain address, which helps to identify the MCEC domain
Attribute Name: address
Attribute Type: string
Netconf edit-config payload
<mcec xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mcec">
<domain>
<config>
<address>MAC</address> <!-- operation="delete"-->
</config>
</domain>
</mcec>
Command Syntax
domain-address MAC
Configure priority
Use this attribute to specify the priority value associated with MCEC domain
Attribute Name: priority
Attribute Type: uint16
Default Value: 32768
Attribute Range: 1-65535
Netconf edit-config payload
<mcec xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mcec">
<domain>
<config>
<priority>1</priority> <!-- operation="delete"-->
</config>
</domain>
</mcec>
Command Syntax
domain-priority <1-65535>
Configure hello timeout
Use this attribute to specify the domain hello-timeout value
Attribute Name: hello-timeout
Attribute Type: enum (long|short)
Default Value: long
Netconf edit-config payload
<mcec xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mcec">
<domain>
<config>
<hello-timeout>long</hello-timeout> <!-- operation="delete"-->
</config>
</domain>
</mcec>
Command Syntax
domain-hello-timeout (long|short)
Configure interface
Use this attribute to map an interface as intra domain link that connects the domain system with its neighbour in a mcec domain
Attribute Name: interface
Attribute Type: string
Netconf edit-config payload
<mcec xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mcec">
<intra-domain>
<peer-link>
<config>
<interface>IFNAME</interface> <!-- operation="delete"-->
</config>
</peer-link>
</intra-domain>
</mcec>
Command Syntax
intra-domain-link IFNAME
Configure higig
Turn on/off higig on inter domain link
Attribute Name: higig
Attribute Type: empty
Netconf edit-config payload
<mcec xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mcec">
<intra-domain>
<peer-link>
<config>
</higig><!-- operation="delete"-->
</config>
</peer-link>
</intra-domain>
</mcec>
Command Syntax
idl-higig
Configure vrf
vrf of the peer DSN node
Attribute Name: vrf
Attribute Type: string
Attribute Name: peer-address
Attribute Type: inet:ipv4-address
Attribute Name: local-address
Attribute Type: inet:ipv4-address
Netconf edit-config payload
<mcec xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mcec">
<intra-domain>
<peer-address>
<config>
<peer-address>A.B.C.D</peer-address>
<local-address>A.B.C.D</local-address>
<vrf>VRF_NAME</vrf>
</config>
</peer-address>
</intra-domain>
</mcec>
Command Syntax
intra-domain-peer A.B.C.D source-address A.B.C.D (vrf VRF_NAME|)
Configure interface mode
Use this attribute to set the MC-LAG mode. active-standby: The interface is ready to transition from active to standby state should a failure occur in the other node.
Attribute Name: interface-mode
Attribute Type: enum (active-standby|active-active)
Default Value: active-active
Netconf edit-config payload
<mcec xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mcec">
<mlag-interfaces>
<mlag-interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<interface-mode>active-active</interface-mode> <!-- operation="delete"-->
</mlag-interface>
</mlag-interfaces>
</mcec>
Command Syntax
mode (active-standby|active-active)
Configure revertive timer
Use this attribute to set the timer for MC-LAG switchover revertive type. After Revertive timer expires Slave will handover the control to Master Node. If a failure happens that triggers a switchover, after failure recovery the initially-active node becomes active again. Default switchover type is revertive 10s.
Attribute Name: revertive-timer
Attribute Type: uint8
Default Value: 10
Attribute Range: 1-255
Netconf edit-config payload
<mcec xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mcec">
<mlag-interfaces>
<mlag-interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<switchover-type>
<config>
<revertive-timer>1</revertive-timer> <!-- operation="delete"-->
</config>
</switchover-type>
</mlag-interface>
</mlag-interfaces>
</mcec>
Command Syntax
switchover type revertive <1-255>
Configure enable non revertive
Use this attribute to set the MC-LAG switchover to non-revertive type. Do not switch back to the initially-active node after failure recovery. Default switchover type is revertive 10s.
Attribute Name: enable-non-revertive
Attribute Type: empty
Netconf edit-config payload
<mcec xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mcec">
<mlag-interfaces>
<mlag-interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<switchover-type>
<config>
</enable-non-revertive><!-- operation="delete"-->
</config>
</switchover-type>
</mlag-interface>
</mlag-interfaces>
</mcec>
Command Syntax
switchover type non-revertive
debug mcec (hello|info|timer|event|cli|mac-sync|stp|all)
Attribute Name: terminal-debug-options
Attribute Type: bits (hello|info|timer|event|cli|mac-sync|stp|all)
Netconf RPC payload
<mcec-terminal-debug-on xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mcec">
<terminal-debug-options>hello</terminal-debug-options>
</mcec-terminal-debug-on>
Command Syntax
debug mcec (hello|info|timer|event|cli|mac-sync|stp|all)
no debug mcec (hello|info|timer|event|cli|mac-sync|stp|all)
Attribute Name: terminal-debug-options
Attribute Type: bits (hello|info|timer|event|cli|mac-sync|stp|all)
Netconf RPC payload
<mcec-terminal-debug-off xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mcec">
<terminal-debug-options>hello</terminal-debug-options>
</mcec-terminal-debug-off>
Command Syntax
no debug mcec (hello|info|timer|event|cli|mac-sync|stp|all)
clear mcec statistics
Netconf RPC payload
<clear-mcec-statistics xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mcec"/>
Command Syntax
clear mcec statistics
reload-trigger-mcec-notification
Netconf RPC payload
<trigger-reload xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mcec"/>
Command Syntax
reload-trigger-mcec-notification
Last modified date: 07-14-2023