dmr-prefix (System view)

Function

The dmr-prefix command sets a default mapping rule (DMR) IPv6 prefix on a BR.

The undo dmr-prefix command deletes a DMR IPv6 prefix.

By default, no DMR IPv6 prefix is configured.

This command is supported only on the NetEngine 8000 F1A.

Format

dmr-prefix dmr-name ipv6-prefix ipv6-prefix prefix-length prefix-length

undo dmr-prefix dmr-name [ ipv6-prefix ipv6-prefix prefix-length prefix-length ]

Parameters

Parameter Description Value
dmr-name

Specifies a DMR IPv6 prefix name.

The value is a string of 1 to 31 characters.

ipv6-prefix ipv6-prefix

Specifies a DMR IPv6 prefix address of a MAP-T instance.

The value is a 32-bit hexadecimal number in the format of X:X:X:X:X:X:X:X.

prefix-length prefix-length

Specifies a DMR IPv6 prefix length of a MAP-T instance.

The value is an enumerated type and can be 32, 40, 48, 56, 64, or 96. The unit is byte.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
map write

Usage Guidelines

Usage Scenario

To set a DMR IPv6 prefix on a BR, run the dmr-prefix command in the system view. The prefix is used to verify and encapsulate MAP packets.

Precautions

  • A single IPv6 prefix can be set for each DMR.
  • The IPv6 prefix address is mutually exclusive with an interface IP address, an address in a BRAS address pool.

Example

# Configure a DMR IPv6 prefix named test in the system view and set the IPv6 prefix address to 2001:db8::1 and the prefix length to 64.
<HUAWEI> system-view
[~HUAWEI] dmr-prefix test ipv6-prefix 2001:db8::1 prefix-length 64
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >