Configuring an IP address

To implement communication between VLANs, establish IP routes.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number.subinterface-number

    The view of the Ethernet sub-interface that needs to be configured with an IP address is displayed.

  3. Run ip address ip-address ip-mask [ sub ]

    An IP address is assigned to the Ethernet sub-interface.

    When two or more IP addresses are configured for an Ethernet sub-interface, the keyword sub can be used to indicate secondary IP addresses.

    For the detailed configuration of an IP address, see the NetEngine 8000 F Configuration Guide - IP Service.

  4. Run commit

    The configuration is committed.

    In the scenario where an interface has a large number of sub-interfaces, if you run the shutdown command in the sub-interface view to shut down the sub-interfaces one after another, the work load is huge. To shut down the sub-interface in batch, run the shutdown interface command in the system view.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >