< Home

(Optional) Configuring the Authorization State of an Interface

Context

You can configure the authorization state of an interface to control whether an access user must be authenticated before accessing network resources. The interface supports the following authentication states:
  • Auto mode: The interface is initially in Unauthorized state and sends and receives EAPoL packets only. Users cannot access network resources. After a user passes the authentication, the interface turns to Authorized state. Users are allowed to access network resources in this state.
  • Authorized-force mode: The interface is always in Authorized state and allows users to access network resources without authentication.
  • Unauthorized-force mode: The interface is always in Unauthorized state and does not allow users to access network resources.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Configure the authorization state of an interface in the system or interface view.

    • In the system view:

    1. Run dot1x port-control { auto | authorized-force | unauthorized-force } interface { interface-type interface-number1 [ to interface-number2 ] } &<1-10>

      The authorization state of the interface is configured.

    • In the interface view:

    1. Run interface interface-type interface-number

      The interface view is displayed.

    2. Run dot1x port-control { auto | authorized-force | unauthorized-force }

      The authorization state of the interface is configured.

    By default, the authorization state of an interface is auto.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >