option-s46

Function

The option-s46 br-ipv6-address command binds a BR device name to an IPv6 delegation address pool. The NetEngine 8000 F adds OPTION_S46_BR (option 90) to an IPv6 prefix in a DCHPv6 Response message to be sent to a MAP-E user.

The option-s46 dmr-prefix command binds a DMR prefix name to an IPv6 delegation address pool. The NetEngine 8000 F adds OPTION_S46_DMR (option 91) to an IPv6 prefix in a DCHPv6 Response message to be sent to a MAP-T user.

The option-s46 fmr-flag disable command sets the F-flag bit to 0 in DHCPv6 OPTION_S46_RULE (option 89).

The undo option-s46 br-ipv6-address command deletes the binding between the BR device name and the IPv6 delegation address pool.

The undo option-s46 dmr-prefix command deletes the binding between the DMR prefix name and the IPv6 delegation address pool.

The undo option-s46 fmr-flag disable command sets the F-flag bit to 1 in DHCPv6 OPTION_S46_RULE (option 89).

By default, no binding is configured. The default F-flag bit is 1 in DHCPv6 OPTION_S46_RULE.

This command is supported only on the NetEngine 8000 F1A.

Format

option-s46 fmr-flag disable

option-s46 dmr-prefix dmr-prefix-name

option-s46 br-ipv6-address br-address-name

undo option-s46 fmr-flag disable

undo option-s46 dmr-prefix dmr-prefix-name

undo option-s46 br-ipv6-address br-address-name

Parameters

Parameter Description Value
dmr-prefix dmr-prefix-name

Specifies a DMR IPv6 prefix name.

The value is a string of 1 to 31 characters.

br-ipv6-address br-address-name

Specifies the name of a BR.

The value is a string of 1 to 31 characters.

Views

IPv6 address pool view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ipv6pool write

Usage Guidelines

Usage Scenario

In the MAP-E or MAP-T scenario, adevice uses IA-PD to assign MAP prefixes to MAP users. To bind a DMR prefix name to an IPv6 delegation address pool, run the option-s46 command. Upon receipt of the MAP prefix information, a MAP CE can compute routes for packets to be sent. For a MAP-E user, the BR device name must be bound to an IPv6 delegation address pool.For a MAP-T user, the DMR prefix name must be bound to an IPv6 delegation address pool.

Prerequisites

A local IPv6 address of a BR device has been configured using the br-ipv6-address command in the system view.

A DMR prefix has been configured using the dmr-prefix command in the system view.

Precautions

The option-s46 br-ipv6-address command is mutually exclusive with the option-s46 dmr-prefix command in the same IPv6 address pool.

The option-s46 br-ipv6-address command takes effect only for an IPv6 delegation address pool.

The option-s46 dmr-prefix command is mutually exclusive with the option-s46 br-ipv6-address command in the same IPv6 address pool.

The option-s46 br-ipv6-address command takes effect only for an IPv6 delegation address pool.

The option-s46 fmr-flag disable command takes effect only for an IPv6 delegation address pool.

Example

# Set the F-flag bit to 0 in DHCPv6 OPTION_S46_RULE (option 89).
<HUAWEI> system-view
[~HUAWEI] ipv6 pool huawei bas delegation
Info: Create an ipv6 pool.
[*HUAWEI-ipv6-pool-huawei] commit
[~HUAWEI-ipv6-pool-huawei] option-s46 fmr-flag disable
# Bind a BR device name to an IPv6 delegation address pool.
<HUAWEI> system-view
[~HUAWEI] br-ipv6-address br_name ipv6-address 2001:db8::1 prefix-length 96
[~HUAWEI] ipv6 pool huawei bas delegation
Info: Create an ipv6 pool.
[*HUAWEI-ipv6-pool-huawei] commit
[~HUAWEI-ipv6-pool-huawei] option-s46 br-ipv6-address br_name
# Bind a DMR prefix to an IPv6 delegation address pool.
<HUAWEI> system-view
[~HUAWEI] br-ipv6-address br_name ipv6-address 2001:db8::1 prefix-length 96
[~HUAWEI] ipv6 pool huawei bas delegation
Info: Create an ipv6 pool.
[*HUAWEI-ipv6-pool-huawei] commit
[~HUAWEI-ipv6-pool-huawei] option-s46 dmr-prefix br_name
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >