Huawei router Ethernet port configuration command

Source: Internet
Author: User

1. description
Set the Ethernet port description.

Description ethernet-description

No description

Parameter description]

Ethernet-description is the description string of the router ethernet interface.

Default condition]

The default description is Quidway RSeries Router and ethernet interface.

Command mode]

Ethernet Interface Configuration Mode

User Guide]

Description Sets the description of the Ethernet port. no description restores the default description of the Ethernet port.
Example]

Set the ethernet interface to QuidwayR2501 ethernet interface.

Quidway (config-if-Ethernet0) # description QuidwayR2501 ethernet interface

Related commands]

Show interface

2. duplex
Set the Ethernet port to work in half-duplex or full-duplex mode.

[No] duplex

Default condition]

Half duplex mode by default

Command mode]

Ethernet Interface Configuration Mode

User Guide]

Duplex sets the Ethernet port to work in full duplex mode, and no duplex restores the default working mode of the Ethernet port. When the vro Ethernet port is connected to the shared Hub, it must work in the half duplex mode. When the vro Ethernet port is connected to the switched Lan Switch and the Lan Switch is configured in the full duplex mode, work in full duplex mode.

Example]

Set the Ethernet interface description to full duplex mode.

Quidway (config-if-Ethernet0) # duplex

Related commands]

Show interface

3. loopback
Allow or prohibit Ethernet ports from internal and external echo.

[No] loopback

Default condition]

Disable the Ethernet port's internal self-ring and external echo.

Command mode]

Ethernet port interface configuration mode

User Guide]

The Ethernet port is set to internal self-ring and external echo only when some special function tests are conducted.
Example]

Allows the Ethernet port to enable internal self-ring and external echo.

Quidway (config-if-Ethernet0) # loopback

4. mtu
Sets the maximum transmission unit for an Ethernet port.

Mtu ethernet-mtu

No mtu

Parameter description]

Ethernet-m has been broken into segment ?~ 1500.

Default condition]

The default maximum transmission unit of the Ethernet port is:

The Ethernet_II frame format is 1500.
The Ethernet_SNAP frame format is 1492.
Command mode]

Ethernet Interface Configuration Mode

User Guide]

The maximum transmission unit of the Ethernet interface only affects the packet group and packet splitting of IP addresses on the Ethernet interface. When the Ethernet_II frame format is used, the maximum transmission unit can reach 1500. When the Ethernet_SNAP frame format is used, the maximum transmission unit can reach 1492.

Use the no mtu command to restore the default maximum transmission unit.

Example]

Set the maximum transmission unit of the Ethernet port to 1492.

Quidway (config-if-Ethernet0) # mtu 1492

Related commands]

Send-frame-type, show interface

5. send-frame-type
Sets the transmission frame format of IP packets at the Ethernet port.

Send-frame-type {Ethernet_II | Ethernet_SNAP}

No send-frame-type

Default condition]

The default IP message transmission frame format of the Ethernet port is Ethernet_II.

Command mode]

Ethernet Interface Configuration Mode

User Guide]

The Ethernet ports of the Quidway (R) series routers support four frame formats:

Ethernet_IIARPA)
Ethernet_SNAP
802.2
802.3
Ethernet_II and Ethernet_SNAP are used to support the IP protocol, and 802.2 and 802.3 are used to support the IPX protocol. The format of the received frame can be automatically recognized by the Ethernet port. Therefore, multiple frames can be received at the same time, but only one frame format can be sent at the same time.

The no send-frame-type COMMAND restores the default IP Message sending frame format.

Example]

Set the transmission frame format of the Ethernet port to Ethernet_SNAP.

Quidway (config-if-Ethernet0) # send-frame-type Ethernet_SNAP

Related commands]

Mtu, show interface

Related Articles]

  • Huawei router static route configuration command
  • Huawei router configuration file management command
  • Huawei router IP performance configuration command

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.