⚡
FLASH SALE
— 30% OFF Yearly Network Automation Memberships! Use code
SALE30
at checkout. Offer ends August 20th.
➜ Sign up here
Training
Bootcamp
Courses
Tech Sessions
Resources
Blog
Tips
GitHub
YouTube
Newsletter
Playgrounds
Pricing
Sign In
Become Member
TTP Parser
Validate and test the parsing of your TTP templates
Tools
J2 Renderer
TTP Parser
TextFSM Parser
XPath Tester
Members Only
JMESPath Validator
JSON Schema Validator
Data Format Converter
TTP Template
## INPUT HOST-NAME1#show ip ssh SSH Enabled - version 2.0 Authentication methods:publickey,keyboard-interactive,password Authentication Publickey Algorithms:x509v3-ssh-rsa,ssh-rsa,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,x509v3-ecdsa-sha2-nistp256,x509v3-ecdsa-sha2-nistp384,x509v3-ecdsa-sha2-nistp521,rsa-sha2-256,rsa-sha2-512 Hostkey Algorithms:x509v3-ssh-rsa,rsa-sha2-512,rsa-sha2-256,ssh-rsa Encryption Algorithms:aes128-gcm,aes256-gcm,aes128-ctr,aes192-ctr,aes256-ctr MAC Algorithms:hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 KEX Algorithms:ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1 Authentication timeout: 60 secs; Authentication retries: 2 Minimum expected Diffie Hellman key size : 2048 bits IOS Keys in SECSH format(ssh-rsa, base64 encoded): TP-self-signed-3337204698 Modulus Size : 2048 bits ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCCdYPnlZOS5RefisUTSo7BsoKl2wljfiInnvmD/DTe jBw0Py6XTzM2OyQCou5QuIvgrbyYBdk+y+EM+gPKk5rAQHDsLbQfnJYkktjt4vQK4Kj0vnjHCOa1IRrY ORohzQUSobsVAu4I61uj7unwg2SXUkUX5xL+lDK5ipl9qxDACgQ5ZaLSK0wGsMt7W9htxULSo8IxeBRa Q/mWTQTUrzRwrFuIrXeAQDv5QlMdArvR6+4SWT7+KEwo+CYNnosOeus2rTiBfy0hvqMiqo/0PMH6JCS3 hjr9VAK9l08t4lzzOYja1MuZY/RQ8/bbtzQwuEe01k/TGWjaZeOR6JYJBbbB ## TEMPLATE <group name="ip_ssh_version"> SSH Enabled - version {{ output | ORPHRASE | default("")}} </group> ## OUTPUT <doc> This template will return the version of SSH configured if SSH is enabled if SSH is configured --> It will return a string with the version number if SSH is not configured --> It will return an "output" key containing an empty string Example Outputs: [ { "ip_ssh_version": { "output": "2.0" } } ] [ { "ip_ssh_version": { "output": "" } } ] </doc>
0
/ 20000
Raw Text
DML
0
/ 20000
Result
[ { "ip_ssh_version": { "output": "" } } ]
Parse
Share
Auto-Sync