Export data from CLI

IT_Field_Support
Posts: 97
Ally Member




Hi,
I would like to process data from many routers.
The goal is to export only the name/status/gatewayIP of all the ikev2 policy (Phase 1 of IPsec VPN) on routers.
I wanted to do that with snmp but I cannot find these informations with snmp.
The command which can give me thses information in ssh is : show ikev2 policy and then I need to process the text.
But, I don't know how to get this data from and ssh commandline from a linux.
What do you think ? do you have a script or some tools that match my needs ?
Thanks a lot,
Davy
0
All Replies
-
You can use private mib "ZYXEL-ZW-COMMON.MIB" to get the name and status of ikev2 policy.
Click this link to start: https://bit.ly/3R2Wx52
Emily0 -
Hi Emily,Thanks a lot for the answer. With that I can get some information, but I don't get the IP of the VPN Gateway. I'm sur I can retrieve this with snmp.0
-
The current private mib file with the latest firmware doesn't support the information of IP address of the VPN Gateway.
We will add the request to ideas section to enhance the feature in the future release.
Click this link to start: https://bit.ly/3R2Wx52
Emily1
Categories
- All Categories
- 186 Beta Program
- 1.7K Nebula
- 90 Nebula Ideas
- 63 Nebula Status and Incidents
- 4.7K Security
- 236 Security Ideas
- 1.1K Switch
- 51 Switch Ideas
- 917 WirelessLAN
- 27 WLAN Ideas
- 5.4K Consumer Product
- 174 Service & License
- 296 News and Release
- 65 Security Advisories
- 14 Education Center
- 994 FAQ
- 434 Nebula FAQ
- 256 Security FAQ
- 100 Switch FAQ
- 115 WirelessLAN FAQ
- 22 Consumer Product FAQ
- 67 Service & License FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 68 About Community
- 52 Security Highlight