cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
851
Views
5
Helpful
3
Replies

IOS XR interface config error - (IOS XR 6.0.1

Hi All,

I am using YDK for getting config and state data from IOS XR (6.0.1) device such as interface configs, bgp configs etc. However I am getting the following error when script is executed.

 

PIP freeze output:

ydk==0.8.4
ydk-models-cisco-ios-xe==16.9.3.post1
ydk-models-cisco-ios-xr==6.6.3
ydk-models-cisco-nx-os==9.3.1
ydk-models-ietf==0.1.5.post2
ydk-models-openconfig==0.1.8

 

Script:

from ydk.services import CRUDService
from ydk.providers import NetconfServiceProvider
from ydk.models.cisco_ios_xr import Cisco_IOS_XR_ifmgr_cfg as iface_config

import logging


def enable_logging(level):
log = logging.getLogger('ydk')
log.setLevel(level)
handler = logging.StreamHandler()
formatter = logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s")
handler.setFormatter(formatter)
log.addHandler(handler)


def main():
provider = NetconfServiceProvider(address='10.1.100.27', port=830, username = 'cisco', password = 'cisco', protocol = 'ssh')
enable_logging(logging.INFO)

#provider = NetconfServiceProvider(address='sbx-iosxr-mgmt.cisco.com', port=10000, username='admin', password='C1sco12345')

crud = CRUDService()

ifaces = iface_config.GlobalInterfaceConfiguration()

all_interfaces = crud.read_config(provider, ifaces)


if __name__ == "__main__":
main()

 

Output:

2020-05-14 21:54:19,271 - ydk - INFO - Executing CRUD read_config operation on [Cisco-IOS-XR-ifmgr-cfg:global-interface-configuration]
2020-05-14 21:54:19,272 - ydk - INFO - Executing 'get' RPC on [Cisco-IOS-XR-ifmgr-cfg:global-interface-configuration] from running
2020-05-14 21:54:19,275 - ydk - ERROR - Data is invalid according to the yang model. Libyang error: Invalid keyword "(([a-zA-Z0-9_]*\d+/){3}\d+)|"".
2020-05-14 21:54:19,275 - ydk - ERROR - Data is invalid according to the yang model. Libyang error: Module "Cisco-IOS-XR-types" parsing failed.
2020-05-14 21:54:19,276 - ydk - ERROR - Data is invalid according to the yang model. Libyang error: Importing "Cisco-IOS-XR-types" module into "Cisco-IOS-XR-ifmgr-cfg" failed.
2020-05-14 21:54:19,276 - ydk - ERROR - Data is invalid according to the yang model. Libyang error: Module "Cisco-IOS-XR-ifmgr-cfg" parsing failed.
2020-05-14 21:54:19,278 - ydk - ERROR - Data is invalid according to the yang model. Libyang error: Invalid keyword "(([a-zA-Z0-9_]*\d+/){3}\d+)|"".
2020-05-14 21:54:19,278 - ydk - ERROR - Data is invalid according to the yang model. Libyang error: Module "Cisco-IOS-XR-types" parsing failed.
2020-05-14 21:54:19,278 - ydk - ERROR - Data is invalid according to the yang model. Libyang error: Importing "Cisco-IOS-XR-types" module into "Cisco-IOS-XR-ifmgr-cfg" failed.
2020-05-14 21:54:19,278 - ydk - ERROR - Data is invalid according to the yang model. Libyang error: Module "Cisco-IOS-XR-ifmgr-cfg" parsing failed.
2020-05-14 21:54:19,279 - ydk - ERROR - Data is invalid according to the yang model. Libyang error: Module not found. Path: '/Cisco-IOS-XR-ifmgr-cfg'
2020-05-14 21:54:19,279 - ydk - ERROR - Path 'Cisco-IOS-XR-ifmgr-cfg:global-interface-configuration' is invalid
Traceback (most recent call last):
File "new.py", line 31, in <module>
main()
File "new.py", line 27, in main
all_interfaces = crud.read_config(provider, ifaces)
File "/home/ydk-test/lib64/python3.6/site-packages/ydk/services/crud_service.py", line 63, in read_config
return _crud_read(provider, read_filter, True, self._crud.read_config)
File "/home/ydk-test/lib64/python3.6/site-packages/ydk/services/crud_service.py", line 88, in _crud_read
read_top_entity = crud_call(provider, top_filters)
File "/usr/lib64/python3.6/contextlib.py", line 99, in __exit__
self.gen.throw(type, value, traceback)
File "/home/ydk-test/lib64/python3.6/site-packages/ydk/errors/error_handler.py", line 82, in handle_runtime_error
_raise(_exc)
File "/home/ydk-test/lib64/python3.6/site-packages/ydk/errors/error_handler.py", line 54, in _raise
exec("raise exc from None")
File "<string>", line 1, in <module>
ydk.errors.YInvalidArgumentError: Path is invalid: Cisco-IOS-XR-ifmgr-cfg:global-interface-configuration
2020-05-14 21:54:19,319 - ydk - INFO - Disconnected from device

 

Thanks & Regards
-- Uvindhu Jayasinghe --
1 Accepted Solution

Accepted Solutions

yangorelik
Spotlight
Spotlight

Hi Vindhu

You are getting the same libyang errors as in your previous posts, and you need reinstall libydk and python core package in order to fix libyang bugs.

Please note that your installed ydk-models-cisco-ios-xr package and your device are having different versions. Therefore they are working on different YANG models, which could be not compatible, and as a result model errors could appear.

Regarding your script. From my experience the global-interface-configuration component is not populated in IOS XR devices; I am getting empty results. Please use interface-configurations instead, which is working perfectly fine.

Yan Gorelik
YDK Solutions

View solution in original post

3 Replies 3

yangorelik
Spotlight
Spotlight

Hi Vindhu

You are getting the same libyang errors as in your previous posts, and you need reinstall libydk and python core package in order to fix libyang bugs.

Please note that your installed ydk-models-cisco-ios-xr package and your device are having different versions. Therefore they are working on different YANG models, which could be not compatible, and as a result model errors could appear.

Regarding your script. From my experience the global-interface-configuration component is not populated in IOS XR devices; I am getting empty results. Please use interface-configurations instead, which is working perfectly fine.

Yan Gorelik
YDK Solutions

Hi Yan,

I have re-installed libydk library as you informed in earlier posts. However this script works with Cisco IOS XR always on sandbox device instead of the device that I have used in my environment. Therefore I think there is an issue with IOS XR versions. Please fine the script and output as below when used for 'sbx-iosxr-mgmt.cisco.com' device.

 

Scripts:

from ydk.services import CRUDService
from ydk.providers import NetconfServiceProvider
from ydk.models.cisco_ios_xr import Cisco_IOS_XR_ifmgr_cfg as iface_config

import logging


def enable_logging(level):
log = logging.getLogger('ydk')
log.setLevel(level)
handler = logging.StreamHandler()
formatter = logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s")
handler.setFormatter(formatter)
log.addHandler(handler)


def main():
enable_logging(logging.INFO)

provider = NetconfServiceProvider(address='sbx-iosxr-mgmt.cisco.com', port=10000, username='admin', password='C1sco12345')

crud = CRUDService()

ifaces = iface_config.InterfaceConfigurations()

all_interfaces = crud.read_config(provider, ifaces)


if __name__ == "__main__":
main()

 

Output:

2020-05-15 09:47:49,060 - ydk - INFO - Path where models are to be downloaded: /root/.ydk/sbx-iosxr-mgmt.cisco.com
2020-05-15 09:47:49,084 - ydk - INFO - Connected to sbx-iosxr-mgmt.cisco.com on port 10000 using ssh with timeout of -1
2020-05-15 09:47:49,085 - ydk - INFO - Executing CRUD read_config operation on [Cisco-IOS-XR-ifmgr-cfg:interface-configurations]
2020-05-15 09:47:49,085 - ydk - INFO - Executing 'get' RPC on [Cisco-IOS-XR-ifmgr-cfg:interface-configurations] from running
2020-05-15 09:47:49,093 - ydk - INFO - ============= Sending RPC to device =============
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"><get-config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<source>
<running/>
</source>
<filter><interface-configurations xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-cfg"/></filter>
</get-config>
</rpc>
2020-05-15 09:47:50,988 - ydk - INFO - ============= Received RPC from device =============
<?xml version="1.0"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
<data>
<interface-configurations xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-cfg">
<interface-configuration>
<active>act</active>
<interface-name>Loopback9</interface-name>
<interface-virtual/>
<ipv4-network xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-cfg">
<addresses>
<primary>
<address>1.1.1.1</address>
<netmask>255.255.255.0</netmask>
</primary>
</addresses>
</ipv4-network>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Loopback10</interface-name>
<interface-virtual/>
<ipv4-network xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-cfg">
<addresses>
<primary>
<address>1.2.1.1</address>
<netmask>255.255.255.0</netmask>
</primary>
</addresses>
</ipv4-network>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Loopback100</interface-name>
<interface-virtual/>
<description>***MERGE LOOPBACK 100****</description>
<ipv4-network xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-cfg">
<addresses>
<primary>
<address>1.1.1.100</address>
<netmask>255.255.255.255</netmask>
</primary>
</addresses>
</ipv4-network>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Loopback200</interface-name>
<interface-virtual/>
<description>***MERGE LOOPBACK 200****</description>
<ipv4-network xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-cfg">
<addresses>
<primary>
<address>1.1.1.200</address>
<netmask>255.255.255.255</netmask>
</primary>
</addresses>
</ipv4-network>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2</interface-name>
<interface-virtual/>
<description>TEMM|CORE|MONTERREY_CORREGIDORA|MTY_R4507_05D|LAN|4||NA| </description>
<bandwidth>2000000</bandwidth>
<mtus>
<mtu>
<owner>etherbundle</owner>
<mtu>1608</mtu>
</mtu>
</mtus>
<statistics xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-cfg">
<load-interval>30</load-interval>
</statistics>
<link-status/>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.1</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-untagged</outer-tag-type>
</encapsulation>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.10</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|GSM|MONTERREY_CORREGIDORA|VLAN__GSM|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>10</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.11</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|GSM|MONTERREY_CORREGIDORA|GESTION_GSM_1|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>11</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.12</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|OSS|MONTERREY_CORREGIDORA|NETACT_OSS_NOKIA_BLADE|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>12</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.13</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|OSS|MONTERREY_CORREGIDORA|NETACT_OSS_NOKIA|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>13</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.18</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|INFOVISTA|MONTERREY_CORREGIDORA|GESTION_INFOVISTA|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>18</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.19</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|INFOVISTA|MONTERREY_CORREGIDORA|INFOVISTA_VRF|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>19</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.20</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|PREPAGO|MONTERREY_CORREGIDORA|VLAN_IN|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>20</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.21</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|PREPAGO|MONTERREY_CORREGIDORA|IN_NIVEL_3|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>21</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.50</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|VMS|MONTERREY_CORREGIDORA|VLAN_BUZON_VOZ|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>50</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.56</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|PORTABILIDAD|MONTERREY_CORREGIDORA|VLAN_PORTABILIDAD_MAQUETA|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>56</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.57</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|PORTABILIDAD|MONTERREY_CORREGIDORA|VLAN_PORTABILIDAD_OyM|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>57</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.58</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|PORTABILIDAD|MONTERREY_CORREGIDORA|VLAN_PORTABILIDAD_INTRANET|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>58</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.59</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|PORTABILIDAD|MONTERREY_CORREGIDORA|VLAN_PORTABILIDAD_EXTERNA|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>59</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.67</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|SMS|MONTERREY_CORREGIDORA|SIGTRAN_SMSC|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>67</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.68</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|SMS|MONTERREY_CORREGIDORA|SIGTRAN_SMSC_5_2_REDUNDANTE|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>68</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.69</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|SMS|MONTERREY_CORREGIDORA|SMSC_MESSAGING|LAN|4||NA| </description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>69</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.70</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|SMS|MONTERREY_CORREGIDORA|SMSC_OyM|LAN|4||NA| </description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>70</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.72</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|USSD|MONTERREY_CORREGIDORA|PLATAFORMA_USSD_1|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>72</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.92</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|SIGTRAN|MONTERREY_CORREGIDORA|SIGTRAN_1|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>92</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.93</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|SIGTRAN|MONTERREY_CORREGIDORA|SIGTRAN_1_REDUNDANTE|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>93</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.122</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|ROAMING|MONTERREY_CORREGIDORA|GESTION_IPANEMA_ROBOT_ROAMING|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>122</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.196</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|RNC|MONTERREY_CORREGIDORA|RNC_OyM_UMTS_NOKIA|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>196</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.203</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|OSS|MONTERREY_CORREGIDORA|GESTION_ERICSSON_OSS_UMTS_VRF|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>203</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.241</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|PCS|MONTERREY_CORREGIDORA|NAS1_ACCESO_USUARIOS_SW_0_1_43|LAN|4||NA| </description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>241</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.242</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|PCS|MONTERREY_CORREGIDORA|NAS2_ACCESO_USUARIOS_SW_0_1_44|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>242</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.261</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|CAMPUS_PARTY|MONTERREY_CORREGIDORA|CAMPUS_1|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>261</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.262</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|CAMPUS_PARTY|MONTERREY_CORREGIDORA|CAMPUS_2|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>262</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.263</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|CAMPUS_PARTY|MONTERREY_CORREGIDORA|CAMPUS_3|LAN|4||NA| </description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>263</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.264</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|CAMPUS_PARTY|MONTERREY_CORREGIDORA|CAMPUS_4|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>264</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.287</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|LTE|MONTERREY_CORREGIDORA|VRF_LTE|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>287</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.290</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|PORTABILIDAD|MONTERREY_CORREGIDORA|VLAN_PORTABILIDAD_PRUEBA_INTERNA|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>290</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.291</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|PORTABILIDAD|MONTERREY_CORREGIDORA|VLAN_PORTABILIDAD_PRUEBA_EXTERNA|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>291</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.292</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|PORTABILIDAD|MONTERREY_CORREGIDORA|VLAN_PORTABILIDAD_PRUEBA_OyM|LAN|4||NA| </description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>292</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.300</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|GSM|MONTERREY_CORREGIDORA|GESTION_GSM_2|LAN|4||NA| </description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>300</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.339</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|CLIENTES|MONTERREY_CORREGIDORA|CLIENTES_MPLS_3|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>339</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.504</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|GGSN|MONTERREY_CORREGIDORA|VPNBBVATPV_1|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>504</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.506</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|GGSN|MONTERREY_CORREGIDORA|VPNBBVATPV_3|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>506</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.508</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|APN|MONTERREY_CORREGIDORA|VPNGIBLACKBERRY_GGSN_NOKIA 1|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>508</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.509</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|RNC|MONTERREY_CORREGIDORA|RNC_OyM_OMU_1_UMTS_NOKIA|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>509</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.510</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|APN|MONTERREY_CORREGIDORA|VPNGIBLACKBERRY_GGSN_NOKIA_3|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>510</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.511</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|WIMAX|MONTERREY_CORREGIDORA|VLAN_SIP_19_02228|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>511</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.702</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|WIMAX|MONTERREY_CORREGIDORA|TOS_CDS_INTERNODO|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>702</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.703</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|WIMAX|MONTERREY_CORREGIDORA|TOS_CDS_INTERNODO_GESTION|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>703</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.704</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|GGSN|CORREGIDORA|conexion GGSN_A_MISP_PARA_CLIENTES_MPLS|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>704</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.705</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|ALESTRA|CORREGIDORA|conexion_MPLS_APN-1_Alestra|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>705</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.706</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|ALESTRA|CORREGIDORA|conexion_MPLS_APN-2_Alestra|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>706</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.707</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|CLIENTES|CORREGIDORA|conexion_MPLS_APN_BBVA_MOVIL|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>707</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.708</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|CLIENTES|CORREGIDORA|conexion_MPLS_APN_MPLS_FIRST_DATA|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>708</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.709</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|CLIENTES|CORREGIDORA|conexion_MPLS_APN_MPLS_HSBC_3G|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>709</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.711</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|CLIENTES|CORREGIDORA|conexion_MPLS_APN_MPLS_TECLO|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>711</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.714</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|GGSN|CORREGIDORA|conexion_MPLS-USSD|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>714</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.716</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|CLIENTES|CORREGIDORA|conexion_MPLS_APN_SOFTELPRUEBA|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>717</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.718</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>APN_GLOBAL_CARD</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>718</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.880</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|GGSN|MONTERREY_CORREGIDORA|GIVPNGTEL_1|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>880</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.882</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|GGSN|MONTERREY_CORREGIDORA|GIVPNGTEL_3|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>882</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.998</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|CORE|MONTERREY_CORREGIDORA|VLAN_INTERNET|LAN|4||NA| </description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>998</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.999</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|CORE|MONTERREY_CORREGIDORA|VLAN_GE_CORE|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>999</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.2135</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|LTE|MONTERREY_CORREGIDORA|GESTION_LTE_ME2000|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>2135</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.2309</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|OSS|MONTERREY_CORREGIDORA|GESTION_LTE_OSS_ERICSSON|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>2309</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.2310</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|OSS|MONTERREY_CORREGIDORA|OSS|LAN|4||NA| </description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>2310</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>Bundle-Ether2.2838</interface-name>
<interface-mode-non-physical>l2-transport</interface-mode-non-physical>
<description>TEMM|SMS|MONTERREY_CORREGIDORA|SMSGW_XAG1|LAN|4||NA|</description>
<ethernet-service xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg">
<encapsulation>
<outer-tag-type>match-dot1q</outer-tag-type>
<outer-range1-low>2838</outer-range1-low>
<exact/>
</encapsulation>
<rewrite>
<rewrite-type>pop1</rewrite-type>
</rewrite>
</ethernet-service>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>MgmtEth0/RP0/CPU0/0</interface-name>
<ipv4-network xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-cfg">
<addresses>
<primary>
<address>10.10.20.175</address>
<netmask>255.255.255.0</netmask>
</primary>
</addresses>
</ipv4-network>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>GigabitEthernet0/0/0/0</interface-name>
<description>test-interface</description>
<ipv4-network xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-cfg">
<addresses>
<primary>
<address>192.168.0.1</address>
<netmask>255.255.255.0</netmask>
</primary>
</addresses>
</ipv4-network>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>GigabitEthernet0/0/0/1</interface-name>
<description>test-interface</description>
<ipv4-network xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-io-cfg">
<addresses>
<primary>
<address>192.168.1.1</address>
<netmask>255.255.255.0</netmask>
</primary>
</addresses>
</ipv4-network>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>GigabitEthernet0/0/0/2</interface-name>
<shutdown/>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>GigabitEthernet0/0/0/3</interface-name>
<shutdown/>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>GigabitEthernet0/0/0/4</interface-name>
<shutdown/>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>GigabitEthernet0/0/0/5</interface-name>
<shutdown/>
</interface-configuration>
<interface-configuration>
<active>act</active>
<interface-name>GigabitEthernet0/0/0/6</interface-name>
<shutdown/>
</interface-configuration>
</interface-configurations>
</data>
</rpc-reply>

2020-05-15 09:48:12,715 - ydk - INFO - Disconnected from device
Thanks & Regards
-- Uvindhu Jayasinghe --

Hi Uvindhu

When running a script based on YDK generated API, the bundle package should correspond to your device. In your case the device is running IOS XR 6.0.1, which is pretty old (4 years) and cannot be found in pypi.org. In this case you need collect YANG models from GitHub, build bundle profile and generate specific for your task bundle package.

If you want to be independent from bundle code, the YDK gives you such capability by using Path API. Check YDK documentation on how to apply Path API in your application.

Yan Gorelik
YDK Solutions