show interfaces switchport - access_vlan missing
See original GitHub issueFind a bug in the parser “show interfaces switchport”
If the vlan name 99 contians a hifen sign (-) i dont get the Access Mode VLAN: 99 (Falback-Data)
output from switch
Name: Gi1/0/19
Switchport: Enabled
Administrative Mode: static access
Operational Mode: down
Administrative Trunking Encapsulation: dot1q
Negotiation of Trunking: Off
Access Mode VLAN: 99 (Falback-Data)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: 98 (Fallback-Voice)
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
No key ‘access_vlan’
{'switchport_enable': True,
'switchport_mode': 'static access',
'operational_mode': 'down',
'encapsulation': {'administrative_encapsulation': 'dot1q',
'native_vlan': '1'},
'negotiation_of_trunk': False,
'native_vlan_tagging': True,
'private_vlan': {'native_vlan_tagging': True, 'encapsulation': 'dot1q'},
'trunk_vlans': 'all',
'pruning_vlans': '2-1001',
'capture_mode': False,
'capture_vlans': 'all',
'unknown_unicast_blocked': False,
'unknown_multicast_blocked': False}
I renamed the vlan
output from switch
Name: Gi1/0/19
Switchport: Enabled
Administrative Mode: static access
Operational Mode: down
Administrative Trunking Encapsulation: dot1q
Negotiation of Trunking: Off
Access Mode VLAN: 99 (Falback)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: 98 (Fallback-Voice)
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
i have the key ‘access_vlan’ 😃
{'switchport_enable': True,
'switchport_mode': 'static access',
'operational_mode': 'down',
'encapsulation': {'administrative_encapsulation': 'dot1q',
'native_vlan': '1'},
'negotiation_of_trunk': False,
'access_vlan': '99',
'native_vlan_tagging': True,
'private_vlan': {'native_vlan_tagging': True, 'encapsulation': 'dot1q'},
'trunk_vlans': 'all',
'pruning_vlans': '2-1001',
'capture_mode': False,
'capture_vlans': 'all',
'unknown_unicast_blocked': False,
'unknown_multicast_blocked': False}
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Switchport missing from the port...may be??? - Cisco Community
I suspect that there is a missing word switchport that should be in the configuration. I am referring to the word "switchport" by...
Read more >Missing VLANs - CCNA Academy
Use the showport switchport command to verify that the inactive VLAN is assigned to the port. The MAC addresses learned at the F0...
Read more >Troubleshoot VLANs and Trunks (3.2.4) - Cisco Press
Use the show vlan or show interfaces switchport command to verify ... until the missing VLAN is created using the vlan vlan_id command....
Read more >Port with VLAN not working on Cisco switch [closed]
this is weird, port 1 is configured as routed port but the vlan-settings are still there. my first try would be: (in the...
Read more >show vlans | Junos OS - Juniper Networks
Display information about VLANs configured on bridged Ethernet interfaces. For interfaces configured to support a VoIP VLAN and a data VLAN, the show...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Nice it works i Genie v19.8
Hi @urskog84
We’ve released Genie v19.8 with the fix. Could you please upgrade by below command and see if it works?
pip install genie --upgrade