< Home

add interface (common interface group view)

Function

The add interface command adds interfaces to a common interface group.

The undo add interface command deletes interfaces from a common interface group.

Format

add interface interface-type interface-number

undo add interface interface-type interface-number

Parameters

Parameter Description Value
interface-type interface-number

Specifies the interface type and number.

-

Views

Common interface group view

Default Level

2: Configuration level

Usage Guidelines

Interface group member interfaces can be physical or logical interfaces. GigabitEthernet interfaces and their subinterfaces, Eth-Trunk interfaces and their subinterfaces, Tunnel interfaces, VLANIF interfaces, and Dialer interfaces can also function as intelligent uplink selection member interfaces.

Before adding an interface to a common interface group, configure an IP address and a gateway address (using the gateway command) for the interface.

Example

# Add GigabitEthernet 0/0/1 to common interface group ifgrp.

<sysname> system-view
[sysname] interface-group 1 name ifgrp
[sysname-interface-group-1] add interface GigabitEthernet 0/0/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >