< Home

isp name set filename

Function

The isp name set filename command configures the mapping between an ISP name and an ISP address file and generates an ISP address group.

The undo isp name set filename command deletes the mapping between an ISP name and an ISP address file and deletes the corresponding ISP address group.

Format

isp name isp-name set filename filename

undo isp name isp-name set filename filename

Parameters

Parameter Description Value
isp-name

Specifies the ISP name.

The value is a character string. If the string does not contain any space, it contains 1 to 32 characters. If the string contains spaces, it must be enclosed by double quotation marks ("") and contains 3 to 34 characters.

filename

Specifies the ISP address file name.

The value is a string of 5 to 45 characters.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

One carrier name corresponds to only one ISP address file, but one ISP address file can correspond to multiple ISP names.

After you run the isp name set filename command, the device will generate an ISP address group based on the ISP address file. The address group content cannot be modified directly, but you can modify the ISP address file and import it to the address group again. ISP address sets can be referenced in policy-based routes as source or destination addresses.

Example

# Configure the mapping between ISP name mobile and ISP address file mobile.csv.

<sysname> system-view
[sysname] isp name mobile set filename mobile.csv
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >