R2511-HP MSR Router Series Interface Command Reference(V5)

Table Of Contents
21
mode), and others can operate as either Layer 2 or Layer 3 Ethernet interfaces (you can set the link mode
to bridge or route).
After you change the link mode of an Ethernet interface, all settings are restored to their default values in
the new link mode.
Examples
# Configure Ethernet 1/1 to operate in Layer 2 mode.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] display this
#
interface Ethernet1/1
port link-mode route
#
Return
The output shows that Ethernet 1/1 operates in route mode.
[Sysname-Ethernet1/1] port link-mode bridge
[Sysname-Ethernet1/1] display this
#
interface Ethernet1/1
port link-mode bridge
#
Return
The output shows that Ethernet 1/1 is now operating in bridge mode.
NOTE:
The display this command displays the configuration that takes effect in the current view.
Related commands
port link-mode interface-list
port link-mode interface-list
Use port link-mode interface-list to change the link mode of Ethernet interfaces.
Syntax
port link-mode { bridge | route } interface-list
Views
System view
Default command level
2: System level
Parameters
bridge: Specifies the Layer 2 mode.
route: Specifies the Layer 3 mode.
interface-list: Specifies an Ethernet interface list, which can contain two Ethernet interfaces.