map-rule (MAP instance view)

Function

The map-rule command binds a basic mapping rule (BMR) to a MAP instance.

The undo map-rule command deletes the binding between a BMR and a MAP instance.

By default, no BMR is bound to a MAP instance.

This command is supported only on the NetEngine 8000 F1A.

Format

map-rule rule-name

undo map-rule rule-name

Parameters

Parameter Description Value
rule-name

Specifies a BMR name.

The value is a string of 1 to 31 characters.

Views

MAP-E instance view, MAP-T instance view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
map write

Usage Guidelines

Usage Scenario

When the MAP-T or MAP-E function is configured, run the map rule command to bind a BMR to a MAP instance so that the BMR takes effect.

Precautions

  • A maximum of 256 BMRs can be bound to each MAP instance.
  • A BMR can only be bound to a single MAP instance.

Example

# Create a MAP-T instance named test, enter the MAP-T instance view, and bind a BMR named test to the instance.
<HUAWEI> system-view
[~HUAWEI] map rule test
[*HUAWEI-map-rule-test] rule-prefix 2001:db8:1::1 prefix-length 48 ipv4-prefix 10.1.1
.0 prefix-length 24 ea-length 16 psid-offset 4     
[*HUAWEI-map-rule-test] commit
[~HUAWEI-map-rule-test] quit
[~HUAWEI] map-t instance test id 1
[*HUAWEI-mapt-instance-test] map-rule test
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >