In order for the provider equipment to be able to exchange routing information within the network, it is necessary to configure either static routes or a dynamic routing protocol. This section describes the commands used to enable an interior routing protocol in support of the VPN configuration. Note The coverage mentioned here is only enough to support the VPN configuration. More detailed explanations can be found in Chapter 8. 13.12.1 IS-IS[edit protocols isis] lab@Chicago# set interface interface name [edit interfaces] lab@Chicago# set interface name unit interface unit number family iso address address Note A common mistake made when configuring IS-IS is forgetting to configure an ISO address on the loopback0 interface. When configuring IS-IS each interface that will run IS-IS must be assigned to the ISO family. The show route table inet.0 command displays the router's routing table. Note that routes are being learned from other IS-IS speaking routers. Use the following commands to verify the IS-IS configuration: lab@Chicago# run show route table inet.0 inet.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 10.0.0.0/24 *[Direct/0] 00:49:28 > via at-1/2/1.100 10.0.0.2/32 *[Local/0] 00:49:33 Local 10.0.1.0/24 *[IS-IS/18] 00:13:25, metric 20, tag 2 > to 10.0.0.1 via at-1/2/1.100 10.0.2.0/24 *[IS-IS/18] 00:13:25, metric 30, tag 2 > to 10.0.0.1 via at-1/2/1.100 192.168.0.1/32 *[IS-IS/18] 00:48:45, metric 10, tag 2 > to 10.0.0.1 via at-1/2/1.100 192.168.2.1/32 *[IS-IS/18] 00:13:25, metric 20, tag 2 > to 10.0.0.1 via at-1/2/1.100 192.168.5.1/32 *[Direct/0] 00:50:29 > via lo0.0 192.168.161.0/24 *[Direct/0] 00:50:29 > via fxp0.0 192.168.161.20/32 *[Local/0] 00:50:29 Local 13.12.2 OSPF [edit protocols ospf area 0.0.0.0] set interface interface name The previous configuration example shows how to enable OSPF on an interface. Note The keyword all is available when selecting the interfaces. However, it is good practice to specify the interfaces individually. This will help to ensure that the protocol is not enabled on an interface where it is not needed. 13.12.3 Static RoutesThe following example lists the configuration statements for static routes: [edit routing-options] set static route destination next-hop value Note The value field should be the next-hop IP address. |