interface-name

Function

The interface-name command adds an interface to an outbound interface list.

The undo interface-name command deletes an interface from an outbound interface list.

By default, no interface is added to an outbound interface list.

Format

interface-name { interface-name | interface-type interface-number }

undo interface-name { interface-name | interface-type interface-number }

Parameters

Parameter Description Value
interface-type

Specifies an interface type.

-

interface-number

Specifies an interface number.

-

Views

Outbound interface list view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
route-base write

Usage Guidelines

Usage Scenario

To allow routes with the next hop being a specified interface to pass the check, run the interface-name command to add the interface to an outbound interface list. After the list is applied to the route-filter, the device will then not filter out those routes.

Prerequisites

An outbound interface list has been configured using the xpl interface-list command.

Example

# Add GE 0/1/0 to the outbound interface list named aa.
<HUAWEI> system
[~HUAWEI] xpl interface-list aa
[~HUAWEI-xpl-aa] interface-name GigabitEthernet 0/1/0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >