ntc_templates/templates/alcatel_sros_show_router_pim_interface.textfsm
raw| 1 | Value INTERFACE (\S+) |
| 2 | Value ADM (Up|Down) |
| 3 | Value OPR (Up|Down) |
| 4 | Value DR ((\d+\.\d+\.\d+\.\d+|[0-9a-f:]*)|N/A) |
| 5 | Value DR_PRTY (\d+|N/A) |
| 6 | Value HELLO_INTVL (\d+) |
| 7 | Value MCAST_SEND (\S+) |
| 8 | |
| 9 | Start |
| 10 | ^----------- -> Interface |
| 11 | |
| 12 | Interface |
| 13 | ^${INTERFACE}\s+${ADM}\s+${OPR}\s+${DR_PRTY}\s+${HELLO_INTVL}\s+${MCAST_SEND}(\s|$$) -> Dr |
| 14 | |
| 15 | Dr |
| 16 | ^\s+${DR}(\s|$$) -> Record Interface |
| 17 | ^No.\s+of\s+Interfaces |
| 18 | ^----------- |
| 19 | ^\s*$$ |
| 20 | ^. -> Error |