R3204P16-HP Load Balancing Module Network Management Command Reference-6PW101
14
Default level
2: System level
Parameters
bridge: Specifies the Layer 2 mode.
route: Specifies the Layer 3 mode.
Description
Use the port link-mode command to change the working mode of the Ethernet interface.
Use the undo port link-mode command to restore the default.
NOTE:
A
fter you chan
g
e the operatin
g
mode of an Ethernet interface, all the settin
g
s of the Ethernet interface are
restored to their defaults under the new operating mode.
Examples
# Configure Ten-GigabitEthernet 0/0 to operate in Layer 2 mode.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 0/0
[Sysname-Ten-GigabitEthernet0/0] display this
#
interface Ten-GigabitEthernet0/0
port link-mode route
#
return
[Sysname-Ten-GigabitEthernet0/0] port link-mode bridge
[Sysname-Ten-GigabitEthernet0/0] display this
#
interface Ten-GigabitEthernet0/0
port link-mode bridge
#
return
NOTE:
The display this command displays the configuration that takes effect in the current view.
reset counters interface
Syntax
reset counters interface [ interface-type [ interface-number | interface-number.subnumber ] ]
View
User view
Default level
2: System level