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.
Parameter | Description | Value |
---|---|---|
on |
Indicates that the O flag is set to 1. |
- |
off |
Indicates that the O flag is set to 0 |
- |
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.