|
|
The getsub(1Msnmp) command is similar to the getroute command except that it could be used to limit the routing information to a subset of selected IP networks and subnetworks. Its syntax is getsub node community.
The following shows sample output from two getsub invocations:
getsub example
# getsub paris public 132.147.118 Route to: 132.147.118 via: 1 132.147.246 on if: 1 metric: 2 type: 4 proto: 8# getsub paris public 132.147 Route to: 132.147.118 via: 1 132.147.246 on if: 1 metric: 2 type: 4 proto: 8 Route to: 132.147.246 via: 1 132.147.246 on if: 1 metric: 0 type: 3 proto: 2