[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Configuring Redistribution
You can specify how IS-IS redistributes routes
received from other routing protocols, redistributes routes according
to new policies, and controls redistribution of routes with access
lists and route maps.
Optionally,
when you issue the redistribute command
and specify a route map, you can use the map to set a route tag for
a route redistributed from another protocol to IS-IS. Make sure the
route map you specify includes the set tag command that defines a tag value for the routes destined for IS-IS.
For details about configuring and using route maps, see JUNOSe IP Services Configuration Guide .
To redistribute IPv6 routes, issue the redistribute command from within the IS-IS IPv6 address
family.
access-list
route-map
- Use the access-list command
to create a standard or extended access list.
- Use the route-map command to
create a route map.
- For detailed information about configuring access lists
and route maps, see JUNOSe IP Services Configuration Guide.
- Example—For IP route redistribution the access list
filters IP routes; for IPv6 route redistribution, the access list
must filter IPv6 routes.
- Configure three static routes:
- host1(config)#ip route 10.20.20.0 255.255.255.0
192.168.1.0
- host1(config)#ip route 10.20.21.0 255.255.255.0
192.168.1.0
- host1(config)#ip route 10.21.0.0 255.255.255.0
192.168.1.0
- Configure an access list with filters on routes 10.20.20.0/24
and 10.20.21.0/24:
- host1(config)#access-list boston permit 10.20.0.0
0.0.255.255
- Configure a route map that matches the previous access
list and applies an internal metric type:
- host1(config)#route-map 1
- host1(config-route-map)#match ip address 1
- host1(config-route-map)#set metric-type internal
- Configure redistribution into IS-IS of the static routes
with route map 1:
- host1(config)#router isis testnet
- host1(config-router)#redistribute static ip
route-map 1
- Use the show isis database command to verify the effect of the redistribution (that two static
routes matching the route map are redistributed as level 2 internal
routes):
host1#show isis database detail l2
IS-IS Level-2 Link State Database
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.6666.00-00 0x000002B7 0x3E1F 1198 0/0/0
Area Address: 47.0005.80FF.F800.0000.0001.0001
NLPID: 0xcc
IP Address: 192.168.1.105
Metric: 10 IS 0000.0000.6666.01
Metric: 10 IS 0000.0000.3333.00
Metric: 10 IS 0000.0000.7777.00
Metric: 30 IP 10.20.21.0 255.255.255.0
Metric: 30 IP 10.20.20.0 255.255.255.0
- Use the no version of the access-list command to remove the access list or the
specified entry in the access list.
- Use the no version of the route-map command to remove an entry.
- See access-list
- See route-map
clear ip isis redistribution
clear isis ipv6
redistribution
- Use to clear all the routes that have been previously
redistributed into IS-IS and to redistribute them using the current
policy configured. Use the IP version to redistribute IP routes. Use
the IPv6 version to redistribute IPv6 routes.
- Use when you have made changes to route maps or access
lists that affect how routes are redistributed to IS-IS.
- Example
- host1#clear ip isis redistribution
- There is no no version.
- See clear ip isis redistribution
- See clear isis ipv6 redistribution
disable-dynamic-redistribute
- Use to halt the dynamic redistribution of routes that
are initiated by changes to a route map.
- Dynamic redistribution is enabled by default.
- Example
- host1(config-router)#disable-dynamic-redistribute
- Use the no version to reenable
dynamic redistribution.
- See disable-dynamic-redistribute
redistribute
- Use to redistribute routes from other routing protocols
in the routing table to IS-IS. IS-IS advertises these routes as level
1 only, level 2 only, or both. Level 2 only is the default.
- To redistribute IPv6 routes, you must issue the command
from within the IS-IS IPv6 address family.
- The default is no source protocol defined for redistribution.
- This command can accomplish the same results as the passive-interface command by redistributing a connected
route to level 1.
- Optionally, you can specify a route map and use it to
set a route tag for routes redistributed to IS-IS.
- Example 1—Redistributing static IP routes with a
route map
- host1(config-router)#redistribute static ip
route-map 10
- Example 2—Redistributing IPv6 routes from OSPF into
IS-IS level 1 and level 2
- host1(config-router-af)#redistribute ospf
level-1-2
- Use the no version to disable
redistribution.
- See redistribute
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]