< Home

nd raguard attach-policy

Function

The nd raguard attach-policy command binds an IPv6 RA guard policy to an interface.

The nd raguard attach-policy command unbinds an IPv6 RA guard policy from an interface.

By default, no IPv6 RA guard policy is applied to an interface.

Format

nd raguard attach-policy policy-name

undo nd raguard attach-policy

Parameters

Parameter Description Value

policy-name

Specifies the name of an IPv6 RA guard policy.

The value must be the name of an existing IPv6 RA guard policy.

Views

Layer 2 Ethernet interface view, Eth-Trunk interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

After an IPv6 RA guard policy is bound to an interface, the interface filters received RA messages based on the matching rules configured in the policy.

Example

# Bind the IPv6 RA guard policy p1 to GE0/0/1.

<HUAWEI> system-view
[HUAWEI] nd raguard policy p1
[HUAWEI-nd-raguard-policy-p1] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] nd raguard attach-policy p1  
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >