cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
302
Views
0
Helpful
1
Replies

how to use snmp to get the vpn tunnel list

pamirian76
Level 1
Level 1

hi,

I'm trying to write a script in php.

things like what interfaces are up and arp table and such so far it works.

now I want to get the list of ACTIVE vpn tunnels to 3rd parties.

anyone knows of a way to get that? I can't find anything on google.

basically how would I get the list of active snmp tunnels.

thanks.                  

1 Reply 1

Hi,

Probably you can try using combination of snmp's ifindex and alias command in your script to grab Interface and their status. Further to that if it would have been *nix type shell script you could have used grep like command to just filter out tunnel interfaces; don't know what is replacement of grep in PHP.

HTH,

Smitesh


PS: Please rate helpful posts.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card