Configuring a layer 2 interface

Procedure

  1. Change to the interface configuration context for the interface with the commandinterface.
  2. By default, interfaces are layer 3. To create a layer 2 interface, disable routing with the commandno routing.
  3. Set the interface MTU (maximum transmission unit) with the commandmtu.
  4. Review interface configuration settings with the command显示界面.