Export data from CLI
Options
![IT_Field_Support](https://us.v-cdn.net/6029482/uploads/defaultavatar/nN4PAQRO7TCNP.jpg)
IT_Field_Support
Posts: 97
Ally Member
![](https://www.zyxel.com/library/assets/zyxel-forum/ally_member.png)
![First Anniversary](https://us.v-cdn.net/6029482/uploads/badges/SJKCAIG91R5S.png)
![Friend Collector](https://us.v-cdn.net/6029482/uploads/badges/HNJASEUSC535.png)
![First Comment](https://us.v-cdn.net/6029482/uploads/badges/MBNFIRD87YVH.png)
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.
Want a FREE Access Point? Participate in our campaign and share your network setup for a chance to win!
0 -
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.
Want a FREE Access Point? Participate in our campaign and share your network setup for a chance to win!
1
Categories
- All Categories
- 413 Beta Program
- 2.3K Nebula
- 192 Nebula Ideas
- 87 Nebula Status and Incidents
- 5.3K Security
- 142 USG FLEX H Series
- 253 Security Ideas
- 1.3K Switch
- 75 Switch Ideas
- 993 Wireless
- 51 Wireless Ideas
- 6.1K Consumer Product
- 231 Service & License
- 362 News and Release
- 74 Security Advisories
- 23 Education Center
- 5 [Campaign] Zyxel Network Detective
- 2.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 101 About Community
- 67 Security Highlight