Skip to content

Commit

Permalink
Adds monitoring port for show interfaces status (networktocode#928)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanderaa authored and cppmonkey committed Oct 25, 2023
1 parent dbb63f6 commit e8850a1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Value PORT (\S+)
Value NAME (.+?)
Value STATUS (err-disabled|disabled|connected|notconnect|inactive|up|down)
Value STATUS (err-disabled|disabled|connected|notconnect|inactive|up|down|monitoring)
Value VLAN (\S+)
Value DUPLEX (\S+)
Value SPEED (\S+)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ Gi1/0/14 Half Duplex 2950-S notconnect 16 a-half auto Not Present
Gi1/0/15 Multi Space to the notconnect 16 a-half auto 10/100BaseTX
Gi1/0/16 Multi Space to the err-disabled 16 a-half auto 10/100BaseTX
Gi1/0/17 Multi Space disabled 16 a-half auto 10/100BaseTX
Gi1/0/18 Monitoring Port monitoring routed a-full auto 10/100/1000BaseT
Fa1/6 test notconnect 1 auto auto 10/100BaseTX
Po1 ethchl connected trunk a-full a-1000
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,14 @@ parsed_sample:
speed: "auto"
type: "10/100BaseTX"
fc_mode: ""
- port: "Gi1/0/18"
name: "Monitoring Port"
status: "monitoring"
vlan: "routed"
duplex: "a-full"
speed: "auto"
type: "10/100/1000BaseT"
fc_mode: ""
- port: "Fa1/6"
name: "test"
status: "notconnect"
Expand Down

0 comments on commit e8850a1

Please sign in to comment.