Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ios sh int status private vlan (pvlan) bug #1948

Merged
merged 2 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
@@ -1,7 +1,7 @@
Value PORT (\S+)
Value NAME (.+?)
Value STATUS (err-disabled|disabled|connected|notconnect|inactive|up|down|monitoring|suspended)
Value VLAN_ID (\d+|trunk|routed|unassigned)
Value VLAN_ID (\d+(,\d+)*|trunk|routed|unassigned|pvlan\s+prom)
Value DUPLEX (\S+)
Value SPEED (\S+)
Value TYPE (.*)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

Port Name Status Vlan Duplex Speed Type
Twe1/0/1 Device 1 connected 123 a-full a-1000 10/100/1000BaseTX SFP
Twe1/0/2 Device 2 disabled 456 auto auto 10/100/1000BaseTX SFP
Twe1/0/4 * Device 3 * connected 123,1234 a-full a-1000 10/100/1000BaseTX SFP
Twe1/0/5 Device 4 disabled 2345 auto auto 10/100/1000BaseTX SFP
Twe1/0/17 Device 5 connected pvlan prom full 10G SFP-10GBase-SR
Twe1/0/28 Device 6 notconnect 123 auto auto 10/100/1000BaseTX SFP
Twe2/0/32 monitoring 1 full 10G SFP-10GBase-SR
jmcgill298 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
parsed_sample:
- duplex: "a-full"
fc_mode: ""
name: "Device 1"
port: "Twe1/0/1"
speed: "a-1000"
status: "connected"
type: "10/100/1000BaseTX SFP"
vlan_id: "123"
- duplex: "auto"
fc_mode: ""
name: "Device 2"
port: "Twe1/0/2"
speed: "auto"
status: "disabled"
type: "10/100/1000BaseTX SFP"
vlan_id: "456"
- duplex: "a-full"
fc_mode: ""
name: "* Device 3 *"
port: "Twe1/0/4"
speed: "a-1000"
status: "connected"
type: "10/100/1000BaseTX SFP"
vlan_id: "123,1234"
- duplex: "auto"
fc_mode: ""
name: "Device 4"
port: "Twe1/0/5"
speed: "auto"
status: "disabled"
type: "10/100/1000BaseTX SFP"
vlan_id: "2345"
- duplex: "full"
fc_mode: ""
name: "Device 5"
port: "Twe1/0/17"
speed: "10G"
status: "connected"
type: "SFP-10GBase-SR"
vlan_id: "pvlan prom"
- duplex: "auto"
fc_mode: ""
name: "Device 6"
port: "Twe1/0/28"
speed: "auto"
status: "notconnect"
type: "10/100/1000BaseTX SFP"
vlan_id: "123"
- duplex: "full"
fc_mode: ""
name: ""
port: "Twe2/0/32"
speed: "10G"
status: "monitoring"
type: "SFP-10GBase-SR"
vlan_id: "1"