Skip to content

Commit

Permalink
Update Ubiquiti Edgerouter show dhcp leases template (networktocode#1209
Browse files Browse the repository at this point in the history
)
  • Loading branch information
k-ribot authored Oct 26, 2022
1 parent 6fc37e6 commit d63f5d8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ Value HOST (\S+)

Start
^IP\saddress\s+Hardware\sAddress\s+Lease\sexpiration\s+Pool\s+Client\sName\s*$$
^-+\s+-+\s+-+\s+-+\s+-+\s*$$
^-+\s+-+\s+-+\s+-+\s+-+\s*$$ -> Entries

Entries
^${IP}\s+${MAC}\s+${EXPIRATION}\s+${POOL}\s+${HOST}\s*$$ -> Record
^\s*$$
^. -> Error
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Warning: leased IP address [2886804269] not in any of the pools
Warning: leased IP address [2886804283] not in any of the pools
Warning: leased IP address [2886804287] not in any of the pools
Warning: leased IP address [2886804295] not in any of the pools
Warning: leased IP address [2886804284] not in any of the pools
Warning: leased IP address [2886804252] not in any of the pools
Warning: leased IP address [2886804248] not in any of the pools
Warning: leased IP address [2886804305] not in any of the pools
IP address Hardware Address Lease expiration Pool Client Name
---------- ---------------- ---------------- ---- -----------
125.125.15.12 00:0a:95:9d:68:16 Sep 18, 2021 5 HOSTNAME

0 comments on commit d63f5d8

Please sign in to comment.