Enter ISIS configuration mode. The process-name is simply the name of the ISIS process - a router can run more than one ISIS process if required.
Advertise all networks to which we are connected, including those which are not being used to talk to other ISIS routers. The use of this command is not recommended within ISP backbones, but is included here for completeness.
("redistributed connected" by itself only distributes classful routes, i.e. whole class A/B/C networks, so it's important to add "subnets")
Advertise all static routes we have (except defaultroute). The use of this command isn't ordinarily required or recommended. However, there will be circumstances where redistribution of statics into ISIS are required. An example will be shown in the lab.
Advertise a default route into ISIS, optionally using route-map route-map. Typically this would go on your border router(s).
Set the the IS type to be in Level-2 only. ISP backbones only ever use level-2. Cisco IOS puts all interfaces in level 1 and 2 by default.
Set the metric style to be wide. Cisco IOS uses narrow metrics by default which only gives 6 bits available for setting the IGP metric - not suitable for today's backbones, and won't permit IPv6 support.
ip router isis process-name Initiate ISIS process process-name on interface isis circuit-type level-2-only Set IS type to level 2 isis metric n level-2 Set outbound interface cost to n isis authentication mode md5 level-2 Use MD5 authentication on all ISIS packets isis authentication key-chain chain-name level-2 Use chain-name as the key-chain for ISIS authentication
A loopback interface is a single (/32) IP address which belongs to a device, independent of its physical interface addresses. It's very convenient when managing routers, because you can use the loopback address as a fixed address to telnet to, or monitor using SNMP, which will continue to work even if one or more of the interfaces has failed.
router-a#conf t router-a(config)#no router isis si-afnog router-a(config-if)# [Hit ctrl-Z] router-a#write mem
router-a#show ip route The only routes you should see are (C)onnected routes for your own interfaces. If you have any (S)tatic routes, delete them like this: router-a#conf t router-a(config)#no ip route 196.200.220.32 255.255.255.240 196.200.220.30 router-a(config-if)# [Hit ctrl-Z] router-a#write mem
(Your PC won't be able to ping any other PCs though, because your router doesn't have the routes any more)
The example below is for the router belonging to Team A. They have decided to subdivide their address block 196.200.220.32/28 such that 196.200.220.47/32 is the address of the loopback interface of their router.
router-a#conf t router-a(config)#int loopback0 router-a(config-if)#ip address 196.200.220.47 255.255.255.255 router-a(config-if)# [Hit ctrl-Z]
router-a#write mem
The initial network topology is the same as for the static routing exercise
Create the NSAP address from your loopback interface address as described in the presentation
router-a#conf t router-a(config)#router isis si-afnog router-a(config-router)#net 49.0001.1962.0022.0001.00 router-a(config-router)#is-type level-2-only router-a(config-router)#metric-style wide router-a(config-router)#log-adjacency-changes router-a(config-router)# [Hit ctrl-Z]
router-a(config-router)#int faste0/0 (or int faste0/1) router-a(config-if)#ip router isis si-afnog router-a(config-if)#isis circuit-type level-2-only router-a(config-if)#isis metric 100 level-2 router-a(config-if)# [Hit ctrl-Z]
router-a(config)#router isis si-afnog router-a(config-router)#passive-interface Loopback 0
router-a(config)#router isis si-afnog router-a(config-router)#passive-interface faste0/1
router-a#show clns int router-a#show clns neighbor router-a#show clns protocol
router-a#show ip route
Routes learned through ISIS are tagged with I followed by an indication as to whether the prefix is L1 or L2. Check that the next hop IP address for each route is correct
Also, the far router should also have picked up your route. You can go over to the other desk and ask to see "show ip route"
$ ping 196.200.220.129 ...
Don't type this - it goes on the class border router si-border-1(config)#router isis si-afnog si-border-1(config-router)#default-information originate
This should be sufficient to establish connectivity to the outside Internet! Use ping, traceroute etc. to test this
router-a#write mem
/etc/resolv.conf
on
your PC domain ws.afnog.org nameserver 196.200.223.1
You should then be able to ssh/telnet to the outside world.
As discussed in the preceding TFTP exercise, save your configuration to your TFTP server
We are now going to take the above topology and enable IPv6 on it.
ip router isis si-afnog address-family ipv6
interface fastethernet 0/0 ipv6 address 2001:4348:220:10::1/64
Configure addresses on the active interfaces on the router. You will need one /64 for the link to your PC, one /128 for the loopback interface, and of course an address on the backbone network.
interface fastethernet 0/0 ipv6 router isis si-afnog
So this example says that we are going to run ISIS for IPv6 on FastEthernet 0/0. It also says that the IPv6 address/subnet configured on FastEthernet 0/0 will be automatically inserted into the ISIS IPv6 routing table.
interface fastethernet 0/0 isis ipv6 metric 100 level-2
Don't type this - it goes on the class border router si-border-1(config)#router isis si-afnog si-border-1(config-router)#address-family ipv6 si-border-1(config-router-af)#default-information originate
Check that you can see the new router as a neighbor, and that you have picked up a default route (::/0)
This should be sufficient to establish IPv6 connectivity to the outside Internet! Use ping, traceroute etc. to test this
router-a#write mem
Above you showed how ISIS can learn routes from the rest of your network, without having to manually insert static routes. Now you can show how ISIS can adapt to topology changes and choose better (lower cost) routes when they are available
router-a#conf t router-a(config)#int s0/0 (or int s0/1) router-a(config-if)#description Serial link to desk B router-a(config-if)#ip address 196.200.220.37 255.255.255.252 router-a(config-if)#no shutdown
And now configure the link with its IPv6 addresses:
router-a#conf t router-a(config)#int s0/0 (or int s0/1) router-a(config-if)#ipv6 address 2001:4348:220:11::1/64
router-a#conf t router-a(config)#int s0/0 router-a(config-if)#encap ppp
Once this is done on both routers, "show int s0/0" should show that the Interface is up (layer 1), but Line protocol is down (layer 2).
router-a(config-if)#clock rate 64000
This is only because this is a back-to-back cable; normally you would use synchronous modems which generate clock
router-a#ping 196.200.220.34
Try this with IPv6 as well:
router-a#ping 2001:4348:220:11::2
router-a#conf t router-a(config-router)#int s0/0 (or s0/1) router-a(config-if)#ip router isis si-afnog router-a(config-if)#isis metric 500 level-2 router-a(config-if)# [Hit ctrl-Z]
router-a#show ip route
Look carefully at the route to your neighbor's desk network, and your neighbor's router loopback interface, and make a note of it.
Does the desk which had its ethernet unplugged still have connectivity to the Internet? When you traceroute, what route do the packets take?
Look at the routes again. What has happened to the route to your neighbor's desk network, and to their loopback interface?
Check the forwarding table ("show ip route"). Now what do you notice about the route to your neighboring desk's network?
router-a#conf t router-a(config-if)#int s0/0 (or s0/1) router-a(config-if)#ipv6 router isis si-afnog router-a(config-if)#isis ipv6 metric 500 level-2 router-a(config-if)# [Hit ctrl-Z]
router-a#show ipv6 route
Look carefully at the route to your neighbor's desk network, and your neighbor's router loopback interface, and make a note of it.
Does the desk which had its ethernet unplugged still have connectivity to the Internet? When you traceroute, what route do the packets take?
Look at the routes again. What has happened to the route to your neighbor's desk network?
Check the forwarding table ("show ipv6 route"). Now what do you notice about the route to your neighboring desk's network?
Before finishing this exercise, remove the serial links and reboot the router to get back to the saved configuration.
There are cross ethernet cables available if you wish to try some more complex topologies linking to other desks.