Training
Bootcamp
Courses
Tech Sessions
Resources
Blog
Tips
GitHub
YouTube
Newsletter
Playgrounds
Pricing
Sign In
Become Member
TextFSM Parser
Validate and test the parsing of your TextFSM templates
Tools
J2 Renderer
TTP Parser
TextFSM Parser
XPath Tester
Members Only
JMESPath Validator
JSON Schema Validator
Data Format Converter
TextFSM Template
Value APName (\S+) Value APREP (\S+) Value IPAddress (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) Value APGroupName (\S+) Value STATUS (\S+) Value PrimarySwitchName (\S+) Value PrimarySwitchIPAddress (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) Value SecondarySwitchName (\S+) Value SecondarySwitchIPAddress (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) Value LoggingTrapSeverity (\S+) Value sysloghost (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) Value serialnum (\S+) Value MAC (\S+) Value SSH (\S+) Value MODEL (\S+) Start ^Cisco AP Name\.*\s+${APName} ^AP Regulatory Domain\.*\s+${APREP} ^IP Address\.*\s+${IPAddress} ^Ssh State\.*\s+${SSH} ^MAC Address\.*\s+${MAC} ^Cisco AP Group Name\.*\s+${APGroupName} ^AP Model\.*\s+${MODEL} ^Administrative State \.*\s+${STATUS} ^Primary Cisco Switch Name\.*\s+${PrimarySwitchName} ^Primary Cisco Switch IP Address\.*\s+${PrimarySwitchIPAddress} ^Secondary Cisco Switch Name\.*\s+${SecondarySwitchName} ^Secondary Cisco Switch IP Address\.*${SecondarySwitchIPAddress} ^AP Serial Number\.*\s+${serialnum} ^Logging trap severity level \.*\s+${LoggingTrapSeverity} ^Cisco AP system logging host\.*\s+${sysloghost}
0
/ 20000
Raw Text
(eorcrp-dsc0-wc) >show ap config general eorwdw-nsa-monmaint-02-ap Cisco AP Identifier.............................. 4 Cisco AP Name.................................... eorwdw-nsa-monmaint-02-ap Country code..................................... Multiple Countries : CA,IN,MX,US Regulatory Domain allowed by Country............. 802.11bg:-A 802.11a:-ABDN AP Country code.................................. US - United States AP Regulatory Domain............................. 802.11bg:-A 802.11a:-A Switch Port Number .............................. 8 MAC Address...................................... 58:ac:78:ca:2f:88 IP Address Configuration......................... DHCP IP Address....................................... 10.95.31.59 IP NetMask....................................... 255.255.255.128 Gateway IP Addr.................................. 10.95.31.126 NAT External IP Address.......................... None CAPWAP Path MTU.................................. 1485 DHCP Release Override............................ Disabled Telnet State..................................... Globally Disabled Ssh State........................................ Specifically Enabled Cisco AP Location................................ NSA Monorail Bldg 2nd floor Cisco AP Floor Label............................. 0 Cisco AP Group Name.............................. eorwdw-nsa-Other Primary Cisco Switch Name........................ eorcrp-dsc0-wc Primary Cisco Switch IP Address.................. 10.95.159.10 Secondary Cisco Switch Name...................... enycrp-77w-wc Secondary Cisco Switch IP Address................ 10.245.143.10 Tertiary Cisco Switch Name....................... Tertiary Cisco Switch IP Address................. Not Configured Administrative State ............................ ADMIN_ENABLED Operation State ................................. REGISTERED Mirroring Mode .................................. Disabled AP Mode ......................................... Local Public Safety ................................... Disabled AP SubMode ...................................... Not Configured Rogue Detection ................................. Enabled Remote AP Debug ................................. Disabled Logging trap severity level ..................... notifications KPI not configured .............................. Logging syslog facility ......................... kern S/W Version .................................... 8.5.182.104 Boot Version ................................... 15.2.4.0 Mini IOS Version ................................ 8.0.115.0 Stats Reporting Period .......................... 180 Stats Collection Mode ........................... normal Radio Core Mode ................................. Disabled LED State........................................ Enabled PoE Pre-Standard Switch.......................... Disabled PoE Power Injector MAC Addr...................... Disabled Power Type/Mode.................................. PoE/Full Power Number Of Slots.................................. 2 AP Model......................................... AIR-CAP3702E-A-K9 AP Image......................................... C3700-K9W8-M IOS Version...................................... 15.3(20210906:113509)$ Reset Button..................................... Enabled AP Serial Number................................. FJC1949F0U3 AP Certificate Type.............................. Manufacture Installed AP LAG Configuration Status ..................... Disabled LAG Support for AP .............................. No AP multicast mode :.............................. Disabled AP User Mode................................... AUTOMATIC AP User Name..................................... admin AP Dot1x User Mode............................... Not Configured AP Dot1x User Name............................... Not Configured Cisco AP system logging host..................... 192.168.20.18 AP Up Time....................................... 165 days, 03 h 51 m 24 s AP LWAPP Up Time................................. 147 days, 20 h 58 m 09 s Join Date and Time............................... Thu Jan 9 18:13:04 2025 Join Taken Time.................................. 0 days, 00 h 00 m 11 s Unencrypted Data Keep Alive ..................... Enable AP broken antenna detection - Status ............ Disabled (Global) Memory Type...................................... DDR3 Memory Size...................................... 11839 KBytes CPU Type......................................... PowerPC CPU at 800Mhz, revision number 0x2151 Flash Type....................................... Onboard Flash Flash Size....................................... 1564 KBytes GPS Present...................................... NO Ethernet Vlan Tag................................ Disabled Ethernet Port Duplex............................. Auto Ethernet Port Speed.............................. Auto Fabric support................................... Yes AP Link Latency.................................. Disabled Rogue Detection.................................. Enabled AP TCP MSS Adjust................................ Enabled AP TCP MSS Size.................................. 1250 AP CAPWAP Control Port........................... 58105 AP CAPWAP Data Port.............................. 58105 Hotspot Venue Group.............................. Unspecified Hotspot Venue Type............................... Unspecified DNS server IP ............................. Not Available Cisco TrustSec Config...: CTS Global Override State....................... Disabled Inline-Tagging.................................. Disabled SGACL-Enforcement............................... Disabled Time Zone Config : Time Zone State................................. Disabled Time Zone Offset Hour........................... 00 Time Zone Offset Minute......................... 00 ApVapId to Profile Name Mappings: APVAPID WLANID PROFILE NAME SLOT-A/B ------- ------ ------------------------------ -------- 1 52 WLAN-TWDC-WPA2-11R 1/1 3 33 LON-Internet-TWDC 1/1 (eorcrp-dsc0-wc) > (eorcrp-dsc0-wc) >show ap config general eordcl-8633trans-11-ap Cisco AP Identifier.............................. 5 Cisco AP Name.................................... eordcl-8633trans-11-ap Country code..................................... Multiple Countries : CA,IN,MX,US Regulatory Domain allowed by Country............. 802.11bg:-A 802.11a:-ABDN AP Country code.................................. US - United States AP Regulatory Domain............................. 802.11bg:-A 802.11a:-A Switch Port Number .............................. 8 MAC Address...................................... 3c:08:f6:20:cb:c0 IP Address Configuration......................... DHCP IP Address....................................... 10.95.32.11 IP NetMask....................................... 255.255.255.192 Gateway IP Addr.................................. 10.95.32.62 NAT External IP Address.......................... None CAPWAP Path MTU.................................. 1485 DHCP Release Override............................ Disabled Telnet State..................................... Globally Disabled Ssh State........................................ Globally Enabled Cisco AP Location................................ DCL warehouse 8633 Transport Drive Cisco AP Floor Label............................. 0 Cisco AP Group Name.............................. eordcl-8633trans Primary Cisco Switch Name........................ eorcrp-dsc0-wc Primary Cisco Switch IP Address.................. 10.95.159.10 Secondary Cisco Switch Name...................... enycrp-77w-wc Secondary Cisco Switch IP Address................ 10.245.143.10 Tertiary Cisco Switch Name....................... Tertiary Cisco Switch IP Address................. Not Configured Administrative State ............................ ADMIN_ENABLED Operation State ................................. REGISTERED Mirroring Mode .................................. Disabled AP Mode ......................................... Local Public Safety ................................... Disabled AP SubMode ...................................... Not Configured Rogue Detection ................................. Enabled Remote AP Debug ................................. Disabled Logging trap severity level ..................... notifications KPI not configured .............................. Logging syslog facility ......................... kern S/W Version .................................... 8.5.182.104 Boot Version ................................... 12.4.23.0 Mini IOS Version ................................ 7.6.100.0 Stats Reporting Period .......................... 180 Stats Collection Mode ........................... normal Radio Core Mode ................................. Disabled LED State........................................ Enabled PoE Pre-Standard Switch.......................... Disabled PoE Power Injector MAC Addr...................... Disabled Power Type/Mode.................................. DC / Full Power Number Of Slots.................................. 2 AP Model......................................... AIR-CAP3602E-A-K9 AP Image......................................... C3600-K9W8-M IOS Version...................................... 15.3(20210906:102058)$ Reset Button..................................... Enabled AP Serial Number................................. FTX1814R0BZ AP Certificate Type.............................. Manufacture Installed AP LAG Configuration Status ..................... Disabled LAG Support for AP .............................. No AP multicast mode :.............................. Disabled AP User Mode................................... AUTOMATIC AP User Name..................................... admin AP Dot1x User Mode............................... Not Configured AP Dot1x User Name............................... Not Configured Cisco AP system logging host..................... 192.168.20.18 AP Up Time....................................... 238 days, 04 h 33 m 12 s AP LWAPP Up Time................................. 147 days, 20 h 58 m 08 s Join Date and Time............................... Thu Jan 9 18:13:05 2025 Join Taken Time.................................. 0 days, 00 h 00 m 11 s Unencrypted Data Keep Alive ..................... Enable AP broken antenna detection - Status ............ Disabled (Global) Memory Type...................................... DDR3 Memory Size...................................... 11807 KBytes CPU Type......................................... PowerPC CPU at 800Mhz, revision number 0x2151 Flash Type....................................... Onboard Flash Flash Size....................................... 5177 KBytes GPS Present...................................... NO Ethernet Vlan Tag................................ Disabled Ethernet Port Duplex............................. Auto Ethernet Port Speed.............................. Auto Fabric support................................... No AP Link Latency.................................. Disabled Rogue Detection.................................. Enabled AP TCP MSS Adjust................................ Enabled AP TCP MSS Size.................................. 1250 AP CAPWAP Control Port........................... 52412 AP CAPWAP Data Port.............................. 52412 Hotspot Venue Group.............................. Unspecified Hotspot Venue Type............................... Unspecified DNS server IP ............................. Not Available Time Zone Config : Time Zone State................................. Disabled Time Zone Offset Hour........................... 00 Time Zone Offset Minute......................... 00 ApVapId to Profile Name Mappings: APVAPID WLANID PROFILE NAME SLOT-A/B ------- ------ ------------------------------ -------- 1 52 WLAN-TWDC-WPA2-11R 1/1 2 33 LON-Internet-TWDC 1/1
0
/ 20000
Result
[ { "APName": "eordcl-8633trans-11-ap", "APREP": "802.11bg:-A", "IPAddress": "10.95.32.11", "APGroupName": "eordcl-8633trans", "STATUS": "ADMIN_ENABLED", "PrimarySwitchName": "eorcrp-dsc0-wc", "PrimarySwitchIPAddress": "10.95.159.10", "SecondarySwitchName": "enycrp-77w-wc", "SecondarySwitchIPAddress": "", "LoggingTrapSeverity": "notifications", "sysloghost": "192.168.20.18", "serialnum": "FTX1814R0BZ", "MAC": "3c:08:f6:20:cb:c0", "SSH": "Globally", "MODEL": "AIR-CAP3602E-A-K9" } ]
Parse
Share
Auto-Sync