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

cisco_ios_show_access-session: Adding Identity to MAC column #990

Merged
merged 1 commit into from
Sep 15, 2021
Merged

cisco_ios_show_access-session: Adding Identity to MAC column #990

merged 1 commit into from
Sep 15, 2021

Conversation

ahlara-devcore
Copy link
Contributor

@ahlara-devcore ahlara-devcore commented Sep 15, 2021

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT

template: cisco_ios_show_access-session.textfsm
os: cisco ios
command: show access-session

SUMMARY

The change includes the word 'Identifier' in the second column regex. The template will match either Identifier or MAC Address.
Newer Cisco OS versions don't show MAC Address in the table header.

Example:
Device: WS-C3560CX-12PC-S version: 15.2(7)E2

Interface    Identifier     Method  Domain  Status Fg Session ID
Gi0/2        0050.f909.bb4d mab     DATA    Auth      AC1FF1D10000000C000119BC

Session count = 1

Key to Session Events Blocked Status Flags:

  A - Applying Policy (multi-line status for details)
  D - Awaiting Deletion
  F - Final Removal in progress
  I - Awaiting IIF ID allocation
  N - Waiting for AAA to come up
  P - Pushed Session
  R - Removing User Profile (multi-line status for details)
  U - Applying User Profile (multi-line status for details)
  X - Unknown Blocker

There are no changes in the output:

[{'interface': 'Gi0/2', 'mac': '0050.f909.bb4d', 'method': 'mab', 'domain': 'DATA', 'status': 'Auth', 'session': 'AC1FF1D10000000C000119BC'}]

@jvanderaa
Copy link
Contributor

Thank you @ahlara-devcore

@jvanderaa jvanderaa merged commit 128f5ab into networktocode:master Sep 15, 2021
@ahlara-devcore ahlara-devcore deleted the update_cisco_ios_show_access-session branch September 15, 2021 19:46
jvanderaa pushed a commit that referenced this pull request Nov 10, 2021
guillaume-mbali pushed a commit to unyc-io/ntc-templates that referenced this pull request Apr 12, 2023
cppmonkey pushed a commit to cppmonkey/ntc-templates that referenced this pull request Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants