Table of Contents

Advertisement

Usage guidelines
Depending on the hardware structure of interface cards, some interfaces can operate only as Layer 2
Ethernet interfaces (in bridge mode), some can operate only as Layer 3 Ethernet interfaces (in route
mode), and others can operate as either Layer 2 or Layer 3 Ethernet interfaces (you can set the link mode
to bridge or route).
Configuring the port link-mode interface-list command in system view and configuring the port
link-mode command in Ethernet interface view lead to the same result. The difference is that the former
changes the link mode of multiple Ethernet interfaces in batch, and the latter changes the link mode of
one Ethernet interface at a time.
After you change the link mode of an Ethernet interface, all settings of the Ethernet interface are restored
to their defaults under the new link mode.
The link mode configuration for an Ethernet interface in system view and that in interface view supersede
each other, and the one configured last takes effect.
Examples
# Configure GigabitEthernet 4/0/1 through GigabitEthernet 4/0/5 to operate in bridge mode.
<Sysname> system-view
[Sysname] port link-mode bridge GigabitEthernet 4/0/1 to GigabitEthernet 4/0/5
# Configure GigabitEthernet 4/0/1 through GigabitEthernet 4/0/5 to operate in route mode.
<Sysname> system-view
[Sysname] port link-mode route gigabitethernet 4/0/1 to gigabitethernet 4/0/5

port-mode

Use port-mode to configure a 10-GE interface to operate in LAN or WAN mode.
Use undo port-mode to restore the default.
Syntax
port-mode { lan | wan }
undo port-mode
Default
A 10-GE interface operates in LAN mode.
Views
Ten-GigabitEthernet interface view
Default command level
2: System level
Parameters
lan: Configures the interface to operate in LAN mode. A port operating in LAN mode transmits Ethernet
packets and connects an Ethernet network.
wan: Configures the interface to operate in WAN mode. A port operating in WAN mode transmits SDH
packets and connects an SDH network. In addition, it supports only point-to-point packet transmission.
Examples
# Configure the interface Ten-GigabitEthernet 1/0/1 to operate in the WAN mode.
26

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hsr6600

Table of Contents