Configuring the link mode of an Ethernet interface


[CAUTION: ]

CAUTION:

After you change the link mode of an Ethernet interface, all commands (except the shutdown command) on the Ethernet interface are restored to their defaults in the new link mode.


Interfaces operate differently depending on the hardware structure of interface cards. For a device:

You can set the link mode to bridge or route.

To change the link mode of an Ethernet interface:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter Ethernet interface view.

interface interface-type interface-number

N/A

3. Change the link mode of the Ethernet interface.

port link-mode { bridge | route }

The default setting is bridge.