Debian Codegraph @

ntc_templates/templates/cisco_ios_show_snmp_user.textfsm

raw
1 Value Required USER_NAME (\S+)
2 Value ENGINE_ID (\S+)
3 Value STORAGE_TYPE (\S+)
4 Value ACCESS_LIST (.*)
5 Value AUTHENTICATION_PROTOCOL (\S+)
6 Value PRIVACY_PROTOCOL (\S+)
7 Value GROUP_NAME (\S+)
8
9 Start
10 ^User\s+name:\s+${USER_NAME}$$
11 ^Engine\s+ID:\s+${ENGINE_ID}$$
12 ^storage-type:\s${STORAGE_TYPE}\s+active\s+access-list:\s+${ACCESS_LIST}$$
13 ^storage-type:\s${STORAGE_TYPE}\s+active$$
14 ^Authentication\s+Protocol:\s+${AUTHENTICATION_PROTOCOL}$$
15 ^Privacy\s+Protocol:\s+${PRIVACY_PROTOCOL}$$
16 ^Group-name:\s+${GROUP_NAME}$$ -> Record
17 # Capture time-stamp if vty line has command time-stamping turned on
18 ^Load\s+for\s+
19 ^Time\s+source\s+is
20 ^\s*$$
21 ^. -> Error