cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
176
Views
0
Helpful
3
Replies
Highlighted
Beginner

L2VPN XCONNECT " no mpls control-word"

Hi Expert,

I am facing issue; for L2VPN xConnect, IOS-NED is generating extra command which we are not configuring and not required; as per below

 

admin@ncs(config)# show full-configuration devices device 7606-S-PE config ios:interface Vlan 65 
devices device 7606-S-PE
config
ios:interface Vlan65
description NSO_L2VPN_Testing
xconnect 12.13.14.15 1551 encapsulation mpls pw-class PVlan
backup peer 15.14.13.12 1232 pw-class PVlan
no mpls control-word (not required)
exit
no ip address
service-policy input 2M
service-policy output 2M
no shutdown
exit
!
!

How can I remove (no mpls control-word) command. Please anyone suggest. Thanks

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: L2VPN XCONNECT " no mpls control-word"

I believe this is done because on some devices the xconnect is created with "mpls control-word" set. So (unless you have also set it in NSO) NSO has to clear it with the no command when it creates the xconnect.

 

It shouldn't cause a problem, but if it does then you should raise a TAC case.

3 REPLIES 3
Cisco Employee

Re: L2VPN XCONNECT " no mpls control-word"

In the NED this control-word leaf is modeled as an 'empty' type with 'tailf:cli-show-no' annotation:

 

          / interface * / xconnect encapsulation / mpls control-word

          leaf control-word {

            tailf:info "Include control-word in pseudowire packets";

            tailf:cli-show-no;

            type empty;

          }

 

This means that it will show the 'no mpls control-word' if this leaf is not set and show 'mpls control-word' when it is set.

 

admin@ncs% set devices device ios0 config ios:interface Vlan 65 description NSO_L2VPN_Testing xconnect address 12.13.14.15 vcid 1551 mpls control-word

admin@ncs% commit dry-run outformat native

native {

    device {

        name ios0

        data interface Vlan65

              description "NSO_L2VPN_Testing"

              xconnect 12.13.14.15 1551 encapsulation mpls

               mpls control-word

              exit

              no shutdown

             exit

    }

}

 

[edit]
admin@ncs% delete devices device ios0 config ios:interface Vlan 65 description NSO_L2VPN_Testing xconnect address 12.13.14.15 vcid 1551 mpls control-word

 

admin@ncs% commit dry-run outformat native                                      

native {

    device {

        name ios0

        data interface Vlan65

              xconnect encapsulation mpls

               no mpls control-word

              exit

              no shutdown

             exit

    }

}

 

 

 

Beginner

Re: L2VPN XCONNECT " no mpls control-word"

Hi Imanor, Thanks for your reply.

 

Does this mean; We can not remove this command?, either "mpls control-word" or "no mpls control-word" command will be (must) available. So, there is no any-other way out to remove it?

 

Regards,

Bjron

 

Cisco Employee

Re: L2VPN XCONNECT " no mpls control-word"

I believe this is done because on some devices the xconnect is created with "mpls control-word" set. So (unless you have also set it in NSO) NSO has to clear it with the no command when it creates the xconnect.

 

It shouldn't cause a problem, but if it does then you should raise a TAC case.