[Contents] [Prev] [Next] [Index] [Report an Error]


Configuring Global IS-IS Parameters

This section describes the commands you can use to globally configure optional IS-IS parameters.

In the following command guidelines, notice that many parameters are preset to a default value. Use the no version of those commands to restore default values.

Setting Authentication Passwords

You can configure simple authentication or HMAC MD5 authentication for either an area or a domain.

area-authentication-key

area-message-digest-key

domain-authentication-key

domain-message-digest-key

Configuring Authentication of CSNPs and PSNPs

You must enable and disable authentication of CSNP packets and PSNP packets separately from authentication of LSP packets.

area-authentication

domain-authentication

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. The route map you specify should include 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 Route Maps in Chapter 1, Configuring Routing Policy.

access-list
    route-map

  1. Configure three static routes:
  2. host1(config)#ip route 20.20.20.0 255.255.255.0 192.168.1.0
    
    host1(config)#ip route 20.20.21.0 255.255.255.0 192.168.1.0
    
    host1(config)#ip route 20.21.0.0 255.255.255.0 192.168.1.0
    
    
    
  3. Configure an access list with filters on routes 20.20.20.0/24 and 20.20.21.0/24:
  4. host1(config)#access-list boston permit 20.20.0.0 0.0.255.255
    
    
    
  5. Configure a route map that matches the previous access list and applies an internal metric type:
  6. host1(config)#route-map 1 
    
    host1(config-route-map)#match ip address 1
    
    host1(config-route-map)#set metric-type internal
    
    
    
  7. Configure redistribution into IS-IS of the static routes with route map 1:
  8. host1(config)#router isis testnet
    
    host1(config-router)#redistribute static ip route-map 1 
    
    
    
  9. Use the show isis database command to verify the effect of the redistribution (the two static routes matching the route map are redistributed as level 2 internal routes):
  10. 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 20.20.21.0 255.255.255.0
    
      Metric: 30 IP 20.20.20.0 255.255.255.0
    
    
    

clear ip isis redistribution

disable-dynamic-redistribute

redistribute

Redistributing Routes Between Levels

The two-level routing hierarchy of IS-IS can lead to suboptimal path selection in certain situations. Because a level 1 router by default has knowledge only of level 1 routes, traffic from a level 1 router to a router in another area passes through the nearest level 1-2 router as its next hop. Consider the topology shown in Figure 42.


Figure 42: Example of Level 1 and Level 2 Routing

In this example, Router 4 in Area 1 considers Router 2 to be its next hop for interarea traffic, and Router 5 considers Router 3 to be its next hop for interarea traffic. Traffic from Router 4 to Router 8 passes through Router 2, requiring a total of five hops to the destination: Routers 2, 1, 3, 9, and 8. Similarly, five hops are required for traffic from Router 5 to Router 7.

Neither of these paths is optimal. For example, it would be shorter for traffic from Router 4 to take the four-hop path: Routers 5, 3, 9, and 8.

You can configure IS-IS to redistribute routes between the routing levels; this is sometimes known as route leaking between levels. The redistribute isis ip command enables you to specify a route filter (an access list) and the direction of leakage, as shown in the following example:

host1(config)#access-list leakList permit ip 100.0.0.0 0.255.255.255 any
host1(config)#router isis 1
host1(config-router)#redistribute isis ip level-1 into level-2 distribute-list leakList
host1(config-router)#redistribute isis ip level-2 into level-1 distribute-list leakList

When you issue the redistribute isis ip command and include the route-map keyword, you can use the map to set a route tag for a route redistributed from one IS-IS level to another. The route map you specify should include the set tag command that defines a tag value for the IS-IS routes to be redistributed. For details about configuring and using route maps, see Route Maps in Chapter 1, Configuring Routing Policy.

redistribute isis ip

Controlling Granularity of Routing Information

You can force the distribution of level 2 routing information to level 1 routers in other areas to improve the quality of the resulting routes, but at the cost of reduced scalability.

distribute-domain-wide

Configuring Metric Type

Extensions to IS-IS traffic engineering enable the use of bigger metrics. You can specify whether your router accepts, generates, or accepts and generates only old-style metrics, only new-style metrics, or both.

metric-style narrow

metric-style transition

metric-style wide

Setting the Administrative Distance

You can indicate the dependability of a routing information source by configuring the administrative distance for learned routes.

distance ip

Configuring Default Routes

You can specify a default route within IS-IS routing domains. You can also suppress the installation of a default route to level 1-2 routers by
level 1 routers.

