No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
gateway-list

gateway-list

Function

The gateway-list command configures the egress gateway address for the DHCP client.

The undo gateway-list command deletes a configured egress gateway address.

By default, no egress gateway address is configured.

Format

gateway-list ip-address &<1-8>

undo gateway-list { ip-address | all }

Parameters

Parameter

Description

Value

ip-address

Specifies an egress gateway address.

The value is in dotted decimal notation.

all

Deletes all gateway addresses.

-

Views

IP address pool view, DHCP Option template view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

This command applies to DHCP servers. If a DHCP server and its client are on different network segments, you can run the gateway-list command to specify an egress gateway address. In this way, the DHCP server and client can communicate with each other. Then the DHCP server can assign both an IP address and the specified egress gateway address to the client. You can configure multiple gateways in a global address pool to load balance traffic and improve network reliability.

Run the gateway (DHCP server group view) command to configure an egress gateway for a DHCP relay agent.

Configuration Impact

If a gateway address is configured on the DHCP server, a DHCP client obtains the gateway address from the DHCP server and automatically generates a default route to the gateway address. If you run the option121 command on the DHCP server to allocate classless static routes to DHCP clients, the DHCP client uses an allocated classless static route and does not automatically generate a default route to the gateway address.

Precautions

In the IP address pool view and DHCP Option template view, the AP can be configured with a maximum of eight egress gateway addresses respectively. These gateway addresses cannot be subnet broadcast addresses.

When configuring an egress gateway address for the global address pool of a DHCP server, ensure that this egress gateway address is the same as that of the DHCP relay agent.

Example

# In the IP address pool view, set the egress gateway address for the DHCP client to 10.1.1.1.

<Huawei> system-view
[Huawei] ip pool global1
[Huawei-ip-pool-global1] gateway-list 10.1.1.1
# In the DHCP Option template, set the egress gateway address for the DHCP client to 10.1.1.1.
<Huawei> system-view
[Huawei] dhcp option template template1
[Huawei-dhcp-option-template-template1] gateway-list 10.1.1.1
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 201026

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next