Closed bobo-xiaopeng closed 1 year ago
Hi, have a look at this template - https://github.com/dmulyalin/ttp_templates/blob/7b4f847103955dbbaec54e3e0b9ee2073879f3f5/ttp_templates/misc/Netbox/parse_cisco_xr_config.txt#L123 - think it might be useful for your use case.
vrf TEST_VOICE address-family ipv4 unicast import route-target 11111:99120 22222:12310 ! export route-target 33333:99901 44444:13210 ! ! ! vrf TestBGP address-family ipv4 unicast import route-target 55555:9999 ! export route-target 66666:9999 ! ! ! vrf TEST_VIDEO address-family ipv4 unicast import route-target 77777:102000 aaaaa:DDDDD ! export route-target 88888:102000 CCCCC:1038 ! ! !