Sindbad~EG File Manager

Current Path : /opt/imh-python/lib/python3.9/site-packages/ntc_templates/templates/
Upload File :
Current File : //opt/imh-python/lib/python3.9/site-packages/ntc_templates/templates/yamaha_show_ip_route.textfsm

# You need to set "console character ascci".
Value NETWORK (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|default)
Value PREFIX_LENGTH (\d{1,2})
Value NEXTHOP_IP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|-)
Value NEXTHOP_IF (\S+)
Value PROTOCOL (\S+)
Value ADDITIONAL_INFO (\S*)

Start
  ^Destination\s+Gateway\s+Interface\s+Kind\s+Additional\s+Info -> Routes

Routes
  ^${NETWORK}(/${PREFIX_LENGTH})?\s+${NEXTHOP_IP}\s+${NEXTHOP_IF}\s+${PROTOCOL}\s+${ADDITIONAL_INFO} -> Record
  ^\s*$$
  ^. -> Error

EOF

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists