How to split the result of ND neigbour result using perl?
I have an output like this:
IPv6 Address Age Link-layer Addr State
Circuit
2001::1 0 00:30:88:13:28:b9 intf
1/1 vlan-id 100
2001::2 62 00:00:00:00:00:00 incmp
1/1 vlan-id 100
2002::1 0 00:30:88:13:28:b9 intf
1/1 vlan-id 101
2002::2 63 00:00:00:00:00:00 incmp
1/1 vlan-id 101
fe80::201:4ff:fe00:0 14 00:00:00:00:00:00 incmp
1/1 vlan-id 100
fe80::230:88ff:fe13:28b9 0 00:30:88:13:28:b9 intf
1/1 vlan-id 100
fe80::201:5ff:fe01:0 60 00:00:00:00:00:00 incmp
1/1 vlan-id 101
fe80::230:88ff:fe13:28b9 0 00:30:88:13:28:b9 intf
1/1 vlan-id 101
from here i want the age column values alone to be stored. How to use
split or grep command here ?
No comments:
Post a Comment