December 2006
Intermediate to advanced
1188 pages
72h 8m
English
You want to manipulate the IPv6 routing tables distributed by OSPF.
OSPF Version 3 has many of the same features for route filtering and metric manipulation that we previously saw for OSPF Version 2 in Chapter 8. There are two commands for configuring link costs.
The first command changes the costs globally for all links according to their bandwidth values:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#ipv6 router ospfRouter1(config-rtr)#1auto-cost reference-bandwidth%OSPFv3: Reference bandwidth is change. Please ensure reference bandwidth is consistent across all routers. Router1(config-rtr)#1000exitRouter1(config)#endRouter1#
The second method changes the costs for individual links:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z Router1(config)#interfaceRouter1(config-if)#FastEthernet0/0ipv6 ospf costRouter1(config)#500endRouter1#
We can also filter routes in OSPFv3, but only according to the same rules that we previously saw for OSPFv2:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#ipv6 prefix-listBLOCK_99_Eseq5denyRouter1(config)#AAAA:99::E:0/112ipv6 prefix-listBLOCK_99_Eseq10permit::/0leRouter1(config)#128ipv6 router ospfRouter1(config-rtr)#1distribute-list prefix-listBLOCK_99_EinRouter1(config-rtr)#exitRouter1(config)#endRouter1# ...