Optionally, when you issue the default-information originate command and specify a route map, you can use the map to set a route tag for the default route. The route map you specify should include the set tag command, which defines a tag value for the default route within the IS-IS domain. For details about configuring and using route maps, see Route Maps in Chapter 1, Configuring Routing Policy.

default-information originate

suppress-default

Setting Router Type

You can specify whether the router behaves as an IS-IS station router, area router, or both.

is-type

Summarizing Routes

You can summarize routes redistributed into IS-IS or within IS-IS by creating aggregate addresses for the routes.

Optionally, you can set a route tag for an IS-IS aggregate (summary) address by including the tag keyword and a numeric tag value in the summary-address command.

summary-address

Configuring the Router to Be Ignored

If you have a router through which you do not want IS-IS traffic to pass, you can set the overload bit, causing other IS-IS routers to ignore the router.

set-overload-bit

Ignoring LSP Errors

You can configure the router to ignore rather than purge LSPs received with errors.

ignore-lsp-errors

Logging Adjacency State Changes

You can configure the router to log messages that track when adjacencies change state between up and down.

log-adjacency-changes

Configuring LSP Parameters

You can specify the following parameters for LSPs:

lsp-mtu

lsp-gen-interval

lsp-refresh-interval

max-lsp-lifetime

Specifying the SPF Interval

You can configure how often the router performs the shortest-path-first (SPF) calculation.

spf-interval

Defining the SPF Route Calculation Level

The IS-IS protocol uses the Dijkstra algorithm to compute IP node metrics when a change occurs within the IS-IS network. This calculation results in the IS-IS router containing a shortest-path tree (SPT) that maps the shortest path to each node in the IS-IS network.

By default, the router uses a partial route calculation (PRC) SPF to determine the next hop (when required). This partial computation occurs when the router receives link-state PDUs (LSPs) with only changes relating to IP prefixes (for example, the addition of a new IP prefix, change in attributes of an existing IP prefix, or the removal of an existing IP prefix).

Because changes in IP prefixes happen more frequently than other events, using the PRC SPF results in faster IS-IS convergence and saves router resources. However, you can also specify that the router always use full SPF, recalculating the entire SPT, when resolving any IS-IS state changes.

full-spf-always

Setting CLNS Parameters

You can specify transmission rates for ES and IS hello packets, the period for which the router considers ES and IS hello packets to be valid, and name-to-network service access point mappings.

clns configuration-time

clns holding-time

clns host

Setting the Maximum Parallel Routes

You can configure how many parallel routes IS-IS supports to a destination.

maximum-paths

Configuring a Virtual Multiaccess Network

You can specify that interfaces within a given mesh group will act as a virtual multiaccess network.

isis mesh-group

Configuring Table Maps

You can use the table-map command to apply a specified route map as a policy filter on an IS-IS route before the route is installed in the routing table. The route map you apply must contain one or more set commands to modify route attributes.

table-map

The following commands apply a policy (route map) named metricTypeExt to modify the metric type of IS-IS routes configured with a route tag value of 33.

host1(config)#route-map metricTypeExt permit 5
host1(config-route-map)#match tag 33
host1(config-route-map)#set metric-type external
host1(config-route-map)#exit
host1(config)#router isis marketing
host1(config-router)#table-map metricTypeExt
host1(config-router)#exit
host1(config)#exit

Summary Example

host1(config)#router isis floor12
host1(config-router)#net 47.0010.0000.0000.0000.0001.0001.1111.1111.1111.00
host1(config-router)#exit
host1(config)#interface atm 0/1
host1(config-if)#ip router isis floor12 tag 24 
host1(config-if)#isis mesh-group blocked
host1(config-if)#exit
host1(config)#interface atm 1/0
host1(config-if)#ip router isis floor12
host1(config-router)#distribute-domain-wide
host1(config-router)#distance 100 ip
host1(config-router)#default-information originate 

route-map 9
host1(config-router)#is-type level-1-2 
host1(config-router)#summary-address 10.2.0.82 255.255.0.0 level-1-2 tag 90 
host1(config-router)#set-overload-bit
host1(config-router)#ignore-lsp-errors
host1(config-router)#log-adjacency-changes
host1(config-router)#lsp-mtu 1500
host1(config-router)#lsp-refresh-interval 1000
host1(config-router)#lsp-gen-interval level-2 30
host1(config-router)#max-lsp-lifetime 1500
host1(config-router)#spf-interval level-2 30
host1(config-router)#maximum-paths 32
host1(config-router)#redistribute static ip route-map 5 
host1(config-router)#exit
host1(config)#clns configuration-time 120
host1(config)#clns holding-time 600 

[Contents] [Prev] [Next] [Index] [Report an Error]