l2transport failed command

Hi guys,

I have encounter some issues, i am new one on IOS XR and i don't know if i am wrong on sintax or not, but i am following the same as Brian is doing.


RP/0/0/CPU0:XR1(config)#int g0/1/0/1

% Failed to commit one or more configuration items during a pseudo-atomic operation. All changes made have been reverted. Please issue 'show configuration failed' from this session to view the errors


RP/0/0/CPU0:XR1(config-if-l2)#sho config failed
Sun Jan  5 17:16:50.002 UTC
!! SEMANTIC ERRORS: This configuration was rejected by
!! the system due to semantic errors. The individual
!! errors with each failed configuration command can be
!! found below.

interface GigabitEthernet0/1/0/1
!!% 'L2VPN' detected the 'warning' condition 'Subinterface or Layer 2 configuration conflicts with existing configuration, or configuration in this commit. Please refer to configuration documentation for further assistance.'


RP/0/0/CPU0:XR1#show  ip int br
Sun Jan  5 17:17:13.195 UTC

Interface                      IP-Address      Status                Protocol
Loopback0                 Up                    Up     
MgmtEth0/0/CPU0/0              unassigned      Up                    Up     
MgmtEth0/0/CPU0/1              unassigned      Up                    Up     
MgmtEth0/0/CPU0/2              unassigned      Down                  Down   
GigabitEthernet0/1/0/0         unassigned      Up                    Up     
GigabitEthernet0/1/0/0.519      Up                    Up     
GigabitEthernet0/1/0/0.619      Up                    Up     
GigabitEthernet0/1/0/1         unassigned      Up                    Up     
GigabitEthernet0/1/0/2         unassigned      Up                    Up     
GigabitEthernet0/1/0/3         unassigned      Up                    Up     
POS0/6/0/0                     unassigned      Up                    Up     
POS0/6/0/1                     unassigned      Up                    Up     
POS0/6/0/2                     unassigned      Up                    Up     
POS0/6/0/3                     unassigned      Down                  Down   


I don't know where is the conflit, can someone please let me know why  its happen?



  • Hi,

    Have you checked the running ocnfiguration of the interface? If there are any existing konfiguration, try to remove it. Specifically, any L3 related config must be removed prior to adding 'l2transport' to the interface.

    The command reference for IOS XR states the following for the "l2transport" command:


    The l2transport
    command and these configuration items are mutually exclusive:

    • IPv4 address and feature (for example, ACL) configuration
    • IPv4 enable, address and feature (for example, ACL) configuration
    • Bundle-enabling configuration
    • L3 subinterfaces
    • Layer 3 QoS Policy


  • Hi Mark,


    Thats only the config on the interface level:


    interface GigabitEthernet0/1/0/1



  • Make sure you don't have any L3 config under the interface before you assign it as l2transport. As suggest above, do a show run under the interface to see if there is any other config that may be causing the issue.

    You could also just try to default the interface =) 

  • I don't think it's supposed to, but i've also had CDP cause it to fail as well.  

  • Hello.
    Set interface to default and configure l2transport.
    For example:
    no int g0/1/0/1
    int g0/1/0/1 l2transport 

    With best regards,
    Andrey 'sshd' Petrenko

    On 06 ???. 2014 ?., at 23:08, Mud <[email protected]> wrote:

    I don't think it's supposed to, but i've also had CDP cause it to fail as well.  

    INE - The Industry Leader in CCIE Preparation

    Subscription information may be found at:

Sign In or Register to comment.