evi network-id

Use evi network-id to assign a network ID to an EVI tunnel interface.

Use undo evi network-id to remove the network ID.

Syntax

evi network-id number

undo evi network-id

Default

No network ID is assigned to any EVI tunnel interface.

Views

Tunnel interface view

Predefined user roles

network-admin

mdc-admin

Parameters

number: Specifies a network ID in the range of 1 to 16777215.

Usage guidelines

An edge device can belong to multiple EVI networks. Each EVI network is uniquely identified by a network ID.

Each edge device has only one EVI tunnel in each EVI network. To assign an edge device to an EVI network, you must create an EVI tunnel interface and assign the network ID of the EVI network to the EVI tunnel interface.

Assign the same network ID to the EVI tunnel interfaces of all edge devices in an EVI network.

Examples

# Assign EVI network ID 123 to the EVI tunnel interface Tunnel 0.

<Sysname> system-view
[Sysname] interface tunnel 0 mode evi
[Sysname-Tunnel0] evi network-id 123