show interface ipv6

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
apemon
Posts: 2
Joined: Mon Apr 05, 2010 10:47 am

show interface ipv6

Post by apemon »

Hello
I want to make data query show interface ipv6
and I add this tag in my interface.xml

<ifIPV6>
<name>IP Address V6</name>
<method>walk</method>
<source>OID/REGEXP:.[0-9a-f]$</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.4.34.1.3.2</oid>
</ifIPV6>

The problem is it not show ip correctly, it show

Found item [ifIPV6='.1.3.6.1.2.1.4.34.1.3.2.16.32.1.3.200.18.1.0.0.0.0.0.0.0.0.0.1\1'] index: 40 [from regexp oid parse]

how can I make it show ipv6 correctly.

Thank in advance.
apemon
Posts: 2
Joined: Mon Apr 05, 2010 10:47 am

Post by apemon »

I edit my interface.xml to

<ifIPV6>
<name>IP Address V6</name>
<method>walk</method>
<source>OID/REGEXP:^.{27}(.*)</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.4.34.1.3.2</oid>
</ifIPV6>

and it can get the ipv6, but how can I make it show ip in
hexstring instead of decimal number

example : 20:01:03:xx:xx
it show 32.1.3.x.x.x

Thank in advance
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests