import-route isis level-2 into level-1

Use import-route isis level-2 into level-1 to enable route advertisement from Level-2 to Level-1.

Use undo import-route isis level-2 into level-1 to restore the default.

Syntax

import-route isis level-2 into level-1 [ filter-policy { ipv4-acl-number | prefix-list prefix-list-name | route-policy route-policy-name } | tag tag ] *

undo import-route isis level-2 into level-1

Default

Route advertisement from Level-2 to Level-1 is disabled.

Views

IS-IS IPv4 unicast address family view

Predefined user roles

network-admin

Parameters

filter-policy: Specifies a filtering policy.

ipv4-acl-number: Specifies an ACL by its number in the range of 2000 to 3999 to filter routes from Level-2 to Level-1.

prefix-list prefix-list-name: Specifies an IPv4 prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter routes from Level-2 to Level-1 by destination address.

route-policy route-policy-name: Uses the specified routing policy to filter routes from Level-2 to Level-1. The route-policy-name argument is a case-sensitive string of 1 to 63 characters.

tag tag: Specifies a tag for marking redistributed routes, in the range of 1 to 4294967295.

Usage guidelines

If a routing policy is used, the routing policy must be specified in the import-route isis level-2 into level-1 command to filter routes from Level-2 to Level-1. Other routing policies specified for route reception and redistribution does not affect the route leaking.

If a filtering policy is configured, only Level-2 routes not filtered out can be advertised into the Level-1 area.

Examples

# Enable route advertisement from Level-2 to Level-1.

<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] address-family ipv4
[Sysname-isis-1-ipv4] import-route isis level-2 into level-1

Related commands

import-route

import-route isis level-1 into level-2