
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
RP/0/0/CPU0:XR1(config-if)#l2transport
RP/0/0/CPU0:XR1(config-if-l2)#commit
% 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)#
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
l2transport
!!% '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.'
!
!
end
RP/0/0/CPU0:XR1(config-if-l2)#
RP/0/0/CPU0:XR1#show ip int br
Sun Jan 5 17:17:13.195 UTC
Interface IP-Address Status Protocol
Loopback0 19.19.19.19 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 20.5.19.19 Up Up
GigabitEthernet0/1/0/0.619 20.6.19.19 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
RP/0/0/CPU0:XR1#
I don't know where is the conflit, can someone please let me know why its happen?
spinsider
Comments
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:
/Mark
Hi Mark,
Thats only the config on the interface level:
interface GigabitEthernet0/1/0/1
cdp
!
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.
Andrey 'sshd' Petrenko