Configuring an IP Addresses for an Interface

The IP address assigned to an interface needs to be in the same network segment with the IP addresses of the users of all the VLANs associated to this interface.

Procedure

  1. Run system-view

    The system view is displayed.

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

    The sub-interface view is displayed.

    Proxy ARP within a VLAN can be configured on Ethernet sub-interfaces, GE sub-interfaces, Eth-Trunk sub-interfaces.

  3. Run ip address ip-address { mask | mask-length } [ sub ]

    An IP address is configured for the sub-interface.

  4. Run commit

    The configuration is committed.

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