Configuring IS-IS for IPv6

Problem

You want to use IS-IS on an IPv6 network.

Solution

The IS-IS configuration for an IPv6 network is the same as for IPv4. Configure the interfaces, enable ISO on the IS-IS interfaces, and configure a NET on lo0:

	[edit protocols isis]
	aviva@RouterG# set interface fe-0/0/1
	aviva@RouterG# set interface fe-1/0/1
	aviva@RouterG# set interface lo0.0

	[edit interfaces]
	aviva@RouterG# set fe-0/0/1 unit 0 family iso
	aviva@RouterG# set fe-1/0/1 unit 0 family iso
	aviva@RouterG# set lo0 unit 0 family iso address 49.0020.1921.6801.9001.00

 

Discussion

Because IS-IS runs directly on the data-link layer (Layer 2), from an IS-IS point of view, there is nothing different or special about configuring it for an IPv6 environment. The only thing you do differently is set IPv6 addresses on the physical interfaces instead of IPv4 addresses. This recipe configures a router that connects to two other Level 1Level 2 IS-IS routers.

Again, use the show isis interface command to see the configured IS-IS interfaces:

	aviva@RouterG> show isis interface
	IS-IS interface database:
	Interface L CirID Level 1 DR Level 2 DR L1/L2 Metric
	fe-0/0/1.0 3 0x2 RouterG.02 RouterG.02 10/10
	fe-1/0/1.0 3 0x3 RouterJ.03 RouterJ.03 10/10
	lo0.0 0 0x1 Passive Passive 0/0

When looking at the adjacencies, you can see the IPv6 addresses configured on the router:

	aviva@RouterG> show isis adjacency detail
	RouterH
	 Interface: fe-0/0/1.0, Level: 2, State: Up, Expires in 19 secs
	 Priority: 64, Up/Down transitions: 1, Last transition: 00:18:55 ago
	 Circuit type: 3, Speaks: IP, IPv6, CLNS, MAC address: 0:5:85:c1:d1:d1
	 Topologies: Unicast
	 Restart capable: Yes
	 LAN id: Incredible-Hulk.02, IP addresses: 192.168.18.1
	 IPv6 addresses: fe80::205:85ff:fec1:d1d1

The IS-IS database output is also unchanged. If you look at the detail version of the output, you now see the IPv6 address prefixes:

	aviva@RouterG> show isis database level 2 detail
	IS-IS level 2 link-state database:

	RotuerJ.00-00 Sequence: 0x5, Checksum: 0x9645, Lifetime: 647 secs
	 IS neighbor: RouterJ.02 Metric: 10
	 IS neighbor: RouterJ.03 Metric: 10
	 V6 prefix: 9009:1::/64 Metric: 10 Internal Up
	 V6 prefix: 9009:2::/64 Metric: 20 Internal Up
	 V6 prefix: 9009:3::/64 Metric: 10 Internal Up
	…

 

See Also

Recipes 7.6 and 11.1


Router Configuration and File Management

Basic Router Security and Access Control

IPSec

SNMP

Logging

NTP

Router Interfaces

IP Routing

Routing Policy and Firewall Filters

RIP

IS-IS

OSPF

BGP

MPLS

VPNs

IP Multicast



JUNOS Cookbook
Junos Cookbook (Cookbooks (OReilly))
ISBN: 0596100140
EAN: 2147483647
Year: 2007
Pages: 290
Authors: Aviva Garrett

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net