display aaa route

Function

The display aaa route command displays whether static routes are successfully delivered by the RADIUS server.

This command is supported only on the NetEngine 8000 F1A.

Format

display aaa route [ all | vpn-instance vpn-instance ] [ uninstalled ]

Parameters

Parameter Description Value
all

Displays whether all static routes, including public and private network routes, are successfully delivered.

-

vpn-instance vpn-instance

Specifies the name of a VPN instance.

The value is a string of 1 to 31 characters.

uninstalled

Displays invalid static routes are delivered by the RADIUS server.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
aaa-access read

Usage Guidelines

Usage Scenario

In a scenario in which the RADIUS server automatically delivers static routes without being triggered by user login, run the aaa route-download command on the device to enable it to synchronize static routes with those delivered by the RADIUS server. To check whether static routes are successfully delivered by the RADIUS server, run the display aaa route command.

If you do not specify any parameter, the command displays whether all public network routes are successfully delivered.

The RADIUS server uses the following attributes to deliver static routes:

  • Framed-route (public No. 22 attribute) is used to deliver static IPv4 routes. This attribute is in the format of <address>[/<mask length>] <next hop> [<metric>], where the mask length is optional. The system automatically generates the attribute based on the address classification (class A/B/C). The next hop must be delivered and can be only null0. The metric value ranges from 0 to 255.
  • Framed-Ipv6-Route (public No. 99 attribute) is used to deliver static IPv6 routes. The attribute is in the format of <address>[/<mask length>] [<next hop>] [<metric>], where the mask length is optional. The system automatically generates the attribute based on the address classification (class A/B/C). The next hop must be delivered and can be only null0. The metric value ranges from 0 to 255.
  • HW-VPN-Instance (Huawei No. 94 attribute) indicates the name of a VPN instance.

Precautions

In VS mode, this command is supported only by the admin VS.

The display aaa route command displays only the static routes of a public network. To view static routes of both the public and private networks, run the display aaa route all command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display whether the private network routes in the VPN instance named perk are successfully delivered.
<HUAWEI> display aaa route vpn-instance perk
------------------------------------------------------------------------------------------------
 VRF         Prefix/Length      NextHop         Cost   Intf    Tag   Installed   advertise   roll
------------------------------------------------------------------------------------------------
 perk        192.168.10.0/24                    1      null0   0     yes         no          yes
------------------------------------------------------------------------------------------------
# Display whether all public and private network routes are successfully delivered.
<HUAWEI> display aaa route all
------------------------------------------------------------------------------------------------
 VRF        Prefix/Length      NextHop         Cost   Intf    Tag   Installed   advertise   roll
------------------------------------------------------------------------------------------------
            192.168.1.0/24                     1      null0   0     yes         no          yes
            192.168.2.0/24                     1      null0   0     yes         no          yes
            192.168.3.0/24                     1      null0   0     yes         no          yes
            192.168.7.0/24                     1      null0   0     yes         no          yes 
            192.168.3.0/24     3.3.3.3         1              0     no          no          yes
            10.256.256.256/24                  1      null0   0     no          no          yes
 perk       192.168.10.0/24                    1      null0   0     yes         no          yes
------------------------------------------------------------------------------------------------
# Display whether all public network routes are successfully delivered.
<HUAWEI> display aaa route
------------------------------------------------------------------------------------------------
 VRF            Prefix/Length      NextHop      Cost  Intf    Tag   Installed   advertise   roll
------------------------------------------------------------------------------------------------
                192.168.1.0/24                  1     null0   0     yes         no          yes
                192.168.2.0/24                  1     null0   0     yes         no          yes
                192.168.3.0/24                  1     null0   0     yes         no          yes
                192.168.7.0/24                  1     null0   0     yes         no          yes
                192.168.3.0/24     3.3.3.3      1             0     no          no          yes
                10.256.256.256/24               1     null0   0     no          no          yes
------------------------------------------------------------------------------------------------
Table 1 Description of the display aaa route command output
Item Description
VRF

VPN instance name.

Prefix/Length

Network segment and prefix length of a delivered route.

NextHop

Next hop address.

Cost

Cost of a delivered route. The value ranges from 1 to 65535.

Intf

Interface address.

Tag

Tag of a delivered route. The value ranges from 1 to 65535.

Installed

Whether a route is successfully delivered.

  • yes: The route is successfully delivered.
  • no: The route is not successfully delivered.
advertise

Whether a route is successfully advertised.

roll

Whether the static routing table has been rolled back to the last status before the RADIUS server failure.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >