-
Notifications
You must be signed in to change notification settings - Fork 735
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix: ASA - show_interface - Adds missing case of no '([value])' va…
…lues for duplex and speed.
- Loading branch information
Brenton Dube
committed
Oct 25, 2020
1 parent
d322c77
commit 37252cf
Showing
3 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
tests/cisco_asa/show_interface/cisco_asa_show_interface2.raw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
Interface GigabitEthernet0/0 "outside", is up, line protocol is up | ||
Hardware is i82540EM rev03, BW 1000 Mbps, DLY 10 usec | ||
Full-Duplex, Auto-Speed | ||
Input flow control is unsupported, output flow control is off | ||
Description: to iosv-1 | ||
MAC address fa16.3eb0.c3d3, MTU 1500 | ||
IP address 10.0.0.5, subnet mask 255.255.255.252 | ||
2 packets input, 0 bytes, 0 no buffer | ||
Received 0 broadcasts, 0 runts, 0 giants | ||
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort | ||
0 pause input, 0 resume input | ||
0 L2 decode drops | ||
1 packets output, 0 bytes, 0 underruns | ||
0 pause output, 0 resume output | ||
0 output errors, 0 collisions, 2 interface resets | ||
0 late collisions, 0 deferred | ||
0 input reset drops, 0 output reset drops | ||
input queue (blocks free curr/low): hardware (511/511) | ||
output queue (blocks free curr/low): hardware (511/511) | ||
Traffic Statistics for "outside": | ||
2 packets input, 381 bytes | ||
1 packets output, 28 bytes | ||
2 packets dropped | ||
1 minute input rate 0 pkts/sec, 0 bytes/sec | ||
1 minute output rate 0 pkts/sec, 0 bytes/sec | ||
1 minute drop rate, 0 pkts/sec | ||
5 minute input rate 0 pkts/sec, 0 bytes/sec | ||
5 minute output rate 0 pkts/sec, 0 bytes/sec | ||
5 minute drop rate, 0 pkts/sec |
26 changes: 26 additions & 0 deletions
26
tests/cisco_asa/show_interface/cisco_asa_show_interface2.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
parsed_sample: | ||
- address: "fa16.3eb0.c3d3" | ||
bandwidth: "1000 Mbps" | ||
delay: "10 usec" | ||
description: "to iosv-1" | ||
duplex: "" | ||
fivemin_drop_rate: "0" | ||
fivemin_in_pps: "0" | ||
fivemin_in_rate: "0" | ||
fivemin_out_pps: "0" | ||
fivemin_out_rate: "0" | ||
hardware_type: "i82540EM rev03" | ||
interface: "GigabitEthernet0/0" | ||
interface_zone: "outside" | ||
ip_address: "10.0.0.5" | ||
link_status: "up" | ||
mtu: "1500" | ||
net_mask: "255.255.255.252" | ||
onemin_drop_rate: "0" | ||
onemin_in_pps: "0" | ||
onemin_in_rate: "0" | ||
onemin_out_pps: "0" | ||
onemin_out_rate: "0" | ||
protocol_status: "up" | ||
speed: "" |