Skip to content
Open
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
a4d07d8
Create cisco_xr_show_running-config_interface.raw
jorlandobr Nov 17, 2025
ebb351e
Add files via upload
jorlandobr Nov 17, 2025
d3a5b69
Add files via upload
jorlandobr Nov 17, 2025
658c2a9
Update index
jorlandobr Nov 17, 2025
7b93b86
Update index
jorlandobr Nov 17, 2025
f4a36b2
Update ntc_templates/templates/cisco_xr_show_running-config_interface…
jorlandobr Nov 17, 2025
ce6591b
Update ntc_templates/templates/cisco_xr_show_running-config_interface…
jorlandobr Nov 17, 2025
a09bdac
Update ntc_templates/templates/cisco_xr_show_running-config_interface…
jorlandobr Nov 17, 2025
ada1cb0
Update ntc_templates/templates/cisco_xr_show_running-config_interface…
jorlandobr Nov 17, 2025
5233e42
Update cisco_xr_show_running-config_interface.raw
jorlandobr Nov 18, 2025
f1d3408
Regenerate XR test data with MTU defined
mjbear Nov 18, 2025
1e99cfd
Add files via upload
jorlandobr Nov 18, 2025
b58d0c5
Update cisco_xr_show_running-config_interface.yml
jorlandobr Nov 18, 2025
1f8a092
Update cisco_xr_show_running-config_interface.yml
jorlandobr Nov 18, 2025
cbb6180
Update cisco_xr_show_running-config_interface.yml
jorlandobr Nov 18, 2025
5d56720
Update cisco_xr_show_running-config_interface.yml
jorlandobr Nov 18, 2025
b45cc54
Update cisco_xr_show_running-config_interface.yml
jorlandobr Nov 18, 2025
6f00d42
Update cisco_xr_show_running-config_interface.yml
jorlandobr Nov 18, 2025
7d54747
Update cisco_xr_show_running-config_interface.yml
jorlandobr Nov 18, 2025
de84e12
Update ntc_templates/templates/cisco_xr_show_running-config_interface…
jorlandobr Nov 18, 2025
6dba580
Normalize IP_NETMASK to be NETMASK
mjbear Nov 20, 2025
01fad39
Normalize inner/outer Q-in-Q capture groups
mjbear Nov 20, 2025
96a7bab
Change recording pattern and match date
mjbear Nov 20, 2025
af9cac4
Add ipv4 secondary address to test data
mjbear Jun 13, 2026
4c32ccc
Add second IPv6 address and handle eui-64 ones
mjbear Jun 13, 2026
819e346
Change IP address capture groups to plural
mjbear Jun 13, 2026
ffd946a
Change IPv6 prefix length capture group name
mjbear Jun 13, 2026
8feb15d
Change netmask and IPv6 prefix length to plural
mjbear Jun 13, 2026
7bab46b
Refactor regex patterns in Cisco XR template
jorlandobr Jun 16, 2026
e4590b7
Update running-config for new interfaces and settings
jorlandobr Jun 16, 2026
cb4f1e1
Refactor interface configurations in YAML file
jorlandobr Jun 16, 2026
8570e97
Refactor interface configuration in YAML file
jorlandobr Jun 16, 2026
b027dd7
Replace null with 'None' in prefixv6_lengths
jorlandobr Jun 16, 2026
e9671e9
Change ip_netmasks to netmasks (normalization)
mjbear Jun 21, 2026
20f7d97
Change prefixv6_lengths to ipv6_prefix_lengths
mjbear Jun 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
Value Required INTERFACE (\S+)
Value DESCRIPTION (.*)
Value BANDWIDTH (\d+)
Value DOT1Q (\d+)
Value SECOND_DOT1Q (\d+)
Comment thread
mjbear marked this conversation as resolved.
Outdated
Value VRF (\S+)
Value List IP_ADDRESS (\d+.\d+.\d+.\d+)
Value List IP_NETMASK (\d+.\d+.\d+.\d+)
Comment thread
jorlandobr marked this conversation as resolved.
Outdated
Comment thread
matt852 marked this conversation as resolved.
Outdated
Value List IPV6_ADDRESS (\S+)
Value List PREFIXV6_LENGTH (\d+)
Value LOAD_INTERVAL (\d+)
Value MTU (\d+)
Value MTU_IPV4 (\d+)
Value UNICAST_SOURCE (\S+)
Value UNICAST_SOURCE_V6 (\S+)
Value INPUT_POLICY (\S+)
Value OUTPUT_POLICY (\S+)
Value ACCESS_GROUP_IN (\S+)
Value ACCESS_GROUP_OUT (\S+)
Value ACCESS_GROUP_V6_IN (\S+)
Value ACCESS_GROUP_V6_OUT (\S+)
Value FLOW_MONITOR (\S+)
Value FLOW_MONITOR_V6 (\S+)
Value FLOW_MPLS (\S+)
Value FLOW_SAMPLER (\S+)
Value FLOW_SAMPLER_V6 (\S+)
Value FLOW_MPLS_SAMPLER (\S+)

Start
^interface\s+${INTERFACE}
^\s+description\s+${DESCRIPTION}
^\s+bandwidth\s+${BANDWIDTH}
^\s+service-policy\s+input\s+${INPUT_POLICY}
^\s+service-policy\s+output\s+${OUTPUT_POLICY}
^\s+vrf\s+${VRF}
^\s+ipv4\s+address\s+${IP_ADDRESS}\s+${IP_NETMASK}(?:\s+secondary)?
Comment thread
matt852 marked this conversation as resolved.
Outdated
^\s+ipv4\s+verify\s+unicast\s+source\s+reachable-via\s+${UNICAST_SOURCE}\s+allow-self-ping
^\s+ipv6\s+verify\s+unicast\s+source\s+reachable-via\s+${UNICAST_SOURCE_V6}\s+allow-self-ping
^\s+ipv6\s+address\s+${IPV6_ADDRESS}\/+${PREFIXV6_LENGTH}\s*$$
^\s+mtu\s+${MTU}
^\s+ipv4\s+mtu\s+${MTU_IPV4}
^\s+ipv6\s+enable
^\s+load-interval\s+${LOAD_INTERVAL}
^\s+flow\s+ipv4\s+monitor\s+${FLOW_MONITOR}\s+sampler\s+${FLOW_SAMPLER}\s+ingress
^\s+flow\s+ipv6\s+monitor\s+${FLOW_MONITOR_V6}\s+sampler\s+${FLOW_SAMPLER_V6}\s+ingress
^\s+flow\s+mpls\s+monitor\s+${FLOW_MPLS}\s+sampler\s+${FLOW_MPLS_SAMPLER}\s+ingress
^\s+encapsulation\s+dot1q\s+${DOT1Q}(?:\s+second-dot1q\s+${SECOND_DOT1Q})?
^\s+(lacp|bundle|dampening|mpls|shutdown|!)
^\s+ipv4\s+access-group\s+${ACCESS_GROUP_IN}\s+ingress
^\s+ipv4\s+access-group\s+${ACCESS_GROUP_OUT}\s+egress
^\s+ipv6\s+access-group\s+${ACCESS_GROUP_V6_IN}\s+ingress
^\s+ipv6\s+access-group\s+${ACCESS_GROUP_V6_OUT}\s+egress
^\S+ -> Record
^. -> Error
Comment thread
jorlandobr marked this conversation as resolved.
Outdated
1 change: 1 addition & 0 deletions ntc_templates/templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@ cisco_xr_show_controllers_hundredgige_all.textfsm, .*, cisco_xr, sh[[ow]] contro
cisco_xr_show_configuration_commit_list.textfsm, .*, cisco_xr, sh[[ow]] conf[[iguration]] c[[ommit]] l[[ist]]
cisco_xr_show_asic-errors_all_location.textfsm, .*, cisco_xr, sh[[ow]] asic-er[[rors]] all loc[[ation]]
cisco_xr_show_bgp_instance_all_summary.textfsm, .*, cisco_xr, sh[[ow]] bg[[p]] ins[[tance]] (\S+) sum[[mary]]
cisco_xr_show_running-config_interface.textfsm, .*, cisco_xr, sh[[ow]] run[[ning-config]] int[[erface]]
cisco_xr_admin_show_environment_power.textfsm, .*, cisco_xr, adm[[in]] sh[[ow]] env[[ironment]] p[[ower]]
cisco_xr_show_dhcp_ipv4_proxy_binding.textfsm, .*, cisco_xr, sh[[ow]] dh[[cp]] ipv4 p[[roxy]] b[[inding]]
cisco_xr_show_mpls_ldp_neighbor_brief.textfsm, .*, cisco_xr, sh[[ow]] mp[[ls]] ld[[p]] neigh[[bor]] br[[ief]]
Expand Down
Comment thread
jorlandobr marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
Thu Nov 6 12:54:14.972 BRA
interface TenGigE2/1/0/0.1234256
description TESTONE | 50M
bandwidth 50000
service-policy input IN_BAND_S_50000_V1
service-policy output OUT_BAND_S_50000_V1
ipv4 address 10.242.26.65 255.255.255.252
ipv4 verify unicast source reachable-via rx allow-self-ping
ipv6 verify unicast source reachable-via tx allow-self-ping
ipv6 address fe80:a8:2:b0::309/126
load-interval 30
encapsulation dot1q 1234
ipv4 access-group iACL ingress
ipv6 access-group FilterPackIPv6 ingress
!
interface TenGigE2/4/0/2.22227
description PEOPLE | 100M
bandwidth 100000
service-policy input IN_BAND_S_100000_V1
service-policy output OUT_BAND_S_100000_V1
ipv4 address 10.23.125.209 255.255.255.252
ipv4 verify unicast source reachable-via tx allow-self-ping
ipv6 verify unicast source reachable-via rx allow-self-ping
ipv6 address fe80:a8:2:b8::a671/126
load-interval 30
encapsulation dot1q 2222 second-dot1q 7
ipv4 access-group iACL ingress
ipv6 access-group FilterPackIPv6 ingress
!
interface TenGigE2/4/0/2.22229
description AVENIDA | 100M
bandwidth 100000
service-policy input IN_BAND_S_100000_V1
service-policy output OUT_BAND_S_100000_V1
ipv4 address 10.228.247.93 255.255.255.252
ipv4 verify unicast source reachable-via any allow-self-ping
ipv6 verify unicast source reachable-via any allow-self-ping
ipv6 address fe80:a8:2:b8::10ed/126
load-interval 30
encapsulation dot1q 2222 second-dot1q 9
ipv4 access-group iACL ingress
ipv6 access-group FilterPackIPv6 ingress
!
interface TenGigE2/4/0/2.10012
description MONTE EVEREST | 1500K
bandwidth 1500
service-policy output OUT_SIP_VOICE_1500
vrf FONE_CLIENT:5341
ipv4 address 10.86.193.193 255.255.255.252
ipv4 verify unicast source reachable-via rx allow-self-ping
load-interval 30
encapsulation dot1q 1001 second-dot1q 2
!
interface TenGigE2/4/0/2.1002
description TEST PASS| 100M
bandwidth 100000
service-policy input IN_100000K_1_0_1_0_0_1_1
service-policy output OUT_100000K_1_0_1_0_0_1_1
vrf FEED_HUB:1245
ipv4 address 10.245.37.157 255.255.255.252
ipv6 address fe80:a8:2:2b8::751/126
load-interval 30
encapsulation dot1q 1002
!
interface TenGigE2/4/0/2.10023
description BLUE | 2048K
bandwidth 2048
service-policy input IN_BLUE_2M_0_0_0_98_0_1_XR_V1
service-policy output OUT_BLUE_2M_0_0_0_98_0_1_XR_V1
vrf OBS_CHIN:1236
ipv4 address 192.168.226.53 255.255.255.252
ipv6 address fe80:a8:2:2b8::ac5/126
load-interval 30
encapsulation dot1q 1002 second-dot1q 3
!
interface TenGigE3/0/0/0
description TEST MTU and FLOW
mtu 9216
ipv4 mtu 9000
flow ipv4 monitor IPV4-MONITOR sampler IPV4-SAMPLER ingress
flow ipv6 monitor IPV6-MONITOR sampler IPV6-SAMPLER ingress
flow mpls monitor MPLS-MONITOR sampler MPLS-SAMPLER ingress
!
Original file line number Diff line number Diff line change
@@ -0,0 +1,213 @@
---
parsed_sample:
- access_group_in: "iACL"
access_group_out: ""
access_group_v6_in: "FilterPackIPv6"
access_group_v6_out: ""
bandwidth: "50000"
description: "TESTONE | 50M"
dot1q: "1234"
flow_monitor: ""
flow_monitor_v6: ""
flow_mpls: ""
flow_mpls_sampler: ""
flow_sampler: ""
flow_sampler_v6: ""
input_policy: "IN_BAND_S_50000_V1"
interface: "TenGigE2/1/0/0.1234256"
ipv6_address:
- "fe80:a8:2:b0::309"
ip_address:
- "10.242.26.65"
ip_netmask:
Comment thread
matt852 marked this conversation as resolved.
Outdated
- "255.255.255.252"
load_interval: "30"
mtu: ""
mtu_ipv4: ""
output_policy: "OUT_BAND_S_50000_V1"
prefixv6_length:
- "126"
second_dot1q: ""
unicast_source: "rx"
unicast_source_v6: "tx"
vrf: ""
- access_group_in: "iACL"
access_group_out: ""
access_group_v6_in: "FilterPackIPv6"
access_group_v6_out: ""
bandwidth: "100000"
description: "PEOPLE | 100M"
dot1q: "2222"
flow_monitor: ""
flow_monitor_v6: ""
flow_mpls: ""
flow_mpls_sampler: ""
flow_sampler: ""
flow_sampler_v6: ""
input_policy: "IN_BAND_S_100000_V1"
interface: "TenGigE2/4/0/2.22227"
ipv6_address:
- "fe80:a8:2:b8::a671"
ip_address:
- "10.23.125.209"
ip_netmask:
Comment thread
matt852 marked this conversation as resolved.
Outdated
- "255.255.255.252"
load_interval: "30"
mtu: ""
mtu_ipv4: ""
output_policy: "OUT_BAND_S_100000_V1"
prefixv6_length:
- "126"
second_dot1q: "7"
unicast_source: "tx"
unicast_source_v6: "rx"
vrf: ""
- access_group_in: "iACL"
access_group_out: ""
access_group_v6_in: "FilterPackIPv6"
access_group_v6_out: ""
bandwidth: "100000"
description: "AVENIDA | 100M"
dot1q: "2222"
flow_monitor: ""
flow_monitor_v6: ""
flow_mpls: ""
flow_mpls_sampler: ""
flow_sampler: ""
flow_sampler_v6: ""
input_policy: "IN_BAND_S_100000_V1"
interface: "TenGigE2/4/0/2.22229"
ipv6_address:
- "fe80:a8:2:b8::10ed"
ip_address:
- "10.228.247.93"
ip_netmask:
Comment thread
matt852 marked this conversation as resolved.
Outdated
- "255.255.255.252"
load_interval: "30"
mtu: ""
mtu_ipv4: ""
output_policy: "OUT_BAND_S_100000_V1"
prefixv6_length:
- "126"
second_dot1q: "9"
unicast_source: "any"
unicast_source_v6: "any"
vrf: ""
- access_group_in: ""
access_group_out: ""
access_group_v6_in: ""
access_group_v6_out: ""
bandwidth: "1500"
description: "MONTE EVEREST | 1500K"
dot1q: "1001"
flow_monitor: ""
flow_monitor_v6: ""
flow_mpls: ""
flow_mpls_sampler: ""
flow_sampler: ""
flow_sampler_v6: ""
input_policy: ""
interface: "TenGigE2/4/0/2.10012"
ipv6_address: []
ip_address:
- "10.86.193.193"
ip_netmask:
Comment thread
matt852 marked this conversation as resolved.
Outdated
- "255.255.255.252"
load_interval: "30"
mtu: ""
mtu_ipv4: ""
output_policy: "OUT_SIP_VOICE_1500"
prefixv6_length: []
second_dot1q: "2"
unicast_source: "rx"
unicast_source_v6: ""
vrf: "FONE_CLIENT:5341"
- access_group_in: ""
access_group_out: ""
access_group_v6_in: ""
access_group_v6_out: ""
bandwidth: "100000"
description: "TEST PASS| 100M"
dot1q: "1002"
flow_monitor: ""
flow_monitor_v6: ""
flow_mpls: ""
flow_mpls_sampler: ""
flow_sampler: ""
flow_sampler_v6: ""
input_policy: "IN_100000K_1_0_1_0_0_1_1"
interface: "TenGigE2/4/0/2.1002"
ipv6_address:
- "fe80:a8:2:2b8::751"
ip_address:
- "10.245.37.157"
ip_netmask:
Comment thread
matt852 marked this conversation as resolved.
Outdated
- "255.255.255.252"
load_interval: "30"
mtu: ""
mtu_ipv4: ""
output_policy: "OUT_100000K_1_0_1_0_0_1_1"
prefixv6_length:
- "126"
second_dot1q: ""
unicast_source: ""
unicast_source_v6: ""
vrf: "FEED_HUB:1245"
- access_group_in: ""
access_group_out: ""
access_group_v6_in: ""
access_group_v6_out: ""
bandwidth: "2048"
description: "BLUE | 2048K"
dot1q: "1002"
flow_monitor: ""
flow_monitor_v6: ""
flow_mpls: ""
flow_mpls_sampler: ""
flow_sampler: ""
flow_sampler_v6: ""
input_policy: "IN_BLUE_2M_0_0_0_98_0_1_XR_V1"
interface: "TenGigE2/4/0/2.10023"
ipv6_address:
- "fe80:a8:2:2b8::ac5"
ip_address:
- "192.168.226.53"
ip_netmask:
Comment thread
matt852 marked this conversation as resolved.
Outdated
- "255.255.255.252"
load_interval: "30"
mtu: ""
mtu_ipv4: ""
output_policy: "OUT_BLUE_2M_0_0_0_98_0_1_XR_V1"
prefixv6_length:
- "126"
second_dot1q: "3"
unicast_source: ""
unicast_source_v6: ""
vrf: "OBS_CHIN:1236"
- access_group_in: ""
access_group_out: ""
access_group_v6_in: ""
access_group_v6_out: ""
bandwidth: ""
description: "TEST MTU and FLOW"
dot1q: ""
flow_monitor: "IPV4-MONITOR"
flow_monitor_v6: "IPV6-MONITOR"
flow_mpls: "MPLS-MONITOR"
flow_mpls_sampler: "MPLS-SAMPLER"
flow_sampler: "IPV4-SAMPLER"
flow_sampler_v6: "IPV6-SAMPLER"
input_policy: ""
interface: "TenGigE3/0/0/0"
ipv6_address: []
ip_address: []
ip_netmask: []
Comment thread
matt852 marked this conversation as resolved.
Outdated
load_interval: ""
mtu: "9216"
mtu_ipv4: "9000"
output_policy: ""
prefixv6_length: []
second_dot1q: ""
unicast_source: ""
unicast_source_v6: ""
vrf: ""