< Home

Configuring an Interface Role

Context

Administrators can configure an interface role based on the network location of interfaces. If an interface is connected to a user host, administrators can configure the interface role of the interface as a host interface. If the interface is connected to a router, administrators can configure the interface role of the interface as a router interface.

  • If the interface role of an interface is a router interface, the system forwards RA messages.
  • If the interface role of an interface is a host interface, the system discards RA messages.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The Layer 2 interface view is displayed.

  3. Run nd raguard role { host | router }

    An interface role is configured on the interface for IPv6 RA guard.

    By default, no interface role is configured on an interface for IPv6 RA guard.

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