LISP commands -- allowed-locator

Use allowed-locator to configure an MS to permit only the specified RLOC address.

Use undo allowed-locator to remove the configuration.

Syntax

allowed-locator rloc-address

undo allowed-locator rloc-address

Default

An MS permits all RLOC addresses.

Views

IPv4 LISP site view

Predefined user roles

network-admin

mdc-admin

Parameters

rloc-address: Specifies an RLOC in dotted decimal notation.

Usage guidelines

For an ETR to successfully register with an MS, the RLOC addresses in the Map-Register messages sent by the ETR must be permitted by the MS.

This command applies only to MSs.

You can execute this command multiple times to specify a maximum of eight RLOC addresses.

Examples

# Configure the MS to permit the RLOC address 11.11.11.11.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] site site-1

[Sysname-lisp-site-site-1] allowed-locator 11.11.11.11

LISP commands -- authentication-mode

Use authentication-mode to set the authentication mode for an MS.

Use undo authentication-mode to restore the default.

Syntax

authentication-mode sha-1 authentication-key { ciphertext | plaintext } string

authentication-mode none

undo authentication-mode

Default

No authentication mode is set for an MS and the MS does not accept Map-Register messages.

Views

IPv4 LISP site view

Predefined user roles

network-admin

mdc-admin

Parameters

sha-1: Configures the MS to use SHA-1 to authenticate Map-Register messages sent by the ETRs.

ciphertext: Specifies a key in encrypted form.

plaintext: Specifies a key in plaintext form. For security purposes, the key specified in plaintext form will be stored in encrypted form.

string: Specifies the key. Its plaintext form is a case-sensitive string of 1 to 32 characters. Its encrypted form is a case-sensitive string of 33 to 73 characters.

none: Configures the MS to accept Map-Register messages without authentication.

Usage guidelines

This command applies only to MSs.

For an ETR to successfully register with an MS, make sure the MS and the ETR have the same authentication settings.

Examples

# Configure the MS to use SHA-1 and the plaintext key abc to authenticate Map-Register messages from the ETRs.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] site site-1

[Sysname-lisp-site-site-1] authentication-mode sha-1 authentication-key plaintext abc

Related commands

etr map-server

LISP commands -- database-mapping (dynamic-EID view)

Use database-mapping to configure an EID-to-RLOC mapping.

Use undo database-mapping to delete an EID-to-RLOC mapping.

Syntax

database-mapping eid-prefix prefix-length locator priority priority weight weight

undo database-mapping eid-prefix prefix-length locator

Default

No EID-to-RLOC mapping is configured.

Views

Dynamic-EID view

Predefined user roles

network-admin

mdc-admin

Parameters

eid-prefix prefix-length: Specifies an EID prefix and its length. The eid-prefix argument represents the EID prefix in dotted decimal notation. The prefix-length argument represents the prefix length in the range of 0 to 32.

locator: Specifies an RLOC address. Typically, a loopback interface's address is used.

priority priority: Specifies the priority of the RLOC address, in the range of 0 to 255.

weight weight: Specifies the weight of the RLOC address, in the range of 0 to 100.

Usage guidelines

A host is permitted to roam in and out only if its IP prefix is in the dynamic EID space.

Examples

# Configure an EID-to-RLOC mapping by setting the dynamic EID prefix to 10.1.1.0/24, RLOC address to 11.11.11.11, priority to 1, and weight to 50.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] dynamic-eid DE

[Sysname-lisp-dynamic-eid-DE] database-mapping 10.1.1.0 24 11.11.11.11 priority 1 weight 50

Related commands

roaming-eid-prefix

LISP commands -- database-mapping (LISP view/LISP-VRF view)

Use database-mapping to configure an EID-to-RLOC mapping.

Use undo database-mapping to delete an EID-to-RLOC mapping.

Syntax

database-mapping eid-prefix prefix-length locator priority priority weight weight

undo database-mapping eid-prefix prefix-length locator

Default

No EID-to-RLOC mapping is configured.

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Parameters

eid-prefix prefix-length: Specifies an EID prefix and its length. The eid-prefix argument represents the EID prefix in dotted decimal notation. The prefix-length argument represents the prefix length in the range of 0 to 32.

locator: Specifies an RLOC address. Typically, a loopback interface's address is used.

priority priority: Specifies the priority of the RLOC address, in the range of 0 to 255.

weight weight: Specifies the weight of the RLOC address, in the range of 0 to 100.

Usage guidelines

You can map a maximum of eight RLOC addresses to one EID prefix.

Examples

# Configure an EID-to-RLOC mapping by setting the EID prefix to 10.1.1.0/24, RLOC address to 11.11.11.11, priority to 1, and weight to 50.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] database-mapping 10.1.1.0 24 11.11.11.11 priority 1 weight 50

Related commands

eid-prefix

LISP commands -- ddt

Use ddt to enable the LISP delegated database tree (DDT) feature.

Use undo ddt to disable the LISP DDT feature.

Syntax

ddt

undo ddt

Default

The LISP DDT feature is disabled.

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

Execute this command in LISP view to enable the LISP DDT feature for the public LISP network.

Execute this command in LISP-VRF view to enable the LISP DDT feature for the LISP VRF instance.

Examples

# Enable the LIST DDT feature for the public LISP network.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] ddt

LISP commands -- ddt authoritative-prefix

Use ddt authoritative-prefix to configure a DDT node to be authoritative for an EID prefix.

Use undo ddt authoritative-prefix to remove the configuration.

Syntax

ddt authoritative-prefix { all | [ instance-id id ] [ eid-prefix eid-prefix prefix-length ] }

undo ddt authoritative-prefix { all | [ instance-id id ] [ eid-prefix eid-prefix prefix-length ] }

Default

A DDT node is not authoritative for any EID prefixes.

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Parameters

all: Specifies EID prefixes for all address spaces in all VRF instances.

instance-id id: Specifies a LISP VRF instance by its ID in the range of 0 to 16777215. If you do not specify an instance ID, LISP VRF instance 0 is specified.

eid-prefix eid-prefix prefix-length: Specifies an EID prefix and its length. The eid-prefix argument represents the EID prefix in dotted decimal notation. The prefix-length argument represents the prefix length in the range of 0 to 32. If you do not specify this option, all EID prefixes are specified.

Examples

# Configure the DDT node to be authoritative for the EID prefix 10.16.0.0/12 in instance 0.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] ddt authoritative-prefix eid-prefix 10.16.0.0 12

LISP commands -- ddt delegate

Use ddt delegate to configure the RLOC of a DDT child node and the EID prefix delegated to the DDT child node.

Use undo ddt delegate to remove the RLOC and delegated EID prefix for a DDT child node.

Syntax

ddt delegate child-locator { instance-id id [ eid-prefix eid-prefix prefix-length ] | eid-prefix eid-prefix prefix-length } [ map-server ]

undo ddt delegate child-locator { instance-id id [ eid-prefix eid-prefix prefix-length ] | eid-prefix eid-prefix prefix-length }

Default

No RLOC is configured for a DDT child node and no EID prefix is delegated to it.

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Parameters

child-locator: Specifies the RLOC of a DDT child node.

instance-id id: Specifies a LISP VRF instance by its ID in the range of 0 to 16777215. If you do not specify an instance ID, LISP VRF instance 0 is specified.

eid-prefix eid-prefix prefix-length: Specifies an EID prefix and its length. The eid-prefix argument represents the EID prefix in dotted decimal notation. The prefix-length argument represents the prefix length in the range of 0 to 32. If you do not specify this option, all EID prefixes are specified.

map-server: Specifies that the DDT child node is a DDT MS.

Usage guidelines

The EID prefix range specified by using this command must be in the EID prefix range specified by using the ddt authoritative-prefix command.

Examples

# Specify 172.16.0.1 as the RLOC of the DDT child node and delegate the EID prefix 10.16.0.0/16 to the DDT child node.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] ddt delegate 172.16.0.1 eid-prefix 10.16.0.0 16

LISP commands -- ddt map-server-peer

Use ddt map-server-peer to specify the RLOC of a DDT MS peer and the EID prefix for which the DDT MS peer is authoritative.

Use undo ddt map-server-peer to remove the configuration.

Syntax

ddt map-server-peer map-server-locator { [ instance-id id ] [ eid-prefix eid-prefix prefix-length ] }

undo ddt map-server-peer map-server-locator { [ instance-id id ] [ eid-prefix eid-prefix prefix-length ] }

Default

The RLOC of a DDT MS peer is not configured and the DDT MS peer is not authoritative for any EID prefixes.

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Parameters

map-server-locator: Specifies the RLOC of a DDT MS peer.

instance-id id: Specifies a LISP VRF instance by its ID in the range of 0 to 16777215. If you do not specify an instance ID, LISP VRF instance 0 is specified.

eid-prefix eid-prefix prefix-length: Specifies an EID prefix and its length. The eid-prefix argument represents the EID prefix in dotted decimal notation. The prefix-length argument represents the prefix length in the range of 0 to 32. If you do not specify this option, all EID prefixes are specified.

Usage guidelines

DDT MSs that are authoritative for the same EID prefix can be DDT MS peers to one another. You must use the ddt map-server-peer command to specify each DDT MS's RLOC and its peers' RLOCs.

For a DDT MS that has no peer, you also need to use this command to specify its RLOC.

The EID prefixes for which each DDT MS peer is authoritative must cover all EID prefixes for the LISP sites. The LISP sites configured on all DDT MS peers must be the same.

Examples

# Specify 172.20.1.2 as the RLOC of the DDT MS peer, and configure the DDT MS peer to be authoritative for the EID prefix 10.1.0.0/16.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] ddt

[Sysname-lisp] ddt map-server-peer 172.20.1.2 eid-prefix 10.1.0.0 16

LISP commands -- ddt root

Use ddt root to configure the RLOC of a DDT root node on a DDT MR.

Use undo ddt map-server-peer to remove the RLOC of a DDT root node.

Syntax

ddt root root-locator

undo ddt root root-locator

Default

The RLOC of a DDT root node is not configured.

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Parameters

root-locator: Specifies the RLOC of a DDT root node.

Examples

# Configure 1.1.1.1 as the RLOC of a DDT root node.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] ddt

[Sysname-lisp] ddt root 1.1.1.1

LISP commands -- description

Use description to configure a description for an IPv4 LISP site.

Use undo description to restore the default.

Syntax

description text

undo description

Default

The IPv4 LISP site does not have a description.

Views

IPv4 LISP site view

Predefined user roles

network-admin

mdc-admin

Parameters

text: Specifies a description, a case-sensitive string of 1 to 255 characters.

Usage guidelines

This command applies only to MSs.

Examples

# Configure the description as abc for the IPv4 LISP site.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] site site1

[Sysname-lisp-site-site1] description abc

LISP commands -- display lisp ddt

Use display lisp ddt to display LISP DDT configuration information.

Syntax

display lisp ddt [ default | vrf vrf-name ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

default: Displays LISP DDT configuration information for the public LISP network.

vrf vrf-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

Usage guidelines

If you do not specify any parameters, this command displays LISP DDT configuration information for all LISP VRF instances.

Examples

# Display LISP DDT configuration information for the public LISP network.

<Sysname> display lisp ddt

LISP-DDT configurations in public VRF:

DDT status: enabled

DDT roots: not configured

DDT delegated nodes/map-servers:

[0] 33.33.33.0/24 -> 172.20.1.2, P/W: 0/0, map-server-child

Authoritative EID-prefixes:

[0] 33.33.0.0/16

Table 1 Command output

Field | Description
LISP-DDT Configuration in public VRF/LISP-DDT Configuration in VRF vrfname | Indicates that the LISP DDT configuration information is for the public LISP network/LISP VRF instance.
DDT status | State of the LISP DDT feature: · enabled · disabled
DDT roots | Whether DDT root nodes are configured. If DDT root nodes are configured, this field displays the RLOCs of the DDT root nodes. If no DDT root node is configured, this field displays not configured.
DDT delegated nodes/map-servers | Attributes for DDT child nodes or DDT MSs.
[0] | ID of the instance to which the EID prefix belongs.
33.33.33.0/24 -> 172.20.1.2 | The EID prefix 33.33.33.0/24 is delegated to the DDT child node 172.20.1.2.
P/W | Priority/Weight.
map-server-child | The DDT child node is a DDT MS.
map-server-peer | The DDT child node is a DDT MS peer.
Authoritative EID-prefixes | EID prefixes for which the DDT node is authoritative.

LISP commands -- display lisp ddt referral-cache

Use display lisp ddt referral-cache to display LISP DDT referral cache entries.

Syntax

display lisp ddt referral-cache [ destination-EID | instance-id id destination-EID | delegation-hole | ms-ack | ms-not-registered | ms-referral | node-referral | not-authoritative ] [ default | vrf vrf-name ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

destination-EID: Specifies the destination EID address.

instance-id id: Specifies a LISP VRF instance by its ID in the range of 0 to 16777215. If you do not specify an instance ID, LISP VRF instance 0 is specified.

delegation-hole: Displays LISP DDT referral cache entries that contain delegation holes. A delegation hole means that a DDT node is authoritative for the requested EID prefix but none of its child nodes is authoritative for the EID prefix.

ms-ack: Displays LISP DDT referral cache entries that are learned from DDT MSs on which the requested EID prefixes are registered.

ms-not-registered: Displays LISP DDT referral cache entries that are learned from DDT MSs on which the requested EID prefixes are not registered.

ms-referral: Displays LISP DDT referral cache entries that are learned from the DDT MSs' parent nodes.

node-referral: Displays LISP DDT referral cache entries that are learned from the DDT nodes' parent nodes.

not-authoritative: Displays LISP DDT referral cache entries learned from DDT nodes which are not authoritative for the requested EID prefixes.

default: Displays LISP DDT referral cache entries for the public LISP network.

vrf vrf-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

Usage guidelines

If you do not specify any parameters, this command displays LISP DDT referral cache entries for all LISP VRF instances.

Examples

# Display LISP DDT referral cache entries for the public LISP network.

<Sysname> display lisp ddt referral-cache default

LISP-DDT referral cache in public VRF, 6 entries

[*] *, uptime: 00:30:21, roots:

-> 172.18.3.4, requests-sent: 1, no-responses: 0

[0] 33.33.33.0/24, uptime: 00:11:09, expire time: 23:48:50, ttl: 1440

Source: root 172.18.3.4, ms-referral, referrals:

-> 172.20.1.2, requests-sent: 5, no-responses: 0

[0] 33.33.33.34/31, uptime: 00:00:34, expires: 00:14:25, ttl: 15

Source: DDT node 172.20.1.2, delegation-hole

[0] 40.0.0.0/8, uptime: 00:12:09, expire time: 23:47:50, ttl: 1440

Source: root 172.18.3.4, node-referral, referrals:

-> 172.20.1.2, requests-sent: 1, no-responses: 0

[0] 40.1.0.0/16, uptime: 00:11:09, expire time: 23:48:50, ttl: 1440

Source: root 172.18.3.4, ms-ack, referrals:

-> 172.22.1.2, requests-sent: 1, no-responses: 0

[0] 50.1.0.0/16, uptime: 00:10:09, expire time: 23:49:50, ttl: 1440

Source: root 172.18.3.4, ms-not-registered, referrals:

-> 172.22.1.2, requests-sent: 0, no-responses: 0

Table 2 Command output

Field | Description
LISP-DDT referral cache in public VRF/LISP-DDT referral cache in VRF vrfname | Indicates that the LISP DDT referral cache entries are for the public LISP network/LISP VRF instance.
[*] * | EID prefixes in all instances.
roots | DDT root node.
-> 172.18.3.4 | The RLOC of the DDT root node is 172.18.3.4.
requests-sent | Number of Map-Request messages sent to the RLOC in the referral cache entry.
no-responses | Number of Map-Request messages to which no replies have been received.
[0] | ID of the instance to which the EID prefix in the referral cache entry belongs.
33.33.33.0/24 | EID prefix in the referral cache entry.
ttl | TTL of the referral cache entry, in seconds.
Source | Source from which the referral cache entry is learned.
root | RLOC of the DDT root node.
DDT node | RLOC of the non-DDT root node.
node-referral | The referral cache entry was learned from the parent node of the DDT node.
ms-referral | The referral cache entry was learned from the parent node of the DDT MS.
ms-ack | The referral cache entry was learned from a DDT MS on which the requested EID prefix is registered.
ms-not-registered | The referral cache entry was learned from a DDT MS on which the requested EID prefix is not registered.
delegation-hole | Referral cache entry with a delegation hole.
not-authoritative | The referral cache entry was learned from a DDT node that is not authoritative for the requested EID prefix.
referrals | RLOC information of the referral cache entry.
-> 172.20.1.2 | The RLOC in the referral cache entry is 172.20.1.2.

Related commands

reset lisp ddt referral-cache

LISP commands -- display lisp dynamic-eid

Use display lisp dynamic-eid to display information about the LISP dynamic EID detection policies and the detected dynamic EIDs.

Syntax

display lisp dynamic-eid [ name dynamic-eid-name ] [ default | vrf vrf-name ] [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

name dynamic-eid-name: Specifies a LISP dynamic EID detection policy by its name, a case-sensitive string of 1 to 63 characters. If you do not specify a LISP dynamic EID detection policy, this command displays information about all LISP dynamic EID detection policies.

default: Displays information for the public LISP network.

vrf vrf-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

verbose: Displays detailed information about the LISP dynamic EID detection policies and the detected dynamic EIDs. If you do not specify this keyword, the command displays brief information about the LISP dynamic EID detection policies and the detected dynamic EIDs.

Usage guidelines

If you do not specify any parameters, this command displays information about the LISP dynamic EID detection policies and the detected dynamic EIDs for all IPv4 LISP VRF instances.

Examples

# Display brief information about all LISP dynamic EID detection policies and the detected dynamic EIDs. (Applicable to routers.)

<Sysname> display lisp dynamic-eid

LISP dynamic EID information for public VRF

* = Dyn-EID learned by site-based Map-Notify

Dyn-EID name Dynamic EID Uptime Interface

a 1.1.1.2 00:01:05 GigabitEthernet1/0/1

# Display brief information about all LISP dynamic EID detection policies and the detected dynamic EIDs. (Applicable to switches.)

<Sysname> display lisp dynamic-eid

LISP dynamic EID information for public VRF

* = Dyn-EID learned by site-based Map-Notify

Dyn-EID name Dynamic EID Uptime Interface

a 1.1.1.2 00:01:05 Vlan-interface1

# Display detailed information about all LISP dynamic EID detection policies and the detected dynamic EIDs. (Applicable to routers.)

<Sysname> display lisp dynamic-eid verbose

LISP dynamic EID information for public VRF

Dynamic EID name: a

Database-mapping EID-prefix: 1.1.1.0/24, instance-id: 0, LSBs: 0x00000001

Locator: 10.10.10.4, Priority: 1, Weight: 1

Uptime: 00:03:53, State: up, local

Registering more-specific dynamic-EIDs

Map servers: 10.10.10.3

Site-based multicast Map-Notify group: 239.0.0.2

Roaming dynamic EIDs allowed: 2.2.2.0/24

Number of roaming dynamic EIDs discovered: 1

Last dynamic EID discovered: 1.1.1.2, 00:03:54 ago

Roaming dynamic EIDs:

10.10.10.3, GigabitEthernet1/0/1, uptime: 00:03:54

discovered by: ip packet reception

10.10.10.4, NULL0, uptime: 00:03:54

discovered by: EID-Notify

EID-Notify Locators:

172.16.0.2

# Display detailed information about all LISP dynamic EID detection policies and the detected dynamic EIDs. (Applicable to switches.)

<Sysname> display lisp dynamic-eid verbose

LISP dynamic EID information for public VRF

Dynamic EID name: a

Database-mapping EID-prefix: 1.1.1.0/24, instance-id: 0, LSBs: 0x00000001

Locator: 10.10.10.4, Priority: 1, Weight: 1

Uptime: 00:03:53, State: up, local

Registering more-specific dynamic-EIDs

Map servers: 10.10.10.3

Site-based multicast Map-Notify group: 239.0.0.2

Roaming dynamic EIDs allowed: 2.2.2.0/24

Number of roaming dynamic EIDs discovered: 1

Last dynamic EID discovered: 1.1.1.2, 00:03:54 ago

Roaming dynamic EIDs:

10.10.10.3, Vlan-interface1, uptime: 00:03:54

discovered by: ip packet reception

10.10.10.4, NULL0, uptime: 00:03:54

discovered by: EID-Notify

EID-Notify Locators:

172.16.0.2

Table 3 Command output

Field | Description
Locator | RLOC address.
priority | Priority of the RLOC address.
weight | Weight of the RLOC address.
Uptime | Time elapsed since the RLOC address became reachable.
state | State of the RLOC address.
Map-Notify group | Multicast address for Map-Notify messages.
Roaming dynamic EIDs allowed | Dynamic EID prefix range in which the dynamic EIDs are permitted to roam in.
Number of roaming dynamic EIDs discovered | Number of detected dynamic EIDs.
Last dynamic EID discovered | The most recently detected dynamic EID and time when the dynamic EID was detected.
Roaming dynamic EIDs | The detected dynamic EIDs.
Interface | Interface on which the dynamic EIDs were detected.
discovered by | How the roaming host was detected: · ip packet reception—Through IP packets. · arp packet reception—Through gratuitous ARP packets. · site-based Map-Notify—Through Map-Notify messages. · EID-Notify—Through EID-Notify messages.
EID-Notify Locators | RLOC addresses that are carried in the EID-Notify message.

Related commands

reset lisp dynamic-eid

LISP commands -- display lisp ipv4

Use display lisp ipv4 to display IPv4 LISP configuration information.

Syntax

display lisp ipv4 [ default | vrf vrf-name ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

default: Displays the public LISP network configuration information.

vrf vrf-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

Usage guidelines

If you do not specify any parameters, this command displays configuration information for all LISP VRF instances.

Examples

# Display the public LISP network configuration information.

<Sysname> display lisp ipv4 default

LISP IP Configuration Information for Public VRF (iid 0)

Ingress Tunnel Router (ITR): disabled

Egress Tunnel Router (ETR): disabled

Proxy-ITR Router (PITR): disabled

Proxy-ETR Router (PETR): disabled

Locator VRF: default

LISP-NAT Interworking: disabled

ITR send Map-Request: disabled

ITR send Data-Probe: disabled

LISP ALT-VRF: not configured

ETR glean mapping: disabled, verify disabled

ETR accept mapping data: disabled, verify disabled

ETR Map-Cache TTL: 1440 minutes

Shortest EID-prefix allowed: /16

Locator Reachability Algorithms:

Echo-nonce algorithm: disabled

TCP-counts algorithm: disabled

RLOC-probe algorithm: disabled

Static mappings configured: 0

Map-Cache limit: 0xFFFFFFFF

Map-Cache size: 0

Map-Resolver (MR): disabled

Map-Server (MS): disabled

Table 4 Command output

Field | Description
LISP IP Configuration Information for Public VRF/LISP IP Configuration Information for VRF vrfname | Indicates that the configuration information is for the public LISP network/LISP VRF instance.
iid | Instance ID.
Ingress Tunnel Router (ITR) | State of the ITR feature: · enabled · disabled
Egress Tunnel Router (ETR) | State of the ETR feature: · enabled · disabled
Proxy-ITR Router (PITR) | State of the PITR feature: · enabled · disabled
Proxy-ETR Router (PETR) | State of the PETR feature: · enabled · disabled
Locator VRF | Name of the LISP VRF instance that the RLOC address space belongs. If this filed displays default, the RLOC address space belongs to the public LISP network.
LISP-NAT Interworking | State of the NAT feature: · enabled · disabled
ITR send Map-Request | Whether the feature of ITR sending Map-Request messages is enabled: · enabled · disabled
ITR send Data-Probe | Whether the feature of ITR sending data-probe messages is enabled: · enabled · disabled
LISP ALT-VRF | State of the Alternative Topology (ALT) VRF feature: · vrfname—Name of the ALT VRF. · not configured—The ALT VRF feature is not configured.
ETR glean mapping | Whether the feature of ETR gleaning EID-to-RLOC mappings from LISP encapsulated data packets is enabled: · enabled · disabled Whether the feature of ETR verifying the gleaned EID-to-RLOC mappings is enabled: · verify enabled · verify disabled
ETR accept mapping data | Whether the feature of ETR accepting the mapping information in Map-Request messages is enabled: · enabled · disabled Whether the feature of ETR verifying the mapping information is enabled: · verify enabled · verify disabled
ETR Map-Cache TTL | TTL value in Map-Reply and Map-Register messages, in minutes.
Shortest EID-prefix allowed | The minimum prefix length permitted by an ITR for EIDs in Map-Reply messages.
Locator Reachability Algorithms | Locator reachability detection algorithm: · Echo-nonce algorithm · TCP-counts algorithm · RLOC-probe algorithm
Echo-nonce algorithm | State of the Echo-nonce algorithm: · enabled · disabled
TCP-counts algorithm | State of the TCP-counts algorithm: · enabled · disabled
RLOC-probe algorithm | State of the RLOC-probe algorithm: · enabled · disabled
Static mappings configured | Number of static mapping cache entries.
Map-Cache limit | Maximum number of mapping cache entries that can be created.
Map-Cache size | Number of existing mapping cache entries.
Map-Resolver (MR) | State of the MR feature: · enabled · disabled
Map-Server (MS) | State of the MS feature: · enabled · disabled

LISP commands -- display lisp ipv4 database

Use display lisp ipv4 database to display IPv4 LISP local EID prefix information.

Syntax

display lisp ipv4 database [ destination-eid-prefix [ prefix-length ] ] [ default | vrf vrf-name ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

destination-eid-prefix [ prefix-length ]: Specifies a local EID prefix in dotted decimal notation. The prefix-length argument specifies the prefix length in the range of 0 to 32. If you do not specify a local EID prefix, this command displays all IPv4 LISP local EID prefix information.

default: Displays information about the local EID prefixes for the public IPv4 LISP network.

vrf vrf-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

Usage guidelines

This command applies only to ETRs.

If you do not specify any parameters, this command displays information about the local EID prefixes for all IPv4 LISP VRF instances.

Examples

# Display information about the local EID prefixes for the public IPv4 LISP network.

<Sysname> display lisp ipv4 database default

LISP ETR IP Mapping Database for Public VRF (iid 0), 1 entries

EID-prefix: 192.13.1.0/24, instance-id: 0, LSBs: 0x00000007, Sync Flags: 0x0001

Locator: 1.1.1.1, priority: 1, weight: 10

Uptime: 00:17:40, state: up, local

Data in/out: 0/0

Locator: 11.11.11.11, priority: 1, weight: 10

Uptime: 00:17:40, state: up, local

Data in/out: 0/0

Locator: 192.12.1.1, priority: 1, weight: 10

Uptime: 00:17:40, state: up, local

Data in/out: 0/0

Table 5 Command output

Field | Description
LISP ETR IP Mapping Database for Public VRF/LISP ETR IP Mapping Database for VRF vrfname | Indicates that the local EID prefix information is for the public LISP network/LISP VRF instance.
iid | Instance ID.
entries | Number of EID prefixes.
LSBs | The locator status bits.
Sync Flags | EID synchronization flag. 0x0001 means that the EIDs are synchronized to the kernel.
Locator | RLOC address for the EID.
priority | Priority of the RLOC address.
weight | Weight of the RLOC address.
Uptime | Time during which the RLOC address is reachable.
Downtime | Time during which the RLOC address is unreachable.
state | State of the RLOC address: · up · down · admin-down · local
Data in/out | Number of encapsulated/decapsulated data packets.

LISP commands -- display lisp ipv4 data-cache

Use display lisp ipv4 data-cache to display IPv4 LISP data cache entries.

Syntax

display lisp ipv4 data-cache [ destination-eid-prefix ] [ default | vrf vrf-name ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

destination-eid-prefix: Specifies a destination EID prefix in dotted decimal notation. If you do not specify a destination EID prefix, this command displays all IPv4 LISP data cache entries.

default: Displays data cache entries for the public LISP network.

vrf vrf-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

Usage guidelines

This command applies only to ITRs.

If you do not specify any parameters, this command displays data cache entries for all IPv4 LISP VRF instances.

Examples

# Display data cache entries in the IPv4 LISP VRF instance red.

<Sysname> display lisp ipv4 data-cache vrf red

LISP IP Mapping Data Cache for VRF red (iid 13), 1 entries

192.23.1.3, uptime: 00:00:05, state: incomplete, nonce: 0x8a39f-0x12faf

Table 6 Command output

Field | Description
LISP IP Mapping Data Cache for Public VRF/LISP IP Mapping Data Cache for VRF vrfname | Indicates that the data cache entries are for the public LISP network/LISP VRF instance.
iid | Instance ID.
entries | Number of data cache entries.
uptime | Time when the data cache entry was created.
state | State of the data cache entry: · Complete—The ITR received a Map-Reply message. · incomplete—The ITR did not receive a Map-Reply message.

Related commands

reset lisp ipv4 data-cache

LISP commands -- display lisp ipv4 map-cache

Use display lisp ipv4 map-cache to display IPv4 LISP mapping cache entries.

Syntax

display lisp ipv4 map-cache [ destination-eid-prefix [ prefix-length ] ] [ default | vrf vrf-name ] [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

destination-eid-prefix [ prefix-length ]: Specifies a destination EID prefix in dotted decimal notation. The prefix-length argument specifies the prefix length in the range of 0 to 32. If you do not specify a destination EID prefix, this command displays all IPv4 LISP mapping cache entries.

default: Displays mapping cache entries for the public LISP network.

vrf vrf-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

verbose: Displays detailed information about IPv4 LISP mapping cache entries. If you do not specify this keyword, the command displays brief information about IPv4 LISP mapping cache entries.

Usage guidelines

If you do not specify any parameters, this command displays mapping cache entries for all IPv4 LISP VRF instances.

Examples

# Display mapping cache entries for the public LISP network.

<Sysname> display lisp ipv4 map-cache default verbose

LISP IP Mapping Cache for Public VRF (iid 0), 1 entries

192.23.1.0/24, uptime: 00:01:13, expires: 01:58:46, via map-reply

Last activity: 00:00:39

State: complete, last modified: 00:01:13, map-source: 192.22.1.3

Locator Uptime State Priority/ Data Control

Weight in/out in/out

3.3.3.3 00:01:13 up 1/10 0/4 0/0

Last up/down state change: 00:01:13, state change count: 1

Last data packet in/out: never/00:00:39

Last control packet in/out: never/never

Last priority/weight change: never/never

Sync Flags: 0x0003

TnlID: 0x1000000

192.22.1.3 00:01:13 up 1/10 3/0 1/0

Last up/down state change: 00:01:13, state change count: 1

Last data packet in/out: 00:00:39/never

Last control packet in/out: 00:01:13/never

Last priority/weight change: never/never

Sync Flags: 0x0003

TnlID: 0x2000001

Table 7 Command output

Field | Description
LISP IP Mapping Cache for Public VRF/LISP IP Mapping Cache for VRF vrfname | Indicates that the mapping cache entries are for the public LISP network/LISP VRF instance.
iid | Instance ID.
entries | Number of mapping cache entries.
uptime | Time elapsed since the mapping cache entry was created.
expires | Mapping cache entry aging time.
via | How the mapping cache entry was created: · static—Statically configured. · map-reply—Learned from a Map-Reply message. · map-request—Learned from a Map-Request message.
Last activity | Time period during which the mapping cache entry was used for traffic routing and forwarding (traffic input/output) for the most recent time.
State | State of the mapping cache entry: · complete—The mapping cache entry is validated. · tentative—The mapping cache entry is tentative.
last modified | Most recent mapping cache entry modification time.
map-source | Source IP address of the Map-Request or Map-Reply message that was used to create the mapping cache entry. This field displays local if the mapping cache entry was statically configured.
Locator | RLOC address.
Uptime | Time elapsed since the RLOC address became reachable.
State | State of the RLOC address: · up · down · no-route
Priority/ Weight | Priority/Weight of the RLOC address.
Data in/out | Number of encapsulated/decapsulated data packets.
Control in/out | Number of received/sent LISP control messages.
Last up/down state change | Time elapsed since the last time the RLOC address state changed.
Last data packet in/out | Most recent data packet encapsulation/decapsulation time.
Last control packet in/out | Most recent LISP control message receiving/sending time.
Last priority/weight change | Most recent RLOC address priority/weight changing time.
Sync Flags | RLOC synchronization flag: · 0x0001—The RLOC addresses are synchronized to RIB. · 0x0002—The RLOC addresses are synchronized to the LINUX kernel.
TnlID | ID of the tunnel for the RLOC address.

Related commands

reset lisp ipv4 map-cache

LISP commands -- display lisp ipv4 statistics

Use display lisp ipv4 statistics to display IPv4 LISP statistics.

Syntax

display lisp ipv4 statistics [ default | vrf vrf-name ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

default: Displays the public LISP network statistics.

vrf vrf-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

Usage guidelines

If you do not specify any parameters, this command displays statistics about all IPv4 LISP VRF instances.

Examples

# Display the public IPv4 LISP network statistics.

<Sysname> display lisp ipv4 statistics default

LISP IP Statistics Information for Public VRF (iid 0) - last cleared: never

Control Packets:

Map-Requests in/out: 1/9

Encapsulated Map-Requests in/out: 1/9

RLOC-probe Map-Requests in/out: 0/0

SMR-based Map-Requests in/out: 0/0

Map-Replies in/out: 1/1

Authoritative in/out: 1/1

Non-authoritative in/out: 0/0

Negative Map-Replies in/out: 0/0

RLOC-probe Map-Replies in/out: 0/0

Map-Registers in/out: 0/121

Authentication failures: 0

Map-Notifies in/out: 0/0

Authentication failures: 0

Map-Notify-Acks in/out: 0/0

Errors:

Map-Request format errors: 0

Map-Reply format errors: 0

Map-Reply spoof alerts: 0

Table 8 Command output

Field | Description
LISP IP Statistics Information for Public VRF/LISP IP Statistics Information for VRF vrfname | Indicates that the statistics are for the public LISP network/LISP VRF instance.
iid | Instance ID.
last cleared | Most recent statistics clearing time.
Control Packets | LISP control messages.
Map-Requests in/out | Number of received/sent Map-Request messages.
Encapsulated Map-Requests in/out | Number of received/sent encapsulated Map-Request messages.
RLOC-probe Map-Requests in/out | Number of received/sent RLOC-probe Map-Request messages.
SMR-based Map-Requests in/out | Number of received/sent SMR-based Map-Request messages.
Map-Replies in/out | Number of received/sent Map-Reply messages.
Authoritative in/out | Number of received/sent authoritative Map-Reply messages.
Non-authoritative in/out | Number of received/sent non-authoritative Map-Reply messages.
Negative Map-Replies in/out | Number of received/sent negative Map-Reply messages.
RLOC-probe Map-Replies in/out | Number of received/sent RLOC-probe Map-Reply messages.
Map-Registers in/out | Number of received/sent Map-Register messages.
Authentication failures | Number of Map-Register message authentication failures.
Map-Notifies in/out | Number of received/sent Map-Notify messages.
Authentication failures | Number of Map-Notify message authentication failures.
Map-Notify-Acks in/out | Number of received/sent Map-ACK messages.
Errors | Number of error data packets.
Map-Request format errors | Number of Map-Request messages with incorrect format.
Map-Reply format errors | Number of Map-Reply messages with incorrect format.
Map-Reply spoof alerts | Number of unsolicited Map-Reply messages.

Related commands

reset lisp ipv4 statistics

LISP commands -- display lisp site

Use display lisp site to display IPv4 LISP site information.

Syntax

display lisp site [ destination-eid-prefix [ prefix-length ] | name site-name ] [ default | vrf vrf-name ] [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

destination-eid-prefix [ prefix-length ]: Specifies a destination EID prefix in dotted decimal notation. The prefix-length argument specifies the prefix length in the range of 0 to 32. If you do not specify a destination EID prefix, this command displays all IPv4 LISP site information.

name site-name: Specifies an IPv4 LISP site by its name, a case-sensitive string of 1 to 63 characters. If you do not specify a LISP site, this command displays all IPv4 LISP site information.

default: Displays information about LISP sites for the public LISP network.

vrf vrf-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

verbose: Displays detailed information about IPv4 LISP sites. If you do not specify this keyword, the command displays brief information about IPv4 LISP sites.

Usage guidelines

If you do not specify any parameters, this command displays information about LISP sites in all IPv4 LISP VRF instances.

Examples

# Display brief information about IPv4 LISP sites for the public LISP network.

<Sysname> display lisp site default

LISP Site Registration Information for Public VRF

Site Name Last Actively Who last EID-prefix Inst

Registered Registered Registered ID

site1 never no -- 192.13.1.0/24 0

00:22:39 no 192.12.1.1 192.13.1.0/24-1 13

site2 never no -- 192.23.1.0/24 0

00:00:39 yes 192.22.1.3 192.23.1.0/24 13

Table 9 Command output

Field | Description
LISP Site Registration Information for Public VRF/LISP Site Registration Information for VRF vrfname | Indicates that the site information is for the public LISP network/LISP VRF instance.
Last registered | Most recent EID prefix registration time.
Actively Registered | Whether the EID prefix is registered: · yes · no
Who last registered | ETR that most recently registered the EID prefix.
EID-prefix | EID prefix configured for the LISP site. -cnt indicates the number of EID prefixes that are more specific than the configured EID prefix.
Inst ID | ID of the instance to which the EID prefix belongs.

# Display detailed information about the IPv4 LISP sites for the public network.

<Sysname> display lisp site default verbose

LISP Site Registration Information for Public VRF

Site name: site1

Description: none configured

Allowed configured locators: any

Configured EID-prefix: 192.13.1.0/24, instance-id: 13

Currently registered: yes

First registered: 02:47:44

Last registered: 00:00:07

Who last registered: 192.12.1.1

Routing table tag: 0

Proxy Replying: no

Wants Map-Notifications: no

Registered TTL: 120 minutes

Registered locators:

1.1.1.1 (LR), priority: 1, weight: 10

11.11.11.11 (LR), priority: 1, weight: 10

192.12.1.1 (LR), priority: 1, weight: 10

Registration errors:

Authentication failures: 0

Allowed locators mismatch: 0

More-specific EID-prefix: 192.13.1.9/32, instance-id: 13

Currently registered: yes

First registered: 00:00:04

Last registered: 00:00:04

Who last registered: 192.168.10.1

Routing table tag: 0

Proxy Replying: no

Wants Map-Notifications: no

Registered TTL: 1440 minutes

Registered locators:

192.168.10.1 (LR), priority: 1, weight: 1

Registration errors:

Authentication failures: 0

Allowed locators mismatch: 0

Table 10 Command output

Field | Description
Description | Description of the LISP site. This field displays none configured if no description is configured for the LISP site.
Allowed configured locators | RLOC addresses that are permitted to be registered. This field displays any if all RLOC addresses are permitted.
Configured EID-prefix | EID prefix configured for the LISP site.
instance-id | ID of the instance to which the EID prefix belongs.
Currently registered | Whether the EID prefix is registered: · yes · no
First registered | Time when the EID prefix was registered for the first time.
Proxy Replying | Whether the registrant accepts replies from an MS proxy: · yes · no
Wants Map-Notifications | Whether the registrant requires Map-Notify messages: · yes · no
Registered TTL | TTL value for the registered EID mapping entry, in minutes.
Registered locators | Registered RLOC address for the EID prefix: · L—RLOC address of the registrant. · R—The RLOC address of the registrant is routable. · priority Locator—Priority of the RLOC address. · weight Locator—Weight of the RLOC address.
Registration errors | Number of registration errors.
Authentication failures | Number of authentication failures.
Allowed locators mismatch | Number of RLOCs that failed to match the permitted RLOC addresses.
More-specifics registered | Number of EID prefixes that are more specific than the configured EID prefix.
More-specific EID-prefix | EID prefixes that are more specific than the configured EID prefix.

Related commands

reset lisp lisp site

LISP commands -- dynamic-eid

Use dynamic-eid to create a dynamic EID detection policy and enter its view, or enter the view of an existing dynamic EID detection policy.

Use undo dynamic-eid to delete a dynamic EID detection policy and all configuration in its view.

Syntax

dynamic-eid dynamic-eid-name

undo dynamic-eid dynamic-eid-name

Default

No dynamic EID detection policies exist.

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Parameters

dynamic-eid-name: Assigns a name to the dynamic EID detection policy, a case-sensitive string of 1 to 63 characters.

Usage guidelines

Only the hosts that match the specified dynamic EID detection policy are permitted to roam.

Examples

# Create the dynamic EID detection policy DE and enter its view.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] dynamic-eid DE

[Sysname-lisp-dynamic-eid-DE]

LISP commands -- eid-notify

On an FHR:

Use eid-notify to enable the FHR to send dynamic EID information and set the authentication mode.

Use undo eid-notify to disable the FHR from sending dynamic EID information.

On an xTR:

Use eid-notify to enable the xTR to accept dynamic EID information and set the authentication mode.

Use undo eid-notify to disable the xTR from accepting dynamic EID information.

Syntax

On an FHR:

eid-notify xtr-address authentication-mode { none | sha-1 authentication-key { ciphertext | plaintext } string }

undo eid-notify xtr-address

On an xTR:

eid-notify authentication-mode { none | sha-1 authentication-key { ciphertext | plaintext } string }

undo eid-notify authentication-mode

Default

An FHR does not send dynamic EID information, and an xTR does not accept dynamic EID information.

Views

Dynamic-EID view

Predefined user roles

network-admin

mdc-admin

Parameters

xtr-address: Specifies the IP address of an xTR in the LISP site.

authentication-mode none: Enables the FHR to send dynamic EID information or the xTR to receive EID information without authentication.

authentication-mode sha-1: Specifies the SHA-1 authentication mode.

authentication-key ciphertext: Specifies a key in encrypted form.

authentication-key plaintext: Specifies a key in plaintext form. For security purposes, the key specified in plaintext form will be stored in encrypted form.

string: Specifies the key. Its plaintext form is a case-sensitive string of 1 to 32 characters. Its encrypted form is a case-sensitive string of 33 to 73 characters.

Usage guidelines

If you configure an FHR to send dynamic EID information, you must specify the xtr-address argument in this command. You can specify a maximum of four different xTR IP addresses. If you configure an xTR to accept dynamic EID information, you do not need to specify an xTR IP address in this command.

Make sure both the FHR and xTR have the same authentication settings. If the authentication settings are different, the FHR fails to send the dynamic EID information or the xTR fails to receive the dynamic EID information.

Examples

# Configure the FHR to notify the xTR (with the IP address 172.16.0.2) of dynamic EID information without authentication.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] dynamic-eid DE

[Sysname-lisp-dynamic-eid-DE] eid-notify 172.16.0.2 authentication-mode none

LISP commands -- eid-prefix

Use eid-prefix to configure an MS to permit an EID prefix for registration.

Use undo eid-prefix to remove a permitted EID prefix.

Syntax

eid-prefix eid-prefix prefix-length [ instance-id id ] [ accept-more-specifics ]

undo eid-prefix eid-prefix prefix-length [ instance-id id ]

Default

An MS does not permit any EID prefixes and does not process any Map-Register messages.

Views

LISP site view

Predefined user roles

network-admin

mdc-admin

Parameters

eid-prefix prefix-length: Specifies an EID prefix and its length. The eid-prefix argument represents the EID prefix in dotted decimal notation. The prefix-length argument represents the prefix length in the range of 0 to 32.

instance-id id: Specifies a LISP VRF instance by its ID in the range of 0 to 16777215. If you do not specify an instance ID, LISP VRF instance 0 is specified. The instance ID must be the same as that specified by using the xtr instance-id command.

accept-more-specifics: Configures the MS to permit EID prefixes that are longer than the configured EID prefix. Specify this keyword only if your device supports virtual machine mobility.

Usage guidelines

This command applies only to MSs.

For an ETR to successfully register with an MS, you must configure the MS to permit the same EID prefixes configured on the ETR by using the database-mapping command.

Examples

# Configure the MS to permit the EID prefix 10.1.1.0/24.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] site site-1

[Sysname-lisp-site-site-1] eid-prefix 10.1.1.0 24

Related commands

database-mapping (LISP view/LISP-VRF view)

xtr instance-id

LISP commands -- etr

Use etr to enable the IPv4 ETR feature.

Use undo etr to disable the IPv4 ETR feature.

Syntax

etr

undo etr

Default

The IPv4 ETR feature is disabled.

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Examples

# Enable the IPv4 ETR feature.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] etr

LISP commands -- etr accept-map-request-mapping

Use etr accept-map-request-mapping to configure an ETR to accept the mapping information in Map-Request messages.

Use undo etr accept-map-request-mapping to restore the default.

Syntax

etr accept-map-request-mapping [ verify ]

undo etr accept-map-request-mapping

Default

An ETR does not accept the mapping information in Map-Request messages.

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Parameters

verify: Enables the ETR to verify the mapping information in Map-Request messages. To verify the mapping information in a Map-Request message, the ETR sends its own Map-Request message to the sender of the Map-Request message. If you do not specify this keyword, the ETR directly use the mapping information for packet forwarding.

Examples

# Configure the ETR to accept and use the mapping information in Map-Request messages without verification.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] etr accept-map-request-mapping

Related commands

etr

LISP commands -- etr map-cache-ttl

Use etr map-cache-ttl command to set the TTL value in Map-Reply messages sent by an ETR.

Use undo etr map-cache-ttl to restore the default.

Syntax

etr map-cache-ttl ttl

undo etr map-cache-ttl

Default

The TTL value in Map-Reply messages is 1440 minutes (24 hours).

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Parameters

ttl: Specifies the TTL value in Map-Reply messages, in the range of 60 to 10080 minutes.

Usage guidelines

When an ETR responds to an ITR with Map-Reply messages, it sets a TTL value in the messages. The ITR sets the TTL value for the cache entries according to the TTL value in these messages.

Examples

# Set the TTL value in Map-Reply messages to 120 minutes.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] etr map-cache-ttl 120

LISP commands -- etr map-server

Use etr map-server to specify an MS address for an IPv4 ETR.

Use undo etr map-server to remove an MS address.

Syntax

etr map-server map-server-address authentication-mode none [ proxy-reply ]

etr map-server map-server-address authentication-mode sha-1 authentication-key { ciphertext | plaintext } string [ proxy-reply ]

undo etr map-server map-server-address

Default

No MS address is specified for an IPv4 ETR.

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Parameters

map-server-address: Specifies an MS address.

authentication-mode none: Configures the ETR to register with an MS without authentication.

authentication-mode sha-1: Configures the ETR to use SHA-1 to authenticate to an MS for registration.

authentication-key ciphertext: Specifies a key in encrypted form.

authentication-key plaintext: Specifies a key in plaintext form. For security purposes, the key specified in plaintext form will be stored in encrypted form.

string: Specifies the key. Its plaintext form is a case-sensitive string of 1 to 32 characters. Its encrypted form is a case-sensitive string of 33 to 73 characters.

proxy-reply: Configures the ETR to use the MS as a proxy to respond to the ITR.

Usage guidelines

An ETR periodically sends Map-Register messages to an MS if the following requirements are met:

· The MS address is specified for the ETR by using this command.

· The specified MS address is reachable.

You can specify a maximum of two MS addresses in LISP-VRF view.

Examples

# Specify the MS address 44.44.44.44 for the ETR, and configure the ETR to use SHA-1 and the plaintext key 12345 to authenticate to the MS.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] etr map-server 44.44.44.44 authentication-mode sha-1 authentication-key plaintext 123456

Related commands

etr

LISP commands -- itr

Use itr to enable the IPv4 ITR feature.

Use undo itr to disable the IPv4 ITR feature.

Syntax

itr

undo itr

Default

The IPv4 ITR feature is disabled.

Views

LISP view

LIPS VRF instance view

Predefined user roles

network-admin

mdc-admin

Examples

# Enable the IPv4 ITR feature.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] itr

LISP commands -- itr map-resolver

Use itr map-resolver to specify an MR address for an IPv4 ITR.

Use undo itr map-resolver to remove an MR address.

Syntax

itr map-resolver map-resolver-address

undo itr map-resolver map-resolver-address

Default

No MR address is specified for an IPv4 ITR.

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Parameters

map-resolver-address: Specifies an MR address.

Usage guidelines

You can specify a maximum of two MR addresses in LISP-VRF view.

After you specify an MR address, the ITR encapsulates Map-Request messages in ECM messages and sends them to the MR.

Examples

# Specify the MR address 44.44.44.44 for the ITR.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] itr map-resolver 44.44.44.44

LISP commands -- lig

Use lig to query the mapping information in the LISP mapping database.

Syntax

lig { destination-eid | hostname | self } [ count count ] [ source source-eid ] [ to map-resolver ] [ timer timeout ] [ vrf vrf-name ]

Views

Any view

Predefined user roles

network-admin

mdc-admin

Parameters

destination-eid: Specifies the destination EID.

hostname: Specifies the name of the destination host, a case-insensitive string of 1 to 253 characters.

self: Checks whether the local EID prefix is registered in the LISP mapping database.

count count: Specifies the maximum number of Map-Request messages to be sent, in the range of 1 to 5. The default value is 3.

source source-eid: Specifies the source EID in Map-Request messages. By default, the EID in the first mapping cache entry of the database is used.

to map-resolver: Specifies an MR address as the destination address of Map-Request messages. By default, Map-Request messages are sent to the configured MR.

timer timeout: Specifies the interval for sending another Map-Request message when no Map-Reply message is returned, in the range of 1 to 5 seconds. The default interval is 2 seconds.

vrf vrf-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command queries mapping information in the database of the public LISP network.

Usage guidelines

If you specify the hostname argument, make sure DNS is configured on the local device. If DNS is not configured, the query will fail.

You can press Ctrl + C to terminate the query process.

Examples

# Query mapping information for the EID 1.1.1.1.

<Sysname> lig 1.1.1.1

Sending Map-Request to 10.1.1.5 for 1.1.1.1

Received Map-Reply from 10.1.1.1 with rtt 0.002709 sec

Map-cache entry for EID 1.1.1.1:

1.1.1.1/32; uptime: 00:00:01; expires: 23:59:58; via Map-Reply; auth

Locator Uptime State Priority/Weight Data in/out Control in/out

10.1.1.1 00:00:01 up 1/2 0/0 5/0

# Obtain mapping information for the EID 1.1.1.1 from the MR 10.1.1.2.

<Sysname> lig 1.1.1.1 to 10.1.1.2

Sending Map-Request to 10.1.1.2 for 1.1.1.1 ...

Received Map-Reply from 10.1.1.2 with rtt 0.002709 sec

Map-cache entry for EID 1.1.1.1:

1.1.1.1/32; uptime: 00:00:01; expires: 23:59:58; via Map-Reply; auth

Locator Uptime State Priority/Weight Data in/out Control in/out

10.1.1.1 00:00:01 up 1/2 0/0 5/0

# Check whether the EID prefix is registered in the LISP mapping database.

<Sysname> lig self

Sending loopback Map-Request to 192.168.10.2 for 10.10.10.0 ...

Received Map-Reply from 127.0.0.1 with rtt 0.003030 sec

Map-cache entry for EID 10.10.10.0:

10.10.10.0/24; uptime: 08:51:48; expires: 23:59:58; via Map-Reply; self

Locator Uptime State Priority/Weight Data in/out Control in/out

192.168.10.1 08:51:48 up 1/2 0/0 0/0

Table 11 Command output

Field | Description
uptime | Time elapsed since the EID prefix became up.
expires | Remaining EID prefix aging time.
Locator | RLOC address.
Uptime | Time elapsed since the RLOC address became reachable.
State | State of the RLOC address.
Priority/Weight | Priority and weight of the RLOC address.
Data in/out | Number of received and sent data packets.
Control in/out | Number of received and sent LISP control messages.

LISP commands -- lisp

Use lisp to enable LISP and enter its view.

Use undo lisp to disable LISP.

Syntax

lisp

undo lisp

Default

LISP is disabled.

Views

System view

Predefined user roles

network-admin

mdc-admin

Examples

# Enable LISP and enter its view.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp]

LISP commands -- lisp extended-subnet-mode

Use lisp extended-subnet-mode to enable support for extended subnets on an interface.

Use undo lisp extended-subnet-mode to disable support for extended subnets on an interface.

Syntax

lisp extended-subnet-mode

undo lisp extended-subnet-mode

Default

Support for extended subnets is disabled on an interface.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

This command allows an interface to detect virtual machine mobility within the subnet that the interface is attached to. You must execute this command when you configure virtual machine mobility within a subnet.

Examples

# Configure GigabitEthernet 1/0/1 to support extended subnets. (Applicable to routers.)

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] lisp extended-subnet-mode

# Configure VLAN-interface 1 to support extended subnets. (Applicable to switches.)

<Sysname> system-view

[Sysname] interface vlan-interface 1

[Sysname-Vlan-interface1] lisp extended-subnet-mode

LISP commands -- lisp mobility dynamic-eid

Use lisp mobility dynamic-eid to apply a dynamic EID detection policy to an interface.

Use undo lisp mobility dynamic-eid to remove a dynamic EID detection policy from an interface.

Syntax

lisp mobility dynamic-eid dynamic-eid-name

undo lisp mobility dynamic-eid dynamic-eid-name

Default

No dynamic EID detection policy is applied to an interface.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Parameters

dynamic-eid-name: Specifies a dynamic EID detection policy by its name, a case-sensitive string of 1 to 63 characters.

Usage guidelines

An interface performs virtual machine mobility detection only if a dynamic EID detection policy is applied to it.

Examples

# Apply the dynamic EID detection policy DE to GigabitEthernet 1/0/1. (Applicable to routers.)

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] lisp mobility dynamic-eid DE

# Apply the dynamic EID detection policy DE to VLAN-interface 1. (Applicable to switches.)

<Sysname> system-view

[Sysname] interface vlan-interface 1

[Sysname-Vlan-interface1] lisp mobility dynamic-eid DE

LISP commands -- lisp mobility test-liveness

Use lisp mobility test-liveness to enable an xTR to test the reachability of the hosts that have roamed in.

Use undo lisp mobility test-liveness to disable an xTR to test the reachability of the hosts that have roamed in.

Syntax

lisp mobility test-liveness

undo lisp mobility test-liveness

Default

An xTR tests the reachability of the hosts that have roamed in.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

After you execute this command on an xTR's interface, the xTR periodically pings the hosts that have moved to the interface to test their reachability.

This feature applies only to virtual machine mobility across subnets.

Examples

# Enable an xTR to test the reachability of the hosts that have roamed in. (Applicable to routers.)

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] lisp mobility test-liveness

# Enable an xTR to test the reachability of the hosts that have roamed in. (Applicable to switches.)

<Sysname> system-view

[Sysname] interface vlan-interface 1

[Sysname-Vlan-interface1] lisp mobility test-liveness

LISP commands -- locator-down

Use locator-down to configure an RLOC address in the EID-to-RLOC mapping database as unreachable.

Use undo locator-down to remove the configuration.

Syntax

locator-down eid-prefix prefix-length locator

undo locator-down eid-prefix prefix-length locator

Default

No RLOC address in the EID-to-RLOC mapping database is configured as unreachable.

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Parameters

eid-prefix prefix-length: Specifies an EID prefix and its length. The eid-prefix argument represents the EID prefix in dotted decimal notation. The prefix-length argument represents the prefix length in the range of 0 to 32.

locator: Specifies an RLOC address.

Usage guidelines

For the command to take effect, make sure the EID-to-RLOC mapping already exists in the database.

Examples

# Configure the RLOC address 11.11.11.11 as unreachable.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp]

[Sysname-lisp] locator-down 10.1.1.0 24 11.11.11.11

Related commands

database-mapping

LISP commands -- locator-vrf

Use locator-vrf to assign the RLOC address space to a VRF instance.

Use undo locator-vrf to restore the default.

Syntax

locator-vrf { default | vrf vrf-name }

undo locator-vrf

Default

The RLOC address space belongs to the LISP VRF instance.

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Parameters

default: Assign the RLOC address space to the public LISP network.

vrf vrf-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. The MPLS L3VPN instance must already exist.

Examples

# Assign the RLOC address space to the public network.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] locator-vrf default

LISP commands -- map-cache

Use map-cache to create a static EID-to-RLOC mapping cache entry.

Use undo map-cache to delete a static EID-to-RLOC mapping cache entry.

Syntax

map-cache destination-eid-prefix prefix-length { locator priority priority weight weight | drop | map-request | native-forward }

undo map-cache destination-eid-prefix prefix-length { locator | drop | map-request | native-forward }

Default

No static EID-to-RLOC mapping cache entry is created.

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Parameters

eid-prefix prefix-length: Specifies an EID prefix and its length. The eid-prefix argument represents the EID prefix in dotted decimal notation. The prefix-length argument represents the prefix length in the range of 0 to 32.

locator: Specifies an RLOC address.

priority priority: Specifies the priority for the RLOC address, in the range of 0 to 255. The smaller the priority value, the higher the priority. A value of 255 means that the priority is invalid.

weight weight: Specifies the weight for the RLOC address, in the range of 0 to 100.

drop: Drops packets that match the created static EID-to-RLOC mapping cache entry.

map-request: Sends Map-Request messages for packets that match the created static EID-to-RLOC mapping cache entry.

native-forward: Forwards packets that match the created static EID-to-RLOC mapping cache entry without LISP routing.

Usage guidelines

The EID-to-RLOC mapping cache entries consist of static mapping cache entries and dynamic mapping cache entries.

Examples

# Create a static mapping cache entry in LISP view.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] map-cache 10.1.1.0 24 12.1.1.1 priority 1 weight 50

Related commands

map-cache-limit

LISP commands -- map-cache-limit

Use map-cache-limit to set the maximum number of EID-to-RLOC mapping cache entries.

Use undo map-cache-limit to restore the default.

Syntax

map-cache-limit cache-limit

undo map-cache-limit

Default

The maximum number of EID-to-RLOC mapping cache entries is not set.

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Parameters

cache-limit: Specifies the maximum number of EID-to-RLOC mapping cache entries, in the range of 1 to 4294967295.

Usage guidelines

Follow these restrictions and guidelines to create new mapping cache entries when the maximum number of mapping cache entries (both static and dynamic EID-to-RLOC mapping cache entries) is reached:

· If the database contains both static and dynamic mapping cache entries, you can create only static mapping cache entries. The new static mapping cache entries overwrite the existing dynamic mapping cache entries.

· If the database contains only static mapping cache entries, you cannot create new mapping cache entries.

You can use the reset lisp ipv4 map-cache command to manually clear the dynamic mapping entries or wait for the dynamic mapping entries to age out.

Examples

# Set the maximum number of EID-to-RLOC mapping cache entries to 2000.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] map-cache-limit 2000

Related commands

map-cache

LISP commands -- map-notify-group

Use map-notify-group to specify a multicast address for Map-Notify messages.

Use undo map-notify-group to restore the default.

Syntax

map-notify-group map-notify-group-address

undo map-notify-group

Default

No multicast address is specified for Map-Notify messages.

Views

Dynamic-EID view

Predefined user roles

network-admin

mdc-admin

Parameters

map-notify-group-address: Specifies a multicast address for Map-Notify messages.

Usage guidelines

When an xTR detects a roaming host, it sends Map-Notify messages to the specified multicast address to notify all the other xTRs in the LISP site.

Examples

# Specify the multicast address 239.0.0.2 for Map-Notify messages.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] dynamic-eid DE

[Sysname-lisp-dynamic-eid-DE] map-notify-group 239.0.0.2

LISP commands -- map-resolver

Use map-resolver to enable the IPv4 MR feature.

Use undo map-resolver to disable the IPv4 MR feature.

Syntax

map-resolver

undo map-resolver

Default

The IPv4 MR feature is disabled.

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

An MR processes and forwards Map-Request messages.

Examples

# Enable the IPv4 MR feature.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] map-resolver

LISP commands -- map-server (dynamic-EID view)

Use map-server to specify an MS address for the dynamic EID space and set the authentication mode.

Use undo map-server to remove an MS address.

Syntax

map-server map-server-address authentication-mode none [ proxy-reply ]

map-server map-server-address authentication-mode sha-1 authentication-key { ciphertext | plaintext } string [ proxy-reply ]

undo map-server map-server-address

Default

No MS address is specified for the dynamic EID space.

Views

Dynamic-EID view

Predefined user roles

network-admin

mdc-admin

Parameters

map-server-address: Specifies an MS address.

authentication-mode none: Configures an xTR to register with an MS without authentication.

authentication-mode sha-1: Configures an xTR to use SHA-1 to authenticate to an MS for registration.

authentication-key ciphertext: Specifies a key in encrypted form.

authentication-key plaintext: Specifies a key in plaintext form. For security purposes, the key specified in plaintext form will be stored in encrypted form.

string: Specifies the key. Its plaintext form is a case-sensitive string of 1 to 32 characters. Its encrypted form is a case-sensitive string of 33 to 73 characters.

proxy-reply: Specifies that the MS can return Map-Reply messages as a proxy.

Usage guidelines

When an xTR detects a roaming virtual machine, it registers the detected dynamic EID information with the MS specified by using this command.

If no MS address is specified for the dynamic EID space, the xTR registers the detected dynamic EID information with the MS in the LISP VRF instance.

You can specify a maximum of two MS addresses.

Examples

# Specify the MS address 44.44.44.44 for the dynamic EID space, configure the xTR to use SHA-1 and the plaintext key 123456 to authenticate to the MS.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] dynamic-eid DE

[Sysname-lisp-dynamic-eid-DE] map-server 44.44.44.44 authentication-mode sha-1 authentication-key plaintext 123456

LISP commands -- map-server (LISP view/LISP-VRF view)

Use map-server to enable the IPv4 MS feature.

Use undo map-server to disable the IPv4 MS feature.

Syntax

map-server

undo map-server

Default

The IPv4 MS feature is disabled.

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Examples

# Enable the IPv4 MS feature.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] map-server

LISP commands -- native-forward-map-cache timeout

Use native-forward-map-cache timeout to set the aging time for the native-forward type mapping cache entries.

Use undo native-forward-map-cache timeout to restore the default.

Syntax

native-forward-map-cache timeout time

undo native-forward-map-cache timeout

Default

The aging time of the native-forward type mapping cache entries depends on the configuration of the MS and the registration.

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Parameters

time: Specifies the aging time for the native-forward type mapping cache entries, in the range 1 to 60 seconds.

Usage guidelines

To speed up LISP communication during the system startup, you can use this command to set a shorter aging time.

Examples

# Set the aging time to 1 second for the native-forward type mapping cache entries.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] native-forward-map-cache timeout 1

LISP commands -- register-database-mapping

Use register-database-mapping to configure an ETR to aggregate host addresses into dynamic EID prefixes when it registers mapping information with an MS.

Use undo register-database-mapping to restore the default.

Syntax

register-database-mapping

undo register-database-mapping

Default

The EIDs in the mapping information registered by an ETR are host addresses.

Views

User view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

This command does not take effect on the virtual machine multi-hop mobility scenario.

To use this command during the configuration of virtual machine mobility within a subnet, make sure the following requirements are met:

· The length of the prefixes in the dynamic EID space is longer than the length of the LISP EID prefixes.

For example, you use the database-mapping 10.1.0.0 16 11.11.11.11 priority 1 weight 50 command to configure an EID-to-RLOC mapping in LISP view or LISP-VRF view. To successfully configure the register-database-mapping command, execute the database-mapping 10.1.1.0 24 11.11.11.11 priority 1 weight 50 command in dynamic-EID view.

· When you assign IP addresses to the downstream interfaces of the xTRs, make sure the IP addresses are not included in the EID-to-RLOC mappings in the dynamic EID space.

Examples

# Configure the ETR to aggregate host addresses into dynamic EID prefixes when it registers mapping information with an MS.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] dynamic-eid DE

[Sysname-lisp-dynamic-eid-DE] register-database-mapping

LISP commands -- reset lisp ddt referral-cache

Use reset lisp ddt referral-cache to clear LISP DDT referral cache information.

Syntax

reset lisp ddt referral-cache [ instance-id id ] [ eid-prefix prefix-length ] [ default | vrf vrf-name ]

Views

User view

Predefined user roles

network-admin

mdc-admin

Parameters

instance-id id: Specifies a LISP VRF instance by its ID in the range of 0 to 16777215. If you do not specify an instance ID, LISP VRF instance 0 is specified.

eid-prefix prefix-length: Specifies an EID prefix and its length. The eid-prefix argument represents the EID prefix in dotted decimal notation. The prefix-length argument represents the prefix length in the range of 0 to 32.

default: Clears LISP DDT referral cache information for the public LISP network.

vrf vrf-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. Support for this option depends on the device model.

Usage guidelines

If you do not specify any parameters, this command clears LISP DDT referral cache information for all LISP VRF instances.

Examples

# Clear LISP DDT referral cache information for the public LISP network.

<Sysname> reset lisp ddt referral-cache

Related commands

display lisp ddt referral-cache

LISP commands -- reset lisp dynamic-eid

Use reset lisp dynamic-eid to clear the detected dynamic EID prefix information.

Syntax

reset lisp dynamic-eid [ default | vrf vrf-name ] [ eid-prefix ]

Views

User view

Predefined user roles

network-admin

mdc-admin

Parameters

default: Clears the detected dynamic EID prefix information for the public LISP network.

vrf vrf-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command clears the detected dynamic EID prefix information for the public LISP network and all LISP VRF instances.

eid-prefix: Specifies a dynamic EID prefix in dotted decimal notation. If you do not specify a dynamic EID prefix, this command clears all detected dynamic EID prefix information.

Examples

# Clear information for the detected dynamic EID prefix 1.1.1.1.

<Sysname> reset lisp dynamic-eid 1.1.1.1

Related commands

display lisp dynamic-eid

LISP commands -- reset lisp ipv4 data-cache

Use reset lisp ipv4 data-cache to clear IPv4 LISP data cache entries.

Syntax

reset lisp ipv4 data-cache [ default | vrf vrf-name ] [ destination-eid ]

Views

User view

Predefined user roles

network-admin

mdc-admin

Parameters

default: Clears data cache entries for the public LISP network.

vrf vrf-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command clears data cache entries for all LISP VRF instances.

destination-eid: Specifies a destination EID in dotted decimal notation. If you do not specify a destination EID, this command clears all data cache entries.

Examples

# Clear data cache entries for all IPv4 LISP VRF instances.

<Sysname> reset lisp ipv4 data-cache

Related commands

display lisp ipv4 data-cache

LISP commands -- reset lisp ipv4 map-cache

Use reset lisp ipv4 map-cache to clear IPv4 LISP dynamic mapping cache entries.

Syntax

reset lisp ipv4 map-cache [ default | vrf vrf-name ] [ destination-eid-prefix [ prefix-length ] ]

Views

User view

Predefined user roles

network-admin

mdc-admin

Parameters

default: Clears dynamic mapping cache entries for the public LISP network.

vrf vrf-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command clears dynamic mapping cache entries for all LISP VRF instances.

destination-eid [ prefix-length ]: Specifies a destination EID prefix in dotted decimal notation. The prefix-length argument specifies the prefix length in the range of 0 to 32. If you do not specify a destination EID prefix, this command clears all dynamic mapping cache entries.

Examples

# Clear dynamic mapping cache entries for all IPv4 LISP VRF instances.

<Sysname> reset lisp ipv4 map-cache

Related commands

display lisp ipv4 map-cache

LISP commands -- reset lisp ipv4 statistics

Use reset lisp ipv4 statistics to clear IPv4 LISP statistics.

Syntax

reset lisp ipv4 statistics [ default | vrf vrf-name ]

Views

User view

Predefined user roles

network-admin

mdc-admin

Parameters

default: Clears statistics for the public LISP network.

vrf vrf-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command clears statistics for all IPv4 LISP VRF instances.

Examples

# Clear statistics for all IPv4 LISP VRF instances.

<Sysname> reset lisp ipv4 statistics

Related commands

display lisp ipv4 statistics

LISP commands -- reset lisp site

Use reset lisp site to clear LISP site registration information.

Syntax

reset lisp site [ default | vrf vrf-name ] [ name site-name ]

Views

User view

Predefined user roles

network-admin

mdc-admin

Parameters

default: Clears registration information for all LISP sites in the public LISP network.

vrf vrf-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command clears LISP site registration information for all IPv4 LISP VRF instances.

name site-name: Specifies a LISP site by its name. If you do not specify a LISP site, this command clears all LISP site registration information.

Examples

# Clear registration information for the LISP site site1.

<Sysname> reset lisp site name site1 default

Related commands

display lisp site

LISP commands -- rig

Use rig to query the LISP DDT hierarchy information.

Syntax

rig [ instance-id id ] { destination-eid | destination-hostname } to { ddt-node-locator | ddt-node-hostname } [ locator-vrf vrf-name ]

Views

Any view

Predefined user roles

network-admin

mdc-admin

Parameters

instance-id id: Specifies a LISP VRF instance by its ID in the range of 0 to 16777215. If you do not specify an instance ID, LISP VRF instance 0 is specified.

destination-eid: Specifies the destination EID.

destination-hostname: Specifies the name of the destination host, a case-insensitive string of 1 to 253 characters.

to ddt-node-locator: Specifies the RLOC of the LISP DDT node to which the DDT Map-Request message for the requested EID will be sent. The ddt-node-locator argument represents the RLOC.

to ddt-node-hostname: Specifies the host name of the LISP node to which the DDT Map-Request message for the requested EID will be sent. The ddt-node-hostname argument represents the host name, a case-insensitive string of 1 to 253 characters.

locator-vrf vrf-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, the RLOC address space belongs to the public LISP network.

Usage guidelines

If you want to specify the destination-hostname argument or the to ddt-node-hostname option, make sure DNS is configured on the local device.

You can press Ctrl + C to terminate the query process.

Examples

# Query the delegation of authority for the EID 30.1.1.1 on the LISP DDT node 172.16.0.1.

<Sysname> system-view

[Sysname] rig 30.1.1.1 to 172.16.0.1

rig LISP-DDT hierarchy for EID [0] 30.1.1.1

Send Map-Request to DDT-node 172.16.0.1 ... replied, rtt: 0.003157 sec

EID-prefix [0] 30.0.0.0/8, TTL: 15, action: delegation-hole

# Query the delegation of authority for the EID 30.1.1.1 on the LISP DDT node 172.16.0.1.

<Sysname> system-view

[Sysname] rig 30.1.1.1 to 172.16.0.1

rig LISP-DDT hierarchy for EID [0] 30.1.1.1

Send Map-Request to DDT-node 172.16.0.1 ... replied, rtt: 0.003157 sec

EID-prefix [0] 30.1.1.1/32, TTL: 0, not-authoritative, incomplete

# Query the delegation of authority for the EID 30.1.1.1 on the LISP DDT node 172.16.0.1.

<Sysname> system-view

[Sysname] rig 30.1.1.1 to 172.16.0.1

rig LISP-DDT hierarchy for EID [0] 30.1.1.1

Send Map-Request to DDT-node 172.16.0.1 ... retransmit

Send Map-Request to DDT-node 172.16.0.1 ... retransmit

Send Map-Request to DDT-node 172.16.0.1 ... retransmit

No response from 172.16.0.1, giving up

# Query the delegation of authority for the EID 30.1.1.1 on the LISP DDT node 172.16.0.1.

<Sysname> system-view

[Sysname] rig 30.1.1.1 to 172.16.0.1

rig LISP-DDT hierarchy for EID [0] 30.1.1.1

Send Map-Request to DDT-node 172.16.0.1 ... replied, rtt: 0.001868 sec

EID-prefix [0] 30.1.0.0/16, TTL: 1440, ms-referral, referrals:

172.18.3.4, priority/weight: 0/0

Send Map-Request to DDT-node 172.18.3.4 ... replied, rtt: 0.002283 sec

EID-prefix [0] 30.1.1.0/24, TTL: 1, ms-not-registered, referrals:

172.18.3.4, priority/weight: 0/0

Table 12 Command output

Field | Description
[0] | ID of the LISP VRF instance to which the requested EID belongs.
30.1.1.1 | Requested EID.
Send Map-Request to DDT-node 172.16.0.1 | A DDT Map-Request message was sent to the LISP DDT node 172.16.0.1.
rtt | Round-trip time for the Map-Request and Map-Referral message exchange.
TTL | TTL value for the matching delegation of authority, in minutes.
ms-referral | The Map-Referral message is from the parent node of the DDT MS.
ms-not-registered | The Map-Referral message is from the DDT MS and the requested EID is not registered.
ms-ack | The Map-Referral message is from the DDT MS and the requested EID is registered.
node-referral | The Map-Referral message is from the parent node of the LISP DDT node.
delegation-hole | A delegation hole exists in the delegation hierarchy.
referrals: | Referral RLOC in the Map-Referral message.
172.18.3.4 | The referral RLOC in the Map-Referral message is 172.18.3.4.
priority/weight | Priority and weight of the RLOC in the Map-Referral message.

LISP commands -- roaming-eid-prefix

Use roaming-eid-prefix to specify the dynamic EID range for roaming in.

Use undo roaming-eid-prefix to restore the default.

Syntax

roaming-eid-prefix eid-prefix prefix-length

undo roaming-eid-prefix

Default

The dynamic EID range is 0.0.0.0/0 for roaming in.

Views

Dynamic-EID view

Predefined user roles

network-admin

mdc-admin

Parameters

eid-prefix prefix-length: Specifies an EID prefix and its length. The eid-prefix argument represents the EID prefix in dotted decimal notation. The prefix-length argument represents the prefix length in the range of 0 to 32.

Usage guidelines

Use this command to specify the range of the host addresses permitted by the dynamic EID space to roam in.

By default, a host is permitted to roam in if its address is in the dynamic EID space specified by using the database-mapping command in dynamic-EID view. After you execute the roaming-eid-prefix command, the host address must also be in the dynamic EID range for the host to roam in.

Examples

# Specify the dynamic EID range as 1.1.1.1/32 for roaming in.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] dynamic-eid DE

[Sysname-lisp-dynamic-eid-DE] roaming-eid-prefix 1.1.1.1 32

Related commands

database-mapping (dynamic-EID view)

LISP commands -- shortest-eid-prefix-length

Use shortest-eid-prefix-length to set the minimum permitted length for the EID prefixes in Map-Reply messages and Map-Request messages.

Use undo shortest-eid-prefix-length to restore the default.

Syntax

shortest-eid-prefix-length prefix-length

undo shortest-eid-prefix-length

Default

The minimum permitted length for the EID prefixes in Map-Reply messages and Map-Request messages is 16.

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Parameters

prefix-length: Specifies the minimum EID prefix length in the range of 0 to 32.

Examples

# Set the minimum permitted length to 12 for the EID prefixes in Map-Reply messages and Map-Request messages.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] shortest-eid-prefix-length 12

LISP commands -- site

Use site to create an IPv4 LISP site and enter its view, or enter the view of an existing IPv4 LISP site.

Use undo site to delete a IPv4 LISP site and all configuration in its view.

Syntax

site site-name

undo site site-name

Default

No IPv4 LISP sites exist.

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Parameters

site-name: Assigns a name to the IPv4 LISP site, a case-sensitive string of 1 to 63 characters.

Usage guidelines

This command applies only to MSs.

Examples

# Create the IPv4 LISP site site-1 and enter its view.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] site site-1

[Sysname-lisp-site-site-1]

LISP commands -- vrf

Use vrf to create an IPv4 LISP VRF instance and enter its view, or enter the view of an existing IPv4 LISP VRF instance.

Use undo vrf to remove an IPv4 LISP VRF instance and all configuration in its view.

Syntax

vrf vrf-name

undo vrf vrf-name

Default

No IPv4 LISP VRF instances exist.

Views

LISP view

Predefined user roles

network-admin

mdc-admin

Parameters

vrf-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

Usage guidelines

To configure an IPv4 LISP VRF instance, you need to configure an MPLS L3VPN instance in system view first.

Examples

# Create the IPv4 LISP VRF instance red and enter its view.

<Sysname> system-view

[Sysname] ip vpn-instance red

[Sysname-vpn-instance-red] quit

[Sysname] lisp

[Sysname-lisp] vrf red

[Sysname-lisp-vrf-red]

LISP commands -- xtr instance-id

Use xtr instance-id to specify an instance ID for EID prefixes.

Use undo xtr instance-id to restore the default.

Syntax

xtr instance-id instance-id

undo xtr instance-id

Default

The instance ID for EID prefixes is 0.

Views

LISP view

LISP-VRF view

Predefined user roles

network-admin

mdc-admin

Parameters

instance-id: Specifies an instance ID in the range of 1 to 16777215.

Examples

# Specify the instance ID 123 for EID prefixes.

<Sysname> system-view

[Sysname] lisp

[Sysname-lisp] xtr instance-id 123

Related commands

eid-prefix