Technical data

System Administration
303561-A Rev 00
8-89
Example (ip6 routes <address>/<prefix>)
Enter the following command to display the range of IPv6 addresses for the
address(prefix) 3FFE:1300:0100::0 with a prefix-length of 48 bits:
ip6 routes 3FFE:1300:0100::0/48
Next Hop
Prefix Protocol Intf. Weight
------------------------------------------- ---------- ------- ----------
3FFE:1300:0100:0001::0000/64 RIPv6 5 0x739c0002
3FFE:1300:0100:0002::0000/64 RIPv6 5 0x739c0002
3FFE:1300:0100:0003::0000/64 RIPv6 5 0x739c0002
3FFE:1300:0100:0004::0000/64 RIPv6 5 0x739c0002
3FFE:1300:0100:0005::0000/64 RIPv6 5 0x739c0002
3FFE:1300:0100:0006::0000/64 RIPv6 5 0x739c0002
3FFE:1300:0100:0007::0000/64 RIPv6 5 0x739c0003
3FFE:1300:0100:0008::0000/64 RIPv6 5 0x739c0003
3FFE:1300:0100:0009::0000/64 RIPv6 5 0x739c0003
3FFE:1300:0100:000A::0000/64 RIPv6 5 0x739c0002
3FFE:1300:0100:000B::0000/64 DIRECT 5 0x1
3FFE:1300:0100:000B::0000/128 INTERFACE 5 0x0
3FFE:1300:0100:000B:0000:5E10:AF4B:0101/128 INTERFACE 5 0x0
Total routes: 13
Example (ip6 routes -i<ifindex>)
Enter the following command to display data for all routes that use interface
number 2 as the next hop interface for the route:
ip6 routes -i2
Next Hop
Prefix Protocol Intf. Weight
------------------------------------------- ---------- ------- ----------
3FFE:1300:0002:0024::0000/64 DIRECT 2 0x1
3FFE:1300:0002:0024::0000/128 INTERFACE 2 0x0
3FFE:1300:0002:0024:0200:A2FF:FE02:9B25/128 INTERFACE 2 0x0
3FFE:1300:0002:0100::0000/64 RIPv6 2 0x739c0002
.
.
.
Example (ip6 routes -p<protocol>)
Enter the following command to display
data for all dynamically learned adjacent node
addresses
: