Debian Codegraph @

ntc_templates/templates/cisco_ios_show_ip_nat_translations.textfsm

raw
1 Value PROTOCOL (tcp|udp|icmp|---)
2 Value INSIDE_GLOBAL_IP (\d+\.\d+\.\d+\.\d+|---)
3 Value INSIDE_GLOBAL_PORT (\S+)
4 Value INSIDE_LOCAL_IP (\d+\.\d+\.\d+\.\d+|---)
5 Value INSIDE_LOCAL_PORT (\S+)
6 Value OUTSIDE_LOCAL_IP (\d+\.\d+\.\d+\.\d+|---)
7 Value OUTSIDE_LOCAL_PORT (\S+)
8 Value OUTSIDE_GLOBAL_IP (\d+\.\d+\.\d+\.\d+|---)
9 Value OUTSIDE_GLOBAL_PORT (\S+)
10
11 Start
12 ^Pro\s+Inside\sglobal\s+Inside\slocal\s+Outside\slocal\s+Outside\sglobal
13 ^${PROTOCOL}\s+${INSIDE_GLOBAL_IP}(:${INSIDE_GLOBAL_PORT})?\s+${INSIDE_LOCAL_IP}(:${INSIDE_LOCAL_PORT})?\s+${OUTSIDE_LOCAL_IP}(:${OUTSIDE_GLOBAL_PORT})?\s+${OUTSIDE_GLOBAL_IP}(:${OUTSIDE_LOCAL_PORT})? -> Record