0706
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
{{ pathprefix }}
|
||||
DIGITS="{{ dev2_lldp_digits }}";
|
||||
cat /var/run/lldp_server.json 2>/dev/null \
|
||||
| grep "${DIGITS}" -A 10 \
|
||||
| grep -Ei "ikeja${DIGITS}" -A 10 \
|
||||
| grep address \
|
||||
| grep -vE 'subtype|ipv6' \
|
||||
| awk -F'"' '{ print $4 }' \
|
||||
@@ -93,7 +93,7 @@
|
||||
{{ pathprefix }}
|
||||
DIGITS="{{ dev2_lldp_digits }}";
|
||||
cat /var/run/lldp_server.json 2>/dev/null \
|
||||
| grep "${DIGITS}" -A 15 \
|
||||
| grep -Ei "ikeja${DIGITS}" -A 15 \
|
||||
| grep 'address_ipv6' \
|
||||
| awk -F'"' '{ print $4 }' \
|
||||
| head -n1
|
||||
|
||||
Reference in New Issue
Block a user