Skip to content

Commit

Permalink
Ios show auth with identifier (#1766)
Browse files Browse the repository at this point in the history
* Add Identifier as catch header

Some IOS switches use Identifier instead of Mac address as header. Added both headers.
show authen ses

Interface    Identifier     Method  Domain  Status Fg Session ID
Gi1/0/25     1234.5678.9101  mab     DATA    Auth      0AF3B0050000001E00023F09

* Add test case

---------

Co-authored-by: pierok13 <[email protected]>
  • Loading branch information
jmcgill298 and pierok13 authored Jul 25, 2024
1 parent 8025fdd commit 2dd2243
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Value STATUS (.+?)
Value SESSION (\w+?)

Start
^Interface\s+MAC Address\s+Method\s+Domain -> Catch
^Interface\s+(MAC Address|Identifier)\s+Method\s+Domain -> Catch
# Capture time-stamp if vty line has command time-stamping turned on
^Load\s+for\s+
^Time\s+source\s+is
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


Interface MAC Address Method Domain Status Fg Session ID
Interface Identifier Method Domain Status Fg Session ID
------------------------------------------------------------------------------
Gi1/0/10 c89a.12cd.3b74 dot1x DATA Auth 0A0A1DFE00000FB3000101FF
Gi1/0/5 848a.12cd.3636 mab VOICE Auth 0A0A1DFE00000FBD000101FF
Expand Down

0 comments on commit 2dd2243

Please sign in to comment.