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

NE40E V800R010C10SPC500 Configuration Guide - User Access 01

This is NE40E V800R010C10SPC500 Configuration Guide - User Access
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).
Creating a Static User

Creating a Static User

A user that requires a fixed IP address can be configured as a static user.

Prerequisites

BAS needs to be configured on the interfaces for static users.

Context

  • The IPv4 address allocated to a static user is one of the addresses in the configured address pool. If the address pool is a local address pool, run the excluded-ip-address command to prevent the addresses from being allocated to other users.

  • If an IPv6 address or IPv6 delegation prefix needs to be allocated from a local address pool to a static user, configure a local address pool first. If an IPv6 address or IPv6 delegation prefix needs to be allocated from a remote address pool, the remote address pool does not need to be configured first.

Perform the following steps on the router:

Procedure

  1. Run system-view

    The system view is displayed.

  2. (Optional) Run static-user interface-list list-name

    An access interface list is configured for static users.

  3. (Optional) Run interface

    An access interface for static users is bound to the access interface list.

  4. (Optional) Run quit

    Return to the system view.

  5. Run either of the following commands:

    • (Optional) To create a static user and allow the user to go online through a specified interface, run the static-user [ description ] { start-ip-address [ end-ip-address ] [ gateway ip-address ] | start-ipv6-address [ end-ipv6-address ] [ delegation-prefix start-ipv6-prefix [ end-ipv6-prefix ] prefix-length ] ipv6-gateway ipv6-gateway-address} * [ vpn-instance instance-name ] [ domain-name domain-name | interface { interface-name | interface-type interface-number } [ vlan vlan-id [ qinq qinq-vlan ] | mac-address mac-address | detect | export | keep-online ] * command.
    • (Optional) To create a static user and allow the user to go online through interfaces of a specified interface list, run the static-user [ description ] start-ip-address [ end-ip-address ] [ gateway ip-address ] [ vpn-instance instance-name ] [ domain-name domain-name | interface-list list-name | mac-address mac-address | export | keep-online ] * command.

    When creating a static user, you can specify the IP address (including the VPN instance to which the IP address belongs), interface through which the user is connected to the NE40E, domain, and MAC address.

    If detect is configured, it indicates that the NE40E actively detects the static user to get him online. If detect is not configured, the user can go online only after sending ARP/IPv4 packets. For IPv6 users, they need to actively send NS/NA/IPv6 packets to trigger user online with the IPv6 address or delegation prefix.

    The arp-trigger or ip-trigger command must be configured on the BAS interface through which the IPv4 static user goes online.

    When configuring an IPv6 address for a static user, run the ipv6-trigger or nd-trigger command on the interface that the user accesses to trigger the user to get online with the configured IPv6 address or IPv6 delegation prefix.

    NOTE:
    • IPv4 single-stack static users can go online through multiple interfaces bound to an interface list, but the NE40E cannot initiate ARP or IP packets for the static users for login. When you configure IPv4 single-stack static users to go online through interfaces bound to an interface list using the static-user command, the detect and vlan keywords are removed from the command.
    • IPv6 static users cannot go online through interfaces bound to an interface list.

  6. (Optional) Run static-user detect interval interval-value

    The interval at which the router detects whether static users are online is configured.

  7. Run layer3-subscriber { start-ip-address [ end-ip-address ] | start-ipv6-address [ end-ipv6-address ] | delegation-prefix start-ipv6-prefix [ end-ipv6-prefix ] prefix-length } * [ vpn-instance instance-name ] domain-name domain-name

    The IP address segment and authentication domain for Layer 3 users are configured.

    The device can only have a limited number of IP address segments configured. If IPv4 addresses of user access packets do not belong to the IP address segments configured, the packets are discarded, and users cannot go online. Running the layer3-subscriber ip-address any domain-name domain-name command is recommended in scenarios where there are a large number of IP address segments on the network so that users whose IP addresses do not belong to the IP address segments configured can go online through the configured domain.

Translation
Download
Updated: 2019-01-03

Document ID: EDOC1100055031

Views: 17442

Downloads: 70

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