< Home

out-interface map

Function

The out-interface map command configures a smart DNS mapping.

Format

out-interface { interface-type interface-number | interface-name } map { new-ip-address | weight-rule }

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

Parameters

Parameter Description Value
interface-type interface-number | interface-name Specifies the interface connecting the FW to an ISP network. The interface can be an Ethernet interface or a virtual-template interface.
new-ip-address Specifies a smart DNS-mapped address. The value is in dotted decimal notation.

Views

Smart DNS group view

Default Level

2: Configuration level

Usage Guidelines

The command syntax must match the traffic allocation method; otherwise, the configuration will fail.

If the ISP egress-based traffic allocation mode is used, run the out-interface interface-type interface-number map new-ip-address command to configure the outbound interface mapping.

interface-type interface-number and new-ip-address must be in one-to-one mapping. For example, GE0/0/0 connecting the FW to ISP1 network is mapped to address 10.1.1.1 of ISP1 server.

If the traffic allocation mode is set to round robin or weighted round robin, run the out-interface interface-type interface-number map weight-rule command to configure the outbound interface mapping.

Example

# Configure a smart DNS mapping. Set the server address to be sent to ISP1 users to 10.1.1.1 and the interface connecting the FW to ISP1 network to GE0/0/1.

<sysname> system-view
[sysname] dns-smart group 1 type multi
[sysname-dns-smart-group-1] out-interface GigabitEthernet 0/0/1 map 10.1.1.1 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >