< Home

other-config-flag

Function

The other-config-flag command configures a rule to match RA messages against the O flag in RA messages.

The undo other-config-flag command deletes the rule used to match RA messages against the O flag in RA messages.

By default, no rule is configured to match RA messages against the O flag in RA messages.

Format

other-config-flag { on | off }

undo other-config-flag

Parameters

Parameter Description Value

on

Indicates that the O flag is set to 1.

-

off

Indicates that the O flag is set to 0

-

Views

IPv6 RA guard policy view

Default Level

2: Configuration level

Usage Guidelines

The O flag in an RA message determines whether users use stateful autoconfiguration to obtain information other than IPv6 addresses. When the O flag is set to 1, a user obtains information other than an IPv6 address using stateful autoconfiguration (for example, a DHCPv6 server). When the O flag is set to 0, a user obtains information other than an IPv6 address using stateless autoconfiguration.

After a rule is configured to match RA messages against the O flag in RA messages in the IPv6 RA guard policy view, the interface to which the policy is applied checks the O flag in the received RA messages and forwards the messages only when the messages match the rule. Otherwise, the interface discards the messages.

Example

# In the IPv6 RA guard policy p1, set the matching rule of the O flag to on. That is, users obtain information other than IPv6 addresses using stateful autoconfiguration.

<HUAWEI> system-view
[HUAWEI] nd raguard policy p1
[HUAWEI-nd-raguard-policy-p1] other-config-flag on
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >