IPI-L2VPN-VPWS
Configure pseudowire identifier
Use this attribute to assign pseudowire identifier to create an instance of an MPLS layer 2 virtual circuit. A Layer-2 MPLS Virtual Circuit instance may be bound to any interface on the router; however, only one interface may be bound to a Layer-2 circuit at a time.
Attribute Name: pseudowire-identifier
Attribute Type: uint32
Attribute Range: 1-4294967295
Attribute Name: enable-default-tagged-mode
Attribute Type: empty
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowires>
<pseudowire> <!-- operation="delete"-->
<peer-address>VPWS_IP_ADDR_T</peer-address>
<config>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<pseudowire-identifier>1</pseudowire-identifier>
</config>
<pseudowire-identifier>1</pseudowire-identifier>
<default-tagged>
<config>
</enable-default-tagged-mode>
</config>
</default-tagged>
</pseudowire>
</pseudowires>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
mpls l2-circuit NAME <1-4294967295> (A.B.C.D|X:X::X:X)
Configure instance name
Use this attribute to assign pseudowire identifier to create an instance of an MPLS layer 2 virtual circuit. A Layer-2 MPLS Virtual Circuit instance may be bound to any interface on the router; however, only one interface may be bound to a Layer-2 circuit at a time.
Attribute Name: pseudowire-identifier
Attribute Type: uint32
Attribute Range: 1-4294967295
Attribute Name: enable-default-tagged-mode
Attribute Type: empty
Attribute Name: service-tpid
Attribute Type: enum (dot1.q|dot1.ad|0x9100|0x9200)
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowires>
<pseudowire>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<config>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<pseudowire-identifier>1</pseudowire-identifier>
</config>
<pseudowire-identifier>1</pseudowire-identifier>
<default-tagged>
<config>
</enable-default-tagged-mode>
<service-tpid>dot1.q</service-tpid>
</config>
</default-tagged>
</pseudowire>
</pseudowires>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
mpls l2-circuit NAME <1-4294967295> service-tpid (dot1.q|dot1.ad|0x9100|0x9200)
Configure instance type
Use this attribute to assign pseudowire identifier to create an instance of an MPLS layer 2 virtual circuit. A Layer-2 MPLS Virtual Circuit instance may be bound to any interface on the router; however, only one interface may be bound to a Layer-2 circuit at a time.
Attribute Name: pseudowire-identifier
Attribute Type: uint32
Attribute Range: 1-4294967295
Attribute Name: enable-default-tagged-mode
Attribute Type: empty
Attribute Name: service-tpid
Attribute Type: enum (dot1.q|dot1.ad|0x9100|0x9200)
Attribute Name: enable-control-word
Attribute Type: empty
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowires>
<pseudowire>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<config>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<pseudowire-identifier>1</pseudowire-identifier>
</config>
<pseudowire-identifier>1</pseudowire-identifier>
<default-tagged>
<config>
</enable-default-tagged-mode>
<service-tpid>dot1.q</service-tpid>
</enable-control-word>
</config>
</default-tagged>
</pseudowire>
</pseudowires>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
mpls l2-circuit NAME <1-4294967295> service-tpid (dot1.q|dot1.ad|0x9100|0x9200) control-word
Configure peer address
Use this attribute to assign pseudowire identifier to create an instance of an MPLS layer 2 virtual circuit. A Layer-2 MPLS Virtual Circuit instance may be bound to any interface on the router; however, only one interface may be bound to a Layer-2 circuit at a time.
Attribute Name: pseudowire-identifier
Attribute Type: uint32
Attribute Range: 1-4294967295
Attribute Name: enable-default-tagged-mode
Attribute Type: empty
Attribute Name: service-tpid
Attribute Type: enum (dot1.q|dot1.ad|0x9100|0x9200)
Attribute Name: enable-control-word
Attribute Type: empty
Attribute Name: enable-manual-pseudowire
Attribute Type: empty
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowires>
<pseudowire>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<config>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<pseudowire-identifier>1</pseudowire-identifier>
</config>
<pseudowire-identifier>1</pseudowire-identifier>
<default-tagged>
<config>
</enable-default-tagged-mode>
<service-tpid>dot1.q</service-tpid>
</enable-control-word>
</enable-manual-pseudowire>
</config>
</default-tagged>
</pseudowire>
</pseudowires>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
mpls l2-circuit NAME <1-4294967295> service-tpid (dot1.q|dot1.ad|0x9100|0x9200) control-word manual
Configure enable default tagged mode
Use this attribute to assign pseudowire identifier to create an instance of an MPLS layer 2 virtual circuit. A Layer-2 MPLS Virtual Circuit instance may be bound to any interface on the router; however, only one interface may be bound to a Layer-2 circuit at a time.
Attribute Name: pseudowire-identifier
Attribute Type: uint32
Attribute Range: 1-4294967295
Attribute Name: enable-default-tagged-mode
Attribute Type: empty
Attribute Name: enable-control-word
Attribute Type: empty
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowires>
<pseudowire>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<config>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<pseudowire-identifier>1</pseudowire-identifier>
</config>
<pseudowire-identifier>1</pseudowire-identifier>
<default-tagged>
<config>
</enable-default-tagged-mode>
</enable-control-word>
</config>
</default-tagged>
</pseudowire>
</pseudowires>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
mpls l2-circuit NAME <1-4294967295> control-word
Configure service tpid
Use this attribute to assign pseudowire identifier to create an instance of an MPLS layer 2 virtual circuit. A Layer-2 MPLS Virtual Circuit instance may be bound to any interface on the router; however, only one interface may be bound to a Layer-2 circuit at a time.
Attribute Name: pseudowire-identifier
Attribute Type: uint32
Attribute Range: 1-4294967295
Attribute Name: enable-default-tagged-mode
Attribute Type: empty
Attribute Name: service-tpid
Attribute Type: enum (dot1.q|dot1.ad|0x9100|0x9200)
Attribute Name: enable-manual-pseudowire
Attribute Type: empty
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowires>
<pseudowire>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<config>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<pseudowire-identifier>1</pseudowire-identifier>
</config>
<pseudowire-identifier>1</pseudowire-identifier>
<default-tagged>
<config>
</enable-default-tagged-mode>
<service-tpid>dot1.q</service-tpid>
</enable-manual-pseudowire>
</config>
</default-tagged>
</pseudowire>
</pseudowires>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
mpls l2-circuit NAME <1-4294967295> service-tpid (dot1.q|dot1.ad|0x9100|0x9200) manual
Configure enable manual pseudowire
Use this attribute to assign pseudowire identifier to create an instance of an MPLS layer 2 virtual circuit. A Layer-2 MPLS Virtual Circuit instance may be bound to any interface on the router; however, only one interface may be bound to a Layer-2 circuit at a time.
Attribute Name: pseudowire-identifier
Attribute Type: uint32
Attribute Range: 1-4294967295
Attribute Name: enable-default-tagged-mode
Attribute Type: empty
Attribute Name: enable-manual-pseudowire
Attribute Type: empty
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowires>
<pseudowire>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<config>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<pseudowire-identifier>1</pseudowire-identifier>
</config>
<pseudowire-identifier>1</pseudowire-identifier>
<default-tagged>
<config>
</enable-default-tagged-mode>
</enable-manual-pseudowire>
</config>
</default-tagged>
</pseudowire>
</pseudowires>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
mpls l2-circuit NAME <1-4294967295> manual
Configure tunnel name
Use this attribute to assign pseudowire identifier to create an instance of an MPLS layer 2 virtual circuit. A Layer-2 MPLS Virtual Circuit instance may be bound to any interface on the router; however, only one interface may be bound to a Layer-2 circuit at a time.
Attribute Name: pseudowire-identifier
Attribute Type: uint32
Attribute Range: 1-4294967295
Attribute Name: enable-default-tagged-mode
Attribute Type: empty
Attribute Name: tunnel-name
Attribute Type: string
Attribute Range: 1-32
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowires>
<pseudowire>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<config>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<pseudowire-identifier>1</pseudowire-identifier>
</config>
<pseudowire-identifier>1</pseudowire-identifier>
<default-tagged>
<config>
</enable-default-tagged-mode>
<tunnel-name>NAME</tunnel-name>
</config>
</default-tagged>
</pseudowire>
</pseudowires>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
mpls l2-circuit NAME <1-4294967295> tunnel-name NAME
Configure enable control word
Use this attribute to assign pseudowire identifier to create an instance of an MPLS layer 2 virtual circuit. A Layer-2 MPLS Virtual Circuit instance may be bound to any interface on the router; however, only one interface may be bound to a Layer-2 circuit at a time.
Attribute Name: pseudowire-identifier
Attribute Type: uint32
Attribute Range: 1-4294967295
Attribute Name: enable-default-tagged-mode
Attribute Type: empty
Attribute Name: service-tpid
Attribute Type: enum (dot1.q|dot1.ad|0x9100|0x9200)
Attribute Name: enable-control-word
Attribute Type: empty
Attribute Name: tunnel-name
Attribute Type: string
Attribute Range: 1-32
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowires>
<pseudowire>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<config>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<pseudowire-identifier>1</pseudowire-identifier>
</config>
<pseudowire-identifier>1</pseudowire-identifier>
<default-tagged>
<config>
</enable-default-tagged-mode>
<service-tpid>dot1.q</service-tpid>
</enable-control-word>
<tunnel-name>NAME</tunnel-name>
</config>
</default-tagged>
</pseudowire>
</pseudowires>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
mpls l2-circuit NAME <1-4294967295> service-tpid (dot1.q|dot1.ad|0x9100|0x9200) control-word tunnel-name NAME
Configure tunnel identifier
Use this attribute to assign pseudowire identifier to create an instance of an MPLS layer 2 virtual circuit. A Layer-2 MPLS Virtual Circuit instance may be bound to any interface on the router; however, only one interface may be bound to a Layer-2 circuit at a time.
Attribute Name: pseudowire-identifier
Attribute Type: uint32
Attribute Range: 1-4294967295
Attribute Name: enable-default-tagged-mode
Attribute Type: empty
Attribute Name: tunnel-identifier
Attribute Type: uint32
Attribute Range: 1-5000
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowires>
<pseudowire>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<config>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<pseudowire-identifier>1</pseudowire-identifier>
</config>
<pseudowire-identifier>1</pseudowire-identifier>
<default-tagged>
<config>
</enable-default-tagged-mode>
<tunnel-identifier>1</tunnel-identifier>
</config>
</default-tagged>
</pseudowire>
</pseudowires>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
mpls l2-circuit NAME <1-4294967295> tunnel-id <1-5000>
Configure group name
Use this attribute to assign pseudowire identifier to create an instance of an MPLS layer 2 virtual circuit. A Layer-2 MPLS Virtual Circuit instance may be bound to any interface on the router; however, only one interface may be bound to a Layer-2 circuit at a time.
Attribute Name: pseudowire-identifier
Attribute Type: uint32
Attribute Range: 1-4294967295
Attribute Name: enable-default-tagged-mode
Attribute Type: empty
Attribute Name: group-name
Attribute Type: string
Attribute Range: 1-32
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowires>
<pseudowire>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<config>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<pseudowire-identifier>1</pseudowire-identifier>
</config>
<pseudowire-identifier>1</pseudowire-identifier>
<default-tagged>
<config>
</enable-default-tagged-mode>
<group-name>NAME</group-name>
</config>
</default-tagged>
</pseudowire>
</pseudowires>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
mpls l2-circuit NAME <1-4294967295> NAME
Configure group identifier
Use this attribute to assign pseudowire identifier to create an instance of an MPLS layer 2 virtual circuit. A Layer-2 MPLS Virtual Circuit instance may be bound to any interface on the router; however, only one interface may be bound to a Layer-2 circuit at a time.
Attribute Name: pseudowire-identifier
Attribute Type: uint32
Attribute Range: 1-4294967295
Attribute Name: enable-default-tagged-mode
Attribute Type: empty
Attribute Name: group-name
Attribute Type: string
Attribute Range: 1-32
Attribute Name: service-tpid
Attribute Type: enum (dot1.q|dot1.ad|0x9100|0x9200)
Attribute Name: group-identifier
Attribute Type: uint32
Attribute Range: 1-4294967295
Attribute Name: enable-control-word
Attribute Type: empty
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowires>
<pseudowire>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<config>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<pseudowire-identifier>1</pseudowire-identifier>
</config>
<pseudowire-identifier>1</pseudowire-identifier>
<default-tagged>
<config>
</enable-default-tagged-mode>
<group-name>NAME</group-name>
<service-tpid>dot1.q</service-tpid>
<group-identifier>1</group-identifier>
</enable-control-word>
</config>
</default-tagged>
</pseudowire>
</pseudowires>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
mpls l2-circuit NAME <1-4294967295> NAME service-tpid (dot1.q|dot1.ad|0x9100|0x9200) group-id <1-4294967295> control-word
Configure enable interface parameter tlv
Use this attribute to configure interface parameter tlv for VPLS Virtual Circuits.
Attribute Name: enable-interface-parameter-tlv
Attribute Type: empty
Attribute Name: enable-flow-label
Attribute Type: empty
Attribute Name: flow-label-direction
Attribute Type: enum (both|transmit|receive)
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowires>
<pseudowire>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<config>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<pseudowire-identifier>1</pseudowire-identifier>
</config>
<pseudowire-identifier>1</pseudowire-identifier>
<default-tagged>
<config>
</enable-flow-label><!-- operation="delete"-->
<flow-label-direction>both</flow-label-direction> <!-- operation="delete"-->
</enable-interface-parameter-tlv><!-- operation="delete"-->
</config>
</default-tagged>
</pseudowire>
</pseudowires>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
flow-label (both|transmit|receive) interface-param-tlv
Configure enable static flow label
Use this attribute to enable static flow label for VPWS Virtual Circuits.
Attribute Name: enable-static-flow-label
Attribute Type: empty
Attribute Name: enable-flow-label
Attribute Type: empty
Attribute Name: flow-label-direction
Attribute Type: enum (both|transmit|receive)
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowires>
<pseudowire>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<config>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<pseudowire-identifier>1</pseudowire-identifier>
</config>
<pseudowire-identifier>1</pseudowire-identifier>
<default-tagged>
<config>
</enable-flow-label><!-- operation="delete"-->
<flow-label-direction>both</flow-label-direction> <!-- operation="delete"-->
</enable-static-flow-label><!-- operation="delete"-->
</config>
</default-tagged>
</pseudowire>
</pseudowires>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
flow-label (both|transmit|receive) static
Configure flow label direction
Use this attribute to configure flow label direction to transmit,receive or both for VPWS Virtual Circuits.
Attribute Name: flow-label-direction
Attribute Type: enum (both|transmit|receive)
Attribute Name: enable-flow-label
Attribute Type: empty
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowires>
<pseudowire>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<config>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<pseudowire-identifier>1</pseudowire-identifier>
</config>
<pseudowire-identifier>1</pseudowire-identifier>
<default-tagged>
<config>
</enable-flow-label><!-- operation="delete"-->
<flow-label-direction>both</flow-label-direction> <!-- operation="delete"-->
</config>
</default-tagged>
</pseudowire>
</pseudowires>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
flow-label (both|transmit|receive)
Configure allow l2protocol peer
Use this attribute to configure L2CP in peer mode
Attribute Name: allow-l2protocol-peer
Attribute Type: empty
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowires>
<pseudowire>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<config>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<pseudowire-identifier>1</pseudowire-identifier>
</config>
<pseudowire-identifier>1</pseudowire-identifier>
<default-tagged>
<config>
</allow-l2protocol-peer><!-- operation="delete"-->
</config>
</default-tagged>
</pseudowire>
</pseudowires>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
allow-l2protocol-peer
Configure enable tagged mode
Use this attribute to assign pseudowire identifier to create an instance of an MPLS layer 2 virtual circuit. A Layer-2 MPLS Virtual Circuit instance may be bound to any interface on the router; however, only one interface may be bound to a Layer-2 circuit at a time.
Attribute Name: pseudowire-identifier
Attribute Type: uint32
Attribute Range: 1-4294967295
Attribute Name: enable-tagged-mode
Attribute Type: empty
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowires>
<pseudowire> <!-- operation="delete"-->
<peer-address>VPWS_IP_ADDR_T</peer-address>
<config>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<pseudowire-identifier>1</pseudowire-identifier>
</config>
<pseudowire-identifier>1</pseudowire-identifier>
<tagged>
<config>
</enable-tagged-mode>
</config>
</tagged>
</pseudowire>
</pseudowires>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
mpls l2-circuit NAME <1-4294967295> mode tagged
Configure enable flow label
Use this attribute to configure interface parameter tlv for VPLS Virtual Circuits.
Attribute Name: enable-interface-parameter-tlv
Attribute Type: empty
Attribute Name: enable-flow-label
Attribute Type: empty
Attribute Name: flow-label-direction
Attribute Type: enum (both|transmit|receive)
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowires>
<pseudowire>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<config>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<pseudowire-identifier>1</pseudowire-identifier>
</config>
<pseudowire-identifier>1</pseudowire-identifier>
<tagged>
<config>
</enable-flow-label><!-- operation="delete"-->
<flow-label-direction>both</flow-label-direction> <!-- operation="delete"-->
</enable-interface-parameter-tlv><!-- operation="delete"-->
</config>
</tagged>
</pseudowire>
</pseudowires>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
flow-label (both|transmit|receive) interface-param-tlv
Configure enable raw mode
Use this attribute to assign pseudowire identifier to create an instance of an MPLS layer 2 virtual circuit. A Layer-2 MPLS Virtual Circuit instance may be bound to any interface on the router; however, only one interface may be bound to a Layer-2 circuit at a time.
Attribute Name: pseudowire-identifier
Attribute Type: uint32
Attribute Range: 1-4294967295
Attribute Name: enable-raw-mode
Attribute Type: empty
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowires>
<pseudowire> <!-- operation="delete"-->
<peer-address>VPWS_IP_ADDR_T</peer-address>
<config>
<peer-address>VPWS_IP_ADDR_T</peer-address>
<pseudowire-identifier>1</pseudowire-identifier>
</config>
<pseudowire-identifier>1</pseudowire-identifier>
<raw>
<config>
</enable-raw-mode>
</config>
</raw>
</pseudowire>
</pseudowires>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
mpls l2-circuit NAME <1-4294967295> mode raw
Configure attachment group identifier
Use this attribute to enable control word for MPLS Layer-2 Virtual Circuit.
This command is supported when following feature are enabled Generic FEC129 Feature
Attribute Name: enable-control-word
Attribute Type: empty
Attribute Name: service-tpid
Attribute Type: enum (dot1.q|dot1.ad|0x9100|0x9200)
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowire-fec129>
<target-attachment-individual-identifier>NAME</target-attachment-individual-identifier>
<config>
<target-attachment-individual-identifier>NAME</target-attachment-individual-identifier>
<source-attachment-individual-identifier>NAME</source-attachment-individual-identifier>
<attachment-group-identifier>NAME</attachment-group-identifier>
<peer-address>A.B.C.D</peer-address>
<service-tpid>dot1.q</service-tpid>
</config>
<source-attachment-individual-identifier>NAME</source-attachment-individual-identifier>
<attachment-group-identifier>NAME</attachment-group-identifier>
<peer-address>A.B.C.D</peer-address>
</enable-control-word>
</pseudowire-fec129>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
mpls l2-circuit NAME A.B.C.D agi NAME saii NAME taii NAME service-tpid (dot1.q|dot1.ad|0x9100|0x9200) control-word
Configure source attachment individual identifier
Use this attribute to specificy the transport tunnel-name to be used for MPLS Layer-2 Virtual Circuit.
This command is supported when following feature are enabled Generic FEC129 Feature
Attribute Name: tunnel-name
Attribute Type: string
Attribute Range: 1-32
Attribute Name: service-tpid
Attribute Type: enum (dot1.q|dot1.ad|0x9100|0x9200)
Attribute Name: enable-control-word
Attribute Type: empty
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowire-fec129>
<target-attachment-individual-identifier>NAME</target-attachment-individual-identifier>
<config>
<target-attachment-individual-identifier>NAME</target-attachment-individual-identifier>
<source-attachment-individual-identifier>NAME</source-attachment-individual-identifier>
<attachment-group-identifier>NAME</attachment-group-identifier>
<peer-address>A.B.C.D</peer-address>
<service-tpid>dot1.q</service-tpid>
</enable-control-word>
</config>
<source-attachment-individual-identifier>NAME</source-attachment-individual-identifier>
<attachment-group-identifier>NAME</attachment-group-identifier>
<peer-address>A.B.C.D</peer-address>
<tunnel-name>NAME</tunnel-name>
</pseudowire-fec129>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
mpls l2-circuit NAME A.B.C.D agi NAME saii NAME taii NAME service-tpid (dot1.q|dot1.ad|0x9100|0x9200) control-word tunnel-name NAME
Configure target attachment individual identifier
Use this attribute to specificy the static tunnel-identifier to be used for MPLS Layer-2 Virtual Circuit.
This command is supported when following feature are enabled Generic FEC129 Feature
Attribute Name: tunnel-identifier
Attribute Type: uint32
Attribute Range: 1-5000
Attribute Name: service-tpid
Attribute Type: enum (dot1.q|dot1.ad|0x9100|0x9200)
Attribute Name: enable-control-word
Attribute Type: empty
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>NAME</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vpws</instance-type>
</config>
<instance-type>vpws</instance-type>
<vpws-instance xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowire-fec129>
<target-attachment-individual-identifier>NAME</target-attachment-individual-identifier>
<config>
<target-attachment-individual-identifier>NAME</target-attachment-individual-identifier>
<source-attachment-individual-identifier>NAME</source-attachment-individual-identifier>
<attachment-group-identifier>NAME</attachment-group-identifier>
<peer-address>A.B.C.D</peer-address>
<service-tpid>dot1.q</service-tpid>
</enable-control-word>
</config>
<source-attachment-individual-identifier>NAME</source-attachment-individual-identifier>
<attachment-group-identifier>NAME</attachment-group-identifier>
<peer-address>A.B.C.D</peer-address>
<tunnel-identifier>1</tunnel-identifier>
</pseudowire-fec129>
</vpws-instance>
</network-instance>
</network-instances>
Command Syntax
mpls l2-circuit NAME A.B.C.D agi NAME saii NAME taii NAME service-tpid (dot1.q|dot1.ad|0x9100|0x9200) control-word tunnel-id <1-5000>
Configure service template
This attribute is used to configure service-template for vc-mode
Attribute Name: service-template
Attribute Type: string
Attribute Name: mode
Attribute Type: enum (standby|revertive)
Netconf edit-config payload
<vpws xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<pseudowire-modes>
<pseudowire-mode>
<service-template>WORD</service-template>
<config>
<service-template>NAME</service-template>
<mode>standby</mode>
</config>
</pseudowire-mode>
</pseudowire-modes>
</interface>
</interfaces>
</vpws>
Command Syntax
vc-mode (standby|revertive) service-template NAME
Configure pseudowire name
Use this attribute to specify pseudowire name
Attribute Name: pseudowire-name
Attribute Type: string
Attribute Name: service-template-name
Attribute Type: string
Attribute Name: pseudowire-link-mode
Attribute Type: enum (primary|secondary)
Netconf edit-config payload
<vpws xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<service-template-mappings>
<service-template-mapping>
<pseudowire-name>NAME</pseudowire-name>
<config>
<pseudowire-name>WORD</pseudowire-name>
<service-template-name>NAME</service-template-name>
<pseudowire-link-mode>primary</pseudowire-link-mode>
</config>
</service-template-mapping>
</service-template-mappings>
</interface>
</interfaces>
</vpws>
Command Syntax
mpls-l2-circuit NAME service-template NAME ((primary|secondary)|)
Configure name
Use this attribute to specify pseudowire name
Attribute Name: pseudowire-name
Attribute Type: string
Attribute Name: service-template-name
Attribute Type: string
Attribute Name: cos-to-queue-profile-name
Attribute Type: string
Attribute Name: pseudowire-link-mode
Attribute Type: enum (primary|secondary)
Netconf edit-config payload
<vpws xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<service-template-mappings>
<service-template-mapping>
<pseudowire-name>NAME</pseudowire-name>
<config>
<pseudowire-name>WORD</pseudowire-name>
<service-template-name>NAME</service-template-name>
<cos-to-queue-profile-name>NAME</cos-to-queue-profile-name>
<pseudowire-link-mode>primary</pseudowire-link-mode>
</config>
</service-template-mapping>
</service-template-mappings>
</interface>
</interfaces>
</vpws>
Command Syntax
mpls-l2-circuit NAME service-template NAME cos-to-queue NAME ((primary|secondary)|)
Configure access interface name
This attribute is used to configure customer network interface for static VC fib entry
Attribute Name: access-interface-name
Attribute Type: string
Attribute Name: incoming-label
Attribute Type: uint32
Attribute Range: 16-52443
Attribute Name: outgoing-label
Attribute Type: uint32
Attribute Range: 16-52443
Attribute Name: nexthop-address
Attribute Type: inet:ip-address
Attribute Name: provider-interface-name
Attribute Type: string
Netconf edit-config payload
<vpws xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<static-forwarding>
<forwarding-information-bases>
<forwarding-information-base>
<pseudowire-identifier>1</pseudowire-identifier>
<config>
<pseudowire-identifier>1</pseudowire-identifier>
<incoming-label>16</incoming-label>
<outgoing-label>16</outgoing-label>
<nexthop-address>CML_IP_ADDR_T</nexthop-address>
<provider-interface-name>IFNAME</provider-interface-name>
</config>
<access-interface-name>NAME</access-interface-name>
</forwarding-information-base>
</forwarding-information-bases>
</static-forwarding>
</vpws>
Command Syntax
mpls l2-circuit-fib-entry <1-4294967295> <16-52443> <16-52443> (A.B.C.D|X:X::X:X) IFNAME NAME
clear mpls l2-circuit NAME statistics
Attribute Name: pseudowire-name
Attribute Type: string
Netconf RPC payload
<clear-mpls-l2-circuit-statistics xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<pseudowire-name>NAME</pseudowire-name>
</clear-mpls-l2-circuit-statistics>
Command Syntax
clear mpls l2-circuit NAME statistics
clear mpls l2-circuit NAME statistics (access-port|network-port)
Attribute Name: port-pseudowire-name
Attribute Type: string
Attribute Name: port-type
Attribute Type: enum (access-port|network-port)
Default Value: network-port
Netconf RPC payload
<clear-mpls-l2-circuit-port-statistics xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<port-pseudowire-name>NAME</port-pseudowire-name>
<port-type>network-port</port-type>
</clear-mpls-l2-circuit-port-statistics>
Command Syntax
clear mpls l2-circuit NAME statistics (access-port|network-port)
vc-switchover NAME NAME
Attribute Name: primary-pseudowire
Attribute Type: string
Attribute Name: secondary-pseudowire
Attribute Type: string
Netconf RPC payload
<pseudowire-manual-switchover xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-l2vpn-vpws">
<primary-pseudowire>NAME</primary-pseudowire>
<secondary-pseudowire>NAME</secondary-pseudowire>
</pseudowire-manual-switchover>
Command Syntax
vc-switchover NAME NAME