< Home

ip-link name

Function

The ip-link name command sets up an IP link and accesses the IP link view.

The undo ip-link command deletes an IP link.

Format

ip-link name ip-link-name [ vpn-instance vpn-instance-name ]

undo ip-link name ip-link-name[ vpn-instance vpn-instance-name ]

Parameters

Parameter Description Value
ip-link-name Specifies a name for the IP link. The value is a string of 1 to 31 case-sensitive characters, without question marks (?), asterisks (*), at signs (@), or spaces. The name must begin with letters.
vpn-instance vpn-instance-name Specifies the VPN instance bound to IP Link. The specified value must be the name of a manually created VPN instance.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The ip-link name command is used to configure only the parameters related to IP-link detection. The FW implements IP-link detection only when the IP-link function is enabled. The IP-link function is disabled by default and can be enabled using the ip-link check enable command.

The VPN instance bound to IP Link must be manually created using the ip vpn-instance command. IP Link cannot be bound to the VPN instances that are automatically created by the virtual system.

Example

# Set up an IP link and access the IP link view.

<sysname> system-view
[sysname] ip-link name test
[sysname-iplink-test]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >