Skip to content

Commit

Permalink
Merge branch 'mikrotik_routeros_ip_address_print' into 'master'
Browse files Browse the repository at this point in the history
Fix template for Mikrotik's command '/ip address print'

See merge request bsh-developers/ntc-templates!46
  • Loading branch information
Шпак Максим committed Dec 11, 2023
2 parents f6ed428 + 9e18352 commit 4360e1e
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Value NUM (\d+)
Value FLAGS (X|I|D)
Value FLAGS ((?:X|I|D)+)
Value COMMENT (.*)
Value IP (\S+)
Value SUBNET (\d+)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 10.156.1.229/30 10.156.1.228 ether4_CiscoPhone3
1 10.152.1.229/30 10.152.1.228 ether5_KFCcisco
2 10.160.1.229/30 10.160.1.228 ether2_BOX
3 XI 10.100.3.200/27 10.100.3.192 bridge70
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
parsed_sample:
- comment: ""
flags: ""
interface: "ether4_CiscoPhone3"
ip: "10.156.1.229"
network: "10.156.1.228"
num: "0"
subnet: "30"
- comment: ""
flags: ""
interface: "ether5_KFCcisco"
ip: "10.152.1.229"
network: "10.152.1.228"
num: "1"
subnet: "30"
- comment: ""
flags: ""
interface: "ether2_BOX"
ip: "10.160.1.229"
network: "10.160.1.228"
num: "2"
subnet: "30"
- comment: ""
flags: "XI"
interface: "bridge70"
ip: "10.100.3.200"
network: "10.100.3.192"
num: "3"
subnet: "27"

0 comments on commit 4360e1e

Please sign in to comment.