Skip to content

Commit 65fa4f0

Browse files
authored
Fix (and support) nxos VXLAN nve interfaces (#2195)
1 parent af2d20c commit 65fa4f0

File tree

3 files changed

+63
-1
lines changed

3 files changed

+63
-1
lines changed

ntc_templates/templates/cisco_nxos_show_interface.textfsm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Start
6767
^\s+Internet\s+Address\s+is\s+${IP_ADDRESS}\/${PREFIX_LENGTH}
6868
^\s+Port\s+mode\s+is\s+${MODE}
6969
^\s+${DUPLEX},\s+${SPEED}(,\s+media\s+type\s+is\s+${MEDIA_TYPE})?\s*$$
70-
^\s+MTU\s+${MTU}.*BW\s+${BANDWIDTH}.*DLY\s+${DELAY}
70+
^\s+MTU\s+${MTU}(.*BW\s+${BANDWIDTH}.*DLY\s+${DELAY})?
7171
^\s+Encapsulation\s+${ENCAPSULATION},?(\s+Virtual\s+LAN,\s+Vlan\s+ID\s+${VLAN_ID},)?
7272
^\s+${INPUT_PACKETS}\s+input\s+packets\s+\d+\s+bytes\s*$$
7373
^\s+${OUTPUT_PACKETS}\s+output\s+packets\s+\d+\s+bytes\s*$$
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
nve1 is up
2+
admin state is up, Hardware: NVE
3+
MTU 9216 bytes
4+
Encapsulation VXLAN
5+
Auto-mdix is turned off
6+
RX
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
parsed_sample:
3+
- admin_state: "up"
4+
babble: ""
5+
bad_etype_drop: ""
6+
bad_proto_drop: ""
7+
bandwidth: ""
8+
bandwidth_input_rate: ""
9+
bandwidth_output_rate: ""
10+
bia: ""
11+
collisions: ""
12+
crc: ""
13+
deferred: ""
14+
delay: ""
15+
description: ""
16+
dribble: ""
17+
duplex: ""
18+
encapsulation: "VXLAN"
19+
giants: ""
20+
hardware_type: ""
21+
ignored: ""
22+
input_discards: ""
23+
input_errors: ""
24+
input_packets: ""
25+
interface: "nve1"
26+
interface_down_drop: ""
27+
ip_address: ""
28+
last_link_flapped: ""
29+
late_collisions: ""
30+
link_status: "up"
31+
lost_carrier: ""
32+
mac_address: ""
33+
media_type: ""
34+
mode: ""
35+
mtu: "9216"
36+
no_buffer: ""
37+
no_carrier: ""
38+
output_discards: ""
39+
output_errors: ""
40+
output_packets: ""
41+
overrun: ""
42+
packet_input_rate: ""
43+
packet_output_rate: ""
44+
prefix_length: ""
45+
runts: ""
46+
rx_jumbo_packets: ""
47+
rx_pause: ""
48+
short_frame: ""
49+
speed: ""
50+
stomped_crc: ""
51+
storm_suppression_bytes: ""
52+
tx_jumbo_packets: ""
53+
tx_pause: ""
54+
underrun: ""
55+
vlan_id: ""
56+
watchdog: ""

0 commit comments

Comments
 (0)