Skip to content

Commit

Permalink
New Template: IOS show access-session
Browse files Browse the repository at this point in the history
  • Loading branch information
realvitya authored Nov 12, 2020
1 parent 70065b9 commit 3b9438b
Show file tree
Hide file tree
Showing 11 changed files with 1,087 additions and 2 deletions.
17 changes: 17 additions & 0 deletions templates/cisco_ios_show_access-session.textfsm
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Value INTERFACE (.+?)
Value MAC (.+?)
Value METHOD (.+?)
Value DOMAIN (.+?)
Value STATUS (.+?)
Value SESSION (\w+?)

Start
^Interface\s+MAC Address\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

Catch
^-+$$
^${INTERFACE}\s+${MAC}\s+${METHOD}\s+${DOMAIN}\s+${STATUS}\s+${SESSION}$$ -> Record
^.* -> Start
2 changes: 1 addition & 1 deletion templates/cisco_ios_show_lldp_neighbors.textfsm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Value Required NEIGHBOR (\S{0,20})
Value Required NEIGHBOR (.{0,20}(?<! ))
Value Required LOCAL_INTERFACE (\S+)
Value CAPABILITIES (\S*)
Value Required NEIGHBOR_INTERFACE (\S+)
Expand Down
1 change: 1 addition & 0 deletions templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ cisco_ios_show_ip_route_summary.textfsm, .*, cisco_ios, sh[[ow]] ip ro[[ute]] su
cisco_ios_show_ip_access-lists.textfsm, .*, cisco_ios, sh[[ow]] ip acce[[ss-lists]]
cisco_ios_show_mpls_interfaces.textfsm, .*, cisco_ios, sh[[ow]] mpls interfa[[ces]]
cisco_ios_show_power_available.textfsm, .*, cisco_ios, sh[[ow]] pow[[er]] a[[vailable]]
cisco_ios_show_access-session.textfsm, .*, cisco_ios, show access-s[[ession]]
cisco_ios_show_ip_bgp_summary.textfsm, .*, cisco_ios, sh[[ow]] ip bgp (?:all\s+)?sum[[mary]]
cisco_ios_show_ip_prefix-list.textfsm, .*, cisco_ios, sh[[ow]] ip pre[[fix-list]]
cisco_ios_show_ipv6_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ipv[[6]] ne[[ighbors]]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@

Interface MAC Address Method Domain Status Session ID
Fa3/0/40 (unknown) mab UNKNOWN Running 0A5C58FE00000018000101FF
Fa2/0/33 (unknown) mab UNKNOWN Running 0A0A7F9B000001E8010101FF
Fa3/0/13 002a.12cd.3d08 mab DATA Authz Success 0A0A7F9B0000A92A2C0101FF
Fa3/0/1 347a.12cd.3fe8 mab VOICE Authz Success 0A0A7F9B00000055000101FF
Fa3/0/38 848a.12cd.339a mab VOICE Authz Success 0A5C58FE00000025000101FF
Fa3/0/28 848a.12cd.3399 mab VOICE Authz Success 0A5C58FE0000001E000101FF
Fa2/0/27 8c8a.12cd.3d3d dot1x DATA Authz Success 0A5C58FE0000000D000101FF
Fa2/0/23 347a.12cd.3ffb mab VOICE Authz Success 0A0A7F9B00000035000101FF
Fa2/0/29 3cba.12cd.3d05 mab VOICE Authz Success 0A0A7F9B0000C6BCA20101FF
Fa2/0/32 347a.12cd.3ff2 mab VOICE Authz Success 0A0A7F9B00000030000101FF
Fa3/0/21 848a.12cd.33b2 mab VOICE Authz Success 0A0A7F9B00000059000101FF
Fa2/0/26 848a.12cd.33b1 mab VOICE Authz Success 0A5C58FE00000007000101FF
Fa2/0/6 848a.12cd.33b0 mab VOICE Authz Success 0A0A7F9B0000002D000101FF
Fa2/0/31 848a.12cd.33bf mab VOICE Authz Success 0A0A7F9B00000031000101FF
Fa2/0/37 8c8a.12cd.3c4f dot1x DATA Authz Success 0A5C58FE00000010000101FF
Fa2/0/14 002a.12cd.312a mab DATA Authz Success 0A0A7F9B0000840CAB0101FF
Fa3/0/21 54ea.12cd.3236 dot1x DATA Authz Success 0A0A7F9B00000504090101FF
Fa3/0/15 001a.12cd.3b13 mab DATA Authz Success 0A0A7F9B0000003D000101FF
Fa3/0/11 848a.12cd.33d8 mab VOICE Authz Success 0A0A7F9B0000974FF40101FF
Fa3/0/32 848a.12cd.32dc mab VOICE Authz Success 0A0A7F9B00000052000101FF
Fa2/0/27 848a.12cd.32c1 mab VOICE Authz Success 0A0A7F9B00000038000101FF
Fa2/0/20 347a.12cd.3fbb mab VOICE Authz Success 0A5C58FE00000008000101FF
Fa3/0/12 c89a.12cd.396e dot1x DATA Authz Success 0A5C58FE00000028000101FF
Fa3/0/10 000a.12cd.3ea4 dot1x DATA Authz Success 0A0A7F9B0000AD443C0101FF
Fa3/0/19 001a.12cd.3f70 mab DATA Authz Success 0A0A7F9B00004E45D40101FF
Fa3/0/37 347a.12cd.30af mab VOICE Authz Success 0A0A7F9B00004E73D40101FF
Fa3/0/11 c89a.12cd.3e91 dot1x DATA Authz Success 0A0A7F9B0000AD4A3C0101FF
Fa2/0/23 54ea.12cd.3313 dot1x DATA Authz Success 0A0A7F9B0000A9582C0101FF
Fa3/0/10 347a.12cd.3e8e mab VOICE Authz Success 0A0A7F9B0000AD453C0101FF
Fa2/0/29 008a.12cd.365c mab DATA Authz Success 0A0A7F9B0000C6BAA20101FF
Fa2/0/2 68ba.12cd.3af5 mab DATA Authz Success 0A0A7F9B0000B9EB6E0101FF
Fa2/0/44 8c8a.12cd.3341 dot1x DATA Authz Success 0A0A7F9B0000AAAD310101FF
Fa2/0/37 347a.12cd.3084 mab VOICE Authz Success 0A0A7F9B0000002F000101FF
Fa2/0/16 848a.12cd.32ea mab VOICE Authz Success 0A5C58FE00000005000101FF
Fa3/0/32 54ea.12cd.3408 dot1x DATA Authz Success 0A0A7F9B00000500090101FF
Fa2/0/31 8c8a.12cd.3a75 dot1x DATA Authz Success 0A5C58FE0000000B000101FF
Fa3/0/44 848a.12cd.3216 mab VOICE Authz Success 0A0A7F9B00007B3F880101FF
Fa2/0/36 004a.12cd.3245 mab DATA Authz Success 0A5C58FE0000000F000101FF
Fa2/0/32 8c8a.12cd.3fd4 dot1x DATA Authz Success 0A5C58FE0000000C000101FF
Fa2/0/15 24da.12cd.32fd mab VOICE Authz Success 0A5C58FE00000004000101FF
Fa3/0/15 347a.12cd.306e mab VOICE Authz Success 0A5C58FE0000001C000101FF
Fa2/0/15 8c8a.12cd.3d53 dot1x DATA Authz Success 0A0A7F9B0000050D090101FF
Fa3/0/39 008a.12cd.3c8e mab DATA Authz Success 0A0A7F9B000080149C0101FF
Fa2/0/6 8c8a.12cd.3aa9 dot1x DATA Authz Success 0A0A497E00000001000101FF
Fa3/0/35 8c8a.12cd.32aa dot1x DATA Authz Success 0A5C58FE00000029000101FF
Fa2/0/36 848a.12cd.333b mab VOICE Authz Success 0A0A7F9B00000037000101FF
Fa3/0/9 8c8a.12cd.3c67 dot1x DATA Authz Success 0A0A7F9B00000511090101FF
Fa3/0/37 8c8a.12cd.32ad dot1x DATA Authz Success 0A0A7F9B00004E72D40101FF
Fa3/0/2 848a.12cd.3223 mab VOICE Authz Success 0A5C58FE00000026000101FF
Fa3/0/44 8c8a.12cd.32b3 dot1x DATA Authz Success 0A0A7F9B00007B3E880101FF
Fa2/0/38 347a.12cd.3042 mab VOICE Authz Success 0A0A7F9B00005C190B0101FF
Fa2/0/38 8c8a.12cd.3c72 dot1x DATA Authz Success 0A0A7F9B00005C180B0101FF
Fa2/0/35 848a.12cd.335a mab VOICE Authz Success 0A0A7F9B0000002E000101FF
Fa3/0/35 848a.12cd.37aa mab VOICE Authz Success 0A0A7F9B0000003C000101FF
Fa3/0/9 848a.12cd.335d mab VOICE Authz Success 0A5C58FE0000001B000101FF
Fa2/0/30 008a.12cd.36e1 mab DATA Authz Success 0A0A7F9B0000C6BBA20101FF
Fa2/0/44 848a.12cd.334d mab VOICE Authz Success 0A0A7F9B0000AAAE310101FF
Fa3/0/12 848a.12cd.3371 mab VOICE Authz Success 0A0A7F9B00000033000101FF
Fa2/0/46 848a.12cd.3376 mab VOICE Authz Success 0A5C58FE00000013000101FF
Fa2/0/8 001a.12cd.3caa mab DATA Authz Success 0A0A7F9B0000B1544C0101FF
Fa2/0/30 347a.12cd.3e00 mab VOICE Authz Success 0A0A7F9B0000C6BDA20101FF
Fa3/0/39 848a.12cd.3365 mab VOICE Authz Success 0A0A7F9B000080199C0101FF
Fa2/0/35 8c8a.12cd.31f9 dot1x DATA Authz Success 0A5C58FE0000000E000101FF


Loading

0 comments on commit 3b9438b

Please sign in to comment.