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

AR Router Troubleshooting Guide

This Product Documentation provides guidance for maintaining AR Enterprise Router, covering common information collection and fault diagnostic commands, typical fault troubleshooting guide, and troubleshooting.
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).
How Do I Change the Working Mode of an Interface from Layer 2 Mode to Layer 3 Mode?

How Do I Change the Working Mode of an Interface from Layer 2 Mode to Layer 3 Mode?

Procedure

<Huawei> system-view
[Huawei] interface GigabitEthernet 0/0/0
[Huawei-GigabitEthernet0/0/0] undo portswitch

More Information

  • By default, Layer 2 interfaces on a router work in Layer 2 mode. After switching the working mode of an interface from Layer 2 mode to Layer 3 mode, you can run the portswitch command to switch the working mode of the interface back to Layer 2 mode.

  • The interval at which the working mode of an interface is switched between Layer 2 and Layer 3 modes repeatedly cannot be less than 30s.

  • In versions earlier than V200R009, interfaces on Layer 2 cards cannot be switched to Layer 3 interfaces. The working modes of all interfaces on the 24GE Ethernet LAN cards of V200R009 and later versions can be switched from Layer 2 mode to Layer 3 mode. After the reserved VLAN ID of the 9ES2 Ethernet LAN card (excluding the 9ES2 Ethernet LAN cards installed on the AR1200 series and AR2204E routers and AR1200-S series routers) is delivered using the set reserved-vlan command, the working modes of all interfaces on the card can be switched from Layer 2 mode to Layer 3 mode.

  • In versions earlier than V200R009, the working mode of Layer 3 interfaces cannot be switched to Layer 2 mode.

    For the AR2220E running V200R009C00SPC302, AR2240 series, and AR3200 series routers (excluding the AR2240C), the working modes of all Layer 3 Ethernet interfaces on the SRU, 4GECS WAN card, and 2 x 10GL WAN interface card can be switched from Layer 3 mode to Layer 2 mode using the portswitch command. After the working modes of the Layer 3 Ethernet interfaces are switched from Layer 3 mode to Layer 2 mode, the interfaces support only VXLAN services.

  • FE and GE interfaces can be Layer 2 interfaces. You can configure an IP address for a Layer 2 interface only after the working mode of the interface is switched to Layer 3 mode.
Table 29-45 Routers and interfaces supporting switching from Layer 2 mode to Layer 3 mode

Device Model

Interface

AR120 series (excluding the AR129CGVW-L) and AR150 series

AR120-S series running versions earlier than R7, AR151-S, AR151W-P-S, and AR151G-U-S

Eth0/0/0 to Eth0/0/3

AR100 series, AR160 series, and AR129CGVW-L

AR151-S2, AR100-S series, AR110-S series, AR120-S series, and AR160-S series

GE0/0/0 to GE0/0/3

AR200 series, AR1220, AR1220V, AR1220W, AR1220VW, and AR1220F

AR200-S series, AR1220-S, AR1220W-S, and AR1220F-S series

Eth0/0/0 to Eth0/0/7

AR1220C, AR1220E, AR1220EV, and AR1220EVW

AR1220E-S

GE0/0/0 to GE0/0/7

AR2201-48FE and AR2202-48FE

AR2201-48FE-S

Eth0/0/0 and Eth0/0/47

AR2204-51GE-P, AR2204-51GE-R, and AR2204-51GE

GE0/0/3 to GE0/0/50

AR2204-27GE-P and AR2204-27GE

AR2204-27GE-S

GE0/0/3 to GE0/0/26

Table 29-46 Routers and interfaces supporting switching from Layer 2 mode to Layer 3 mode

Device Model

Interface

AR550C-4GE, AR503EW, AR503EDGW-Lc, AR509CG-Lt, AR509CG-Lc, AR509G-Lc, AR515GW-LM9-D, and AR509G-L-D-H

GE0/0/0 to GE0/0/3

AR502EG-L, AR502CG-L, and AR502EGW-L

GE0/0/0 and GE0/0/1

AR531-2C-H and AR531-F2C-H

Eth0/0/0, Eth0/0/6, Eth0/0/7, GE0/0/0, and GE0/0/1

NOTE:

The routing service value-added package for the AR530 series must be loaded.

AR531GPe-U-H and AR531G-U-D-H

Eth0/0/0, GE0/0/0, and GE0/0/1

AR550C-2C6GE

GE0/0/0 to GE0/0/5

Translation
Download
Updated: 2019-08-09

Document ID: EDOC1000079719

Views: 497541

Downloads: 4543

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