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

Fixes 537 - IOS show interfaces switchport - Changed output #538

Merged
merged 8 commits into from
Nov 11, 2019
1 change: 1 addition & 0 deletions templates/cisco_ios_show_interfaces_switchport.template
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Start
^\s*Pruning\s+VLANs
^\s*Capture\s+(?:Mode|VLANs)
^\s*Protected
^\s*Unknown\s+(unicast|multicast)
^\s*Appliance\s+trust
^\s*$$
# Capture time-stamp if vty line has command time-stamping turned on
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,12 @@ parsed_sample:
switchport_monitor: ''
voice_vlan: none
trunking_vlans: ALL
- access_vlan: '1'
interface: Fa0/1
mode: static access
native_vlan: '1'
switchport: Enabled
switchport_negotiation: 'On'
switchport_monitor: ''
voice_vlan: none
trunking_vlans: ALL
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,33 @@ Capture VLANs Allowed: ALL

Protected: false
Appliance trust: none

Name: Fa0/1
Switchport: Enabled
Administrative Mode: dynamic auto
Operational Mode: static access
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: native
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL

Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none