Configuring an Authentication Mode for a Multi-Area Adjacency Interface

Configuring an authentication mode for a multi-area adjacency interface improves OSPF network security.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run ospf enable [ process-id ] area area-id

    OSPF is enabled on the interface.

  4. Run ospf enable multi-area area-id

    OSPF is enabled on the multi-area adjacency interface.

  5. Run either of the following commands:

    • Run the ospf authentication-mode simple [ plain plain-text | [ cipher ] cipher-text ] multi-area area-id command to configure simple authentication for the multi-area adjacency interface.

    • Run the ospf authentication-mode { md5 | hmac-md5 | hmac-sha256 } [ key-id { plain plain-text | [ cipher ] cipher-text } ] multi-area area-id command to configure ciphertext authentication for the multi-area adjacency interface.

    • Run the ospf authentication-mode keychain keychain-name multi-area area-id command to configure keychain authentication for the multi-area adjacency interface.

    • Run the ospf authentication-mode null multi-area area-id command to configure null authentication for the multi-area adjacency interface.

  6. Run commit

    The configuration is committed.

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