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 V200R008C00 CLI-based Configuration Guide

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).
Configuring Basic Interface Parameters

Configuring Basic Interface Parameters

This section describes how to configure basic interface parameters, including interface description and traffic statistics collection interval, and how to shut down and enable an interface.

Entering the Interface View

Context

To configure an interface, enter the interface view.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    interface interface-type interface-number

    The interface view is displayed.

    interface-type interface-number specifies the type and number of an interface.

    NOTE:

    If the specified logical interface does not exist, this command creates the logical interface and displays the logical interface view.

Configuring an Interface Description

Context

To facilitate device management and maintenance, you can configure descriptions for interfaces. An interface description can contain the device where the interface is located, interface type, and remote device. For example: To-[DeviceB]GE-0/0/1 indicates that an interface of this device is connected to GE0/0/1 of device B.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    interface interface-type interface-number

    The interface view is displayed.

  3. Run:

    description description

    The description is configured for the interface.

    NOTE:

    The interface description is displayed from the first non-space character.

Specifying the Interface Bandwidth Acquired by the NMS

Context

Specifying the interface bandwidth acquired by the NMS does not affect the actual bandwidth of the interface. The NMS can check the interface bandwidth through the two objects ifSpeed and ifHighSpeed in IF-MIB.
  • If the configured bandwidth is smaller than 4000 Mbit/s, ifSpeed and ifHighSpeed are respectively displayed as bandwidth x 1000 x 1000 and bandwidth.
  • If the configured bandwidth is equal to or larger than 4000 Mbit/s, ifSpeed and ifHighSpeed are respectively displayed as 4294967295 (0XFFFFFFFF) and bandwidth.

Procedure

  • Run:

    system-view

    The system view is displayed.

  • Run:

    interface interface-type interface-number

    The interface view is displayed.

  • Run:

    bandwidth bandwidth [ kbps ]

    Interface bandwidth acquired by the NMS is specified.

Configuring the Traffic Statistics Collection Interval

Context

By setting the traffic statistics collection interval, you can collect and analyze packet statistics. According to traffic statistics, you can take measures to prevent network congestion and service interruption.

  • When congestion occurs, you can set the statistics collection interval on an interface to 300 seconds or less (30 seconds if congestion worsens). Then observe traffic distribution on the interface within a short period of time. Take measures to data packets that cause congestion to control the rate of the packets.

  • When the network bandwidth is sufficient and services are running properly, set the statistics collection interval on an interface to more than 300 seconds. If traffic parameters on an interface are out of the specified range, change the statistics collection interval to observe the traffic statistics in real time.

NOTE:
  • The interval set in the system view takes effect on all the interfaces that use the default interval.

  • The interval set in the interface view takes effect only on this interface.

  • The interval set in the interface view takes precedence over the interval set in the system view.

Procedure

  • Configure the global traffic statistics collection intervals in the system view.
    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      set flow-stat interval interval-time

      The global traffic statistics collection interval is set.

      By default, the global traffic statistics collection interval is 300s.

  • Configure the traffic statistics collection interval on an interface.
    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      interface interface-type interface-number

      The interface view is displayed.

    3. Run:

      set flow-stat interval interval-time

      The traffic statistics collection interval is set on the interface.

      By default, the traffic statistics collection interval on an interface is 300s.

Enabling or Disabling an Interface

Context

After modifying parameters of an interface, run the shutdown and undo shutdown commands, or run the restart command to make the modification take effect.

NOTE:
  • Running the shutdown and undo shutdown commands is equivalent to running the restart command. Running the shutdown command does not modify or delete interface configurations..
  • A NULL interface is always Up and cannot be enabled or disabled by commands.
  • A loopback interface is always Up and cannot be enabled or disabled by commands.

Procedure

  • Disable an interface.
    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      interface interface-type interface-number

      The interface view is displayed.

    3. Run:

      shutdown

      The interface is disabled.

      By default, an interface is enabled.

      • Disabling an interface during data transmission will cause data frame loss or service interruption. Exercise caution when you use the shutdown command.

      • If you run the shutdown command in the Eth-Trunk interface view, all Eth-Trunk member interfaces are disabled.

  • Enable an interface.
    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      interface interface-type interface-number

      The interface view is displayed.

    3. Run:

      undo shutdown

      The interface is enabled.

      By default, an interface is enabled.

Checking the Configuration

Procedure

  • Run the display interface [ interface-type [ interface-number ] ] command to check information about an interface, including interface running status, basic interface configuration, and packet forwarding on the interface.
  • Run the display interface brief [ main ] command to check brief information about interfaces, including the physical status, protocol status, bandwidth usage in the inbound and outbound directions during a certain period, and the number of error packets sent and received.
  • Run the display ip interface [ interface-type interface-number ] command to check the IP configuration of an interface.
  • Run the display default-parameter interface interface-type interface-number command to check the default configuration of an interface.
  • Run the display interface description [ interface-type [ interface-number ] ] command to check the description of an interface.
  • Run the display interface [ interface-type ] counters { inbound | outbound } command to check statistics about packets received and transmitted on a physical interface.
Translation
Download
Updated: 2019-01-11

Document ID: EDOC1000176006

Views: 115626

Downloads: 309

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