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 #903 - Updated cisco_ios_show_interfaces_switchport.textfsm #907

Merged
merged 1 commit into from
Jul 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
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
Expand Up @@ -21,7 +21,6 @@ Start
^\s*Voice\s+VLAN:\s+${VOICE_VLAN}
^\s*Trunking\s+VLANs\s+Enabled:\s+${TRUNKING_VLANS},\s*$$ -> Trunk
^\s*Trunking\s+VLANs\s+Enabled:\s+${TRUNKING_VLANS}$$
^\s+${TRUNKING_VLANS}$$
^\s*Administrative\s+Mode:\s+${ADMIN_MODE}$$
^\s*(?:Operational|Administrative)\s+(?:Trunking|Native\s+VLAN|private-vlan)
^\s*Voice\s+VLAN:
Expand All @@ -40,5 +39,6 @@ Start
^. -> Error

Trunk
^\s+${TRUNKING_VLANS},\s*$$ -> Start
^\s+${TRUNKING_VLANS}\s*$$
^\s+${TRUNKING_VLANS},\s*$$
^\s+${TRUNKING_VLANS}\s*$$ -> Start
^. -> Error
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,35 @@ Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Vepa Enabled: false
Appliance trust: none

Name: Te5/0/2
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: Off
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: disabled
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: 1,12,15,31-36,40-42,80,85,101,201,240,410,420,602,604,
900,910,920,930,940
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL

Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Vepa Enabled: false
Appliance trust: none
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,15 @@ parsed_sample:
trunking_vlans:
- "1,12,15,31-36,40-42,80,85,101,201,240,410,420,602,604"
- "900,910,920,930,940"
- interface: "Te5/0/2"
switchport: "Enabled"
switchport_monitor: ""
switchport_negotiation: "Off"
mode: "trunk"
admin_mode: "trunk"
access_vlan: "1"
native_vlan: "1"
voice_vlan: "none"
trunking_vlans:
- "1,12,15,31-36,40-42,80,85,101,201,240,410,420,602,604"
- "900,910,920,930,940"