ip unr tag

Function

The ip unr tag command sets a route tag for host routes of IPv4 users and network segment routes generated based on the Framed-Route attribute delivered by the RADIUS server in the AAA domain view.

The undo ip unr tag command cancels the setting.

By default, no route tag is set for host routes of IPv4 users or network segment routes generated based on the RADIUS-delivered Framed-Route attribute in the AAA domain.

This command is supported only on the NetEngine 8000 F1A.

Format

ip unr tag tag-value route-type host-route framed-route

undo ip unr tag [ tag-value route-type host-route framed-route ]

Parameters

Parameter Description Value
tag-value

Specifies a route tag.

The value is an integer ranging from 0 to 4294967295.

Views

AAA domain view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
aaa-access write

Usage Guidelines

Usage Scenario

To allow the device to categorize and advertise host routes of IPv4 users and network segment routes generated based on the RADIUS-delivered Framed-Route attribute to different networks, run the ip unr tag command to set a route tag for the host routes and network segment routes. In this way, the device can import route tags based on routing policies and advertise different host routes of IPv4 users to different networks.

Precautions

If the ip unr tag command is run more than once, the latest configuration overrides the previous one. If the ip unr tag, unr tag (IP address pool view), and ip unr framed-route-tag commands are run, the ip unr tag command takes effect.

Example

# Set the tag value to 14 for host routes of IPv4 users and network segment routes generated based on RADIUS-delivered Framed-Route attribute.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] domain huawei
[*HUAWEI-aaa-huawei] ip unr tag 14 route-type host-route framed-route
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >