IPI-MPLS
Configure name
Specify service template name
Attribute Name: name
Attribute Type: string
Attribute Range: 1-32
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<l2vpn>
<customer-service-templates>
<customer-service-template> <!-- operation="delete"-->
<name>NAME</name>
<config>
<name>WORD</name>
</config>
</customer-service-template>
</customer-service-templates>
</l2vpn>
</mpls>
Command Syntax
service-template NAME
Configure match all
Use this attribute to specify match criteria as match all
Attribute Name: match-all
Attribute Type: empty
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<l2vpn>
<customer-service-templates>
<customer-service-template>
<name>NAME</name>
<config>
<name>WORD</name>
</config>
</match-all><!-- operation="delete"-->
</customer-service-template>
</customer-service-templates>
</l2vpn>
</mpls>
Command Syntax
match all
Configure match single tag outer vlan range
Use this attribute to set match type with outer vlan value
Attribute Name: match-single-tag-outer-vlan-range
Attribute Type: string
Attribute Range: 1-4094
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<l2vpn>
<customer-service-templates>
<customer-service-template>
<name>NAME</name>
<config>
<name>WORD</name>
</config>
<match-single-tag-outer-vlan-range>VLAN_RANGE2</match-single-tag-outer-vlan-range> <!-- operation="delete"-->
</customer-service-template>
</customer-service-templates>
</l2vpn>
</mpls>
Command Syntax
match outer-vlan VLAN_RANGE2
Configure match untagged
Use this attribute to specify match criteria as match untagged
Attribute Name: match-untagged
Attribute Type: empty
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<l2vpn>
<customer-service-templates>
<customer-service-template>
<name>NAME</name>
<config>
<name>WORD</name>
</config>
</match-untagged><!-- operation="delete"-->
</customer-service-template>
</customer-service-templates>
</l2vpn>
</mpls>
Command Syntax
match untagged
Configure match inner vlan id
Specify inner vlan VID or range(VLAN ID 1-4094 or range: 2-5) for match double tag
Attribute Name: match-inner-vlan-id
Attribute Type: string
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<l2vpn>
<customer-service-templates>
<customer-service-template>
<name>NAME</name>
<config>
<name>WORD</name>
</config>
<double-tags>
<double-tag>
<match-outer-vlan-id>1</match-outer-vlan-id>
<config>
<match-outer-vlan-id>1</match-outer-vlan-id>
</config>
<match-inner-vlan-id>VLAN_RANGE2</match-inner-vlan-id> <!-- operation="delete"-->
</double-tag>
</double-tags>
</customer-service-template>
</customer-service-templates>
</l2vpn>
</mpls>
Command Syntax
match double-tag outer-vlan <1-4094> inner-vlan VLAN_RANGE2
Configure vlan action type
Specify rewrite ingress action type
Attribute Name: vlan-action-type
Attribute Type: enum (pop|push|translate)
Attribute Name: tag-protocol-identifier
Attribute Type: enum (dot1.q|dot1.ad|0x9100)
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<l2vpn>
<customer-service-templates>
<customer-service-template>
<name>NAME</name>
<config>
<name>WORD</name>
</config>
<action-types>
<action-type>
<vlan-action-type>pop</vlan-action-type>
<config>
<vlan-action-type>pop</vlan-action-type>
<tag-protocol-identifier>dot1.q</tag-protocol-identifier>
</config>
</action-type>
</action-types>
</customer-service-template>
</customer-service-templates>
</l2vpn>
</mpls>
Command Syntax
rewrite ingress (pop) (outgoing-tpid (dot1.q|dot1.ad|0x9100)|)
Configure outer vlan identifier
Specify rewrite ingress action type
Attribute Name: vlan-action-type
Attribute Type: enum (pop|push|translate)
Attribute Name: outer-vlan-identifier
Attribute Type: uint16
Attribute Range: 1-4094
Attribute Name: tag-protocol-identifier
Attribute Type: enum (dot1.q|dot1.ad|0x9100)
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<l2vpn>
<customer-service-templates>
<customer-service-template>
<name>NAME</name>
<config>
<name>WORD</name>
</config>
<action-types>
<action-type>
<vlan-action-type>pop</vlan-action-type>
<config>
<vlan-action-type>pop</vlan-action-type>
<outer-vlan-identifier>1</outer-vlan-identifier>
<tag-protocol-identifier>dot1.q</tag-protocol-identifier>
</config>
</action-type>
</action-types>
</customer-service-template>
</customer-service-templates>
</l2vpn>
</mpls>
Command Syntax
rewrite ingress (translate) <1-4094> (outgoing-tpid (dot1.q|dot1.ad|0x9100)|)
Configure group name
Use this attribute to create a new access circuit group for MPLS
This command is supported when following feature are enabled MPLS-VC feature
Attribute Name: group-name
Attribute Type: string
Attribute Range: 1-32
Attribute Name: group-identifier
Attribute Type: uint32
Attribute Range: 1-4294967295
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<l2vpn>
<access-circuit-groups>
<access-circuit-group> <!-- operation="delete"-->
<group-name>NAME</group-name>
<config>
<group-name>WORD</group-name>
<group-identifier>1</group-identifier>
</config>
</access-circuit-group>
</access-circuit-groups>
</l2vpn>
</mpls>
Command Syntax
mpls ac-group NAME <1-4294967295>
Configure local packet handling
Use this attribute to enable the labeling of locally generated TCP packets. All other locally generated packets are not looked at by the MPLS Forwarder
Attribute Name: local-packet-handling
Attribute Type: empty
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<global>
<config>
</local-packet-handling><!-- operation="delete"-->
</config>
</global>
</mpls>
Command Syntax
mpls local-packet-handling
Configure lsp stitching
Use this attribute to enable lsp stitching for ILM and installed FTM
Attribute Name: lsp-stitching
Attribute Type: empty
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<global>
<config>
</lsp-stitching><!-- operation="delete"-->
</config>
</global>
</mpls>
Command Syntax
mpls lsp-stitching
Configure propagate ttl
Use this attribute to enable TTL propagation. Enabling TTL propagation causes the TTL value in the IP header to be copied onto the TTL field in the shim header, at the LSP ingress
Attribute Name: propagate-ttl
Attribute Type: empty
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<global>
<config>
</propagate-ttl><!-- operation="delete"-->
</config>
</global>
</mpls>
Command Syntax
mpls propagate-ttl
Configure ingress ttl value
Use this attribute to set a Time to Live (TTL) value for LSPs for which this LSR is the ingress.
Attribute Name: ingress-ttl-value
Attribute Type: uint8
Attribute Range: 0-255
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<global>
<config>
<ingress-ttl-value>0</ingress-ttl-value> <!-- operation="delete"-->
</config>
</global>
</mpls>
Command Syntax
mpls ingress-ttl <0-255>
Configure lsp model uniform
Use this attribute to configure the MPLS LSP model as Uniform.
Attribute Name: lsp-model-uniform
Attribute Type: empty
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<global>
<config>
</lsp-model-uniform><!-- operation="delete"-->
</config>
</global>
</mpls>
Command Syntax
mpls lsp-model uniform
Configure enable
Use this attribute to enable label-switching on a TE link
Attribute Name: enable
Attribute Type: empty
Attribute Name: label-space
Attribute Type: uint16
Attribute Range: 0-60000
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<label-switching>
<config>
<label-space>0</label-space>
</enable>
</config>
</label-switching>
</interface>
</interfaces>
</mpls>
Command Syntax
label-switching (<0-60000>|)
Configure admin group name
Use this attribute to create an administrative group to be used for links. Each link can be a member of one or more, or no administrative groups.this attribute adds link between an interface and a group. The name is the name of the group previously configured. There can be multiple groups per interface.
Attribute Name: admin-group-name
Attribute Type: string
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<mpls-interface-bandwidth>
<config>
<admin-group-name>NAME</admin-group-name> <!-- operation="delete"-->
</config>
</mpls-interface-bandwidth>
</interface>
</interfaces>
</mpls>
Command Syntax
admin-group NAME
Configure bandwidth
Use this attribute to specify a discrete, maximum bandwidth value for the interface. The bandwidth attribute takes input ranges from 1 to 999 kbps, 1 to 999 mbps and 1 to 100 gbps.
Attribute Name: bandwidth
Attribute Type: string
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<mpls-interface-bandwidth>
<config>
<bandwidth>BANDWIDTH</bandwidth> <!-- operation="delete"-->
</config>
</mpls-interface-bandwidth>
</interface>
</interfaces>
</mpls>
Command Syntax
bandwidth BANDWIDTH
Configure reservable bandwidth
Use this attribute to specify the maximum reservable bandwidth per interface. This value can be equal or smaller value than max-bandwidth. Attribute takes input from 1 to 999 kbps, 1 to 999 mbps and 1 to 100 gbps
Attribute Name: reservable-bandwidth
Attribute Type: string
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<mpls-interface-bandwidth>
<config>
<reservable-bandwidth>BANDWIDTH</reservable-bandwidth> <!-- operation="delete"-->
</config>
</mpls-interface-bandwidth>
</interface>
</interfaces>
</mpls>
Command Syntax
reservable-bandwidth BANDWIDTH
Configure shared risk link group
Use this attribute to add the link to a srlg group
Attribute Name: shared-risk-link-group
Attribute Type: uint32
Attribute Range: 0-4294967295
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<mpls-interface-bandwidth>
<config>
<shared-risk-link-group>0</shared-risk-link-group> <!-- operation="delete"-->
</config>
</mpls-interface-bandwidth>
</interface>
</interfaces>
</mpls>
Command Syntax
mpls traffic-eng srlg <0-4294967295>
Configure uni available bandwidth
Use this attribute to specify a unidirectional, available bandwidth value for the interface. The bandwidth attribute takes input in 0-999 kbps, 0-999 mbps and 0-100 gbps.
Attribute Name: uni-available-bandwidth
Attribute Type: string
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<mpls-interface-bandwidth>
<config>
<uni-available-bandwidth>BANDWIDTH</uni-available-bandwidth> <!-- operation="delete"-->
</config>
</mpls-interface-bandwidth>
</interface>
</interfaces>
</mpls>
Command Syntax
bandwidth-measurement static uni-available-bandwidth BANDWIDTH
Configure uni residual bandwidth
Use this attribute to specify a unidirectional, residual bandwidth value for the interface. The bandwidth attribute takes input in 0-999 kbps, 0-999 mbps and 0-100 gbps.
Attribute Name: uni-residual-bandwidth
Attribute Type: string
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<mpls-interface-bandwidth>
<config>
<uni-residual-bandwidth>BANDWIDTH</uni-residual-bandwidth> <!-- operation="delete"-->
</config>
</mpls-interface-bandwidth>
</interface>
</interfaces>
</mpls>
Command Syntax
bandwidth-measurement static uni-residual-bandwidth BANDWIDTH
Configure uni utilized bandwidth
Use this attribute to specify a unidirectional, utilised bandwidth value for the interface. The bandwidth attribute takes input in 0 to 999 kbps, 0 to 999 mbps and 1 to 100gbps.
Attribute Name: uni-utilized-bandwidth
Attribute Type: string
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<mpls-interface-bandwidth>
<config>
<uni-utilized-bandwidth>BANDWIDTH</uni-utilized-bandwidth> <!-- operation="delete"-->
</config>
</mpls-interface-bandwidth>
</interface>
</interfaces>
</mpls>
Command Syntax
bandwidth-measurement static uni-utilized-bandwidth BANDWIDTH
Configure max label
Use this attribute to configure a maximum label value for a label space. After setting a maximum label value for a label space, make sure to bind the label space to an interface
Attribute Name: max-label
Attribute Type: uint32
Attribute Range: 16-1048575
Attribute Name: min-label
Attribute Type: uint32
Attribute Range: 16-1048575
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<label-spaces>
<label-space>
<label-space-name>0</label-space-name>
<config>
<label-space-name>0</label-space-name>
</config>
<global-label-range>
<config>
<min-label>16</min-label>
<max-label>16</max-label>
</config>
</global-label-range>
</label-space>
</label-spaces>
</mpls>
Command Syntax
mpls min-label-value <16-1048575> max-label-value <16-1048575> (label-space <0-60000>|)
Configure label space name
This attribute identifies the label space
Attribute Name: label-space-name
Attribute Type: uint16
Attribute Range: 0-60000
Attribute Name: module-name
Attribute Type: enum (rsvp|ldp|ldp-vc|bgp)
Attribute Name: min-label
Attribute Type: uint32
Attribute Range: 16-1048575
Attribute Name: max-label
Attribute Type: uint32
Attribute Range: 16-1048575
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<label-spaces>
<label-space> <!-- operation="delete"-->
<label-space-name>0</label-space-name>
<config>
<label-space-name>0</label-space-name>
</config>
<module-label-ranges>
<module-label-range>
<module-name>rsvp</module-name>
<config>
<min-label>16</min-label>
<max-label>16</max-label>
</config>
</module-label-range>
</module-label-ranges>
</label-space>
</label-spaces>
</mpls>
Command Syntax
mpls (rsvp|ldp|ldp-vc|bgp) min-label-value <16-1048575> max-label-value <16-1048575> (label-space <0-60000>|)
Configure max bandwidth
Use this attribute to specify the maximum bandwidth to be used for a bandwidth-class. The bandwidth value is in bits
This command is supported when following feature are enabled TE feature
Attribute Name: max-bandwidth
Attribute Type: string
Attribute Name: setup-priority
Attribute Type: uint8
Attribute Range: 0-7
Attribute Name: hold-priority
Attribute Type: uint8
Attribute Range: 0-7
Netconf edit-config payload
<mpls xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-mpls">
<bandwidth-classes>
<bandwidth-class>
<name>NAME</name>
<config>
<name>WORD</name>
</config>
<properties>
<config>
<setup-priority>0</setup-priority>
<hold-priority>0</hold-priority>
<max-bandwidth>BANDWIDTH</max-bandwidth>
</config>
</properties>
</bandwidth-class>
</bandwidth-classes>
</mpls>
Command Syntax
bandwidth BANDWIDTH setup-priority <0-7> hold-priority <0-7>