Here's what I do: do an ovtopodump -rl > /tmp/topo.file
Then,
cat tmp/topo.file | \
awk '/^HOSTNAME:/ {hostname=$2}
/^FLAGS.*GATEWAY/ {print hostname}' > /tmp/rtr.list
This will give you a list of things that have more than one interface, anyway.
Sort it. and
you will see what needs work in the name resolution department. It is also
handy for
working up a seedfile.
Cordially,
Leslie Clark
IBM Global Services - Network & Systems Management - Detroit
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Hello.
I'm trying to find a way to sort out the routers that has no DNS name
set for selection name but only an ip address.
Is it possible from the command line to print the contents in a
collection ?
Is there a simple way to list all routers to a file ?
NV4AIX is 4.1
// Mikael
|