- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
01-Text | 218.03 KB |
Contents
database-mapping (dynamic EID detection policy view)
database-mapping (LISP view/LISP-VRF view)
etr accept-map-request-mapping
map-server (dynamic EID detection policy view)
map-server (LISP view/LISP VRF instance view)
native-forward-map-cache timeout
LISP commands
The following matrix shows the feature and hardware compatibility:
Hardware |
LISP compatibility |
MSR810/810-W/810-W-DB/810-LM/810-W-LM/810-10-PoE/810-LM-HK/810-W-LM-HK |
Yes |
MSR810-LMS/810-LUS |
No |
MSR2600-6-X1 |
No |
MSR2600-10-X1 |
Yes |
MSR 2630 |
Yes |
MSR3600-28/3600-51 |
Yes |
MSR3600-28-SI/3600-51-SI |
No |
MSR3610-X1/3610-X1-DP/3610-X1-DC/3610-X1-DP-DC |
Yes |
MSR 3610/3620/3620-DP/3640/3660 |
Yes |
MSR5620/5660/5680 |
Yes |
Hardware |
LISP compatibility |
MSR810-LM-GL |
Yes |
MSR810-W-LM-GL |
Yes |
MSR830-6EI-GL |
No |
MSR830-10EI-GL |
No |
MSR830-6HI-GL |
No |
MSR830-10HI-GL |
No |
MSR2600-6-X1-GL |
No |
MSR3600-28-SI-GL |
No |
The vrf command and vrf vrf-name option are not supported on the following routers:
· MSR810.
· MSR810-W.
· MSR810-W-DB.
· MSR810-LM.
· MSR810-W-LM.
· MSR810-10-PoE.
· MSR810-LM-HK.
· MSR810-W-LM-HK.
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
undo allowed-locator rloc-address
Default
An MS permits all RLOC addresses.
Views
IPv4 LISP site view
Predefined user roles
Parameters
rloc-address: Specifies an RLOC in dotted decimal notation.
Usage guidelines
This command does not take effect on devices where the MS feature is disabled.
This command allows an MS to permit only the specified RLOC addresses in Map-Register messages to be successfully registered.
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] lisp
[Sysname-lisp] site site-1
[Sysname-lisp-site-site-1] allowed-locator 11.11.11.11
authentication-mode
Use authentication-mode to configure an MS to authenticate Map-Register messages and set the authentication mode.
Use undo authentication-mode to restore the default.
Syntax
authentication-mode sha-1 authentication-key { ciphertext | plaintext } string
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
Parameters
sha-1: Configures the MS to accept SHA-1 authenticated Map-Register messages from 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 does not take effect on devices where the MS feature is disabled.
If you configure the MS to use SHA-1 to authenticate the Map-Register messages from an ETR, make sure you specify the same key as that configured on the ETR.
Examples
[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
database-mapping (dynamic EID detection policy 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 detection policy view
Predefined user roles
Parameters
eid-prefix: Specifies a dynamic EID prefix in dotted decimal notation.
prefix-length: Specifies 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 only if its EID matches the specified dynamic EID prefix.
Examples
[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
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 VRF instance view
Predefined user roles
Parameters
eid-prefix: Specifies an EID prefix in dotted decimal notation. In LISP view, this argument specifies an EID prefix in the public LISP network. In LISP VRF instance view, this argument specifies an EID prefix in the VRF instance.
prefix-length: Specifies 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
Examples
[Sysname] lisp
[Sysname-lisp] database-mapping 10.1.1.0 24 11.11.11.11 priority 1 weight 50
Related commands
eid-prefix
description
Use description to configure a description for an IPv4 LISP site.
Use undo description to restore the default.
Syntax
description text
Default
The IPv4 LISP site does not have a description.
Views
IPv4 LISP site view
Predefined user roles
Parameters
text: Specifies a description, a case-sensitive string of 1 to 255 characters.
Usage guidelines
This command does not take effect on devices where the MS feature is disabled.
Examples
# Configure the description as abc for the IPv4 LISP site.
[Sysname] lisp
[Sysname-lisp] site site1
[Sysname-lisp-site-site1] description abc
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
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 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 displays information about the detected dynamic EIDs in all IPv4 LISP VRF instances.
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.
Examples
# Display brief information about all LISP dynamic EID detection policies and the detected dynamic EIDs.
<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.
<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 1 Command output
Description |
|
RLOC address. |
|
Priority of the RLOC address. |
|
Weight of the RLOC address. |
|
Time elapsed since the RLOC address became reachable. |
|
State of the RLOC address. |
|
Multicast address for Map-Notify messages. |
|
Dynamic EID prefix within which the dynamic EIDs are permitted to roam. |
|
Number of detected dynamic EIDs. |
|
The most recently detected dynamic EID. |
|
The detected dynamic EIDs. |
|
Interface on which the dynamic EIDs are detected. |
|
How the roaming host is 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. |
reset lisp dynamic-eid
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
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. If you do not specify a VPN instance, this command displays configuration information for all LISP VRF instances.
Examples
# Display 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 2 Command output
Description |
|
Instance ID. |
|
State of the ITR feature: |
|
State of the ETR feature: · enabled · disabled |
|
State of the PITR feature: · enabled · disabled |
|
State of the PETR feature: · enabled · disabled |
|
VRF instance to which the RLOC address space belongs: · default—Public LISP network. · vrfname—Name of the LISP VRF instance. |
|
State of the NAT feature: · enabled · disabled |
|
State of the Map-Request message sending feature on the ITR: · enabled · disabled |
|
State of the data-probe message sending feature on the ITR: · enabled · disabled |
|
State of the Alternative Topology (ALT) VRF feature: · vrfname—Name of the ALT VRF. · not configured—No ALT VRF is configured. |
|
State of the ETR gleaned EID-to-RLOC mapping feature: State of the ETR verified gleaned EID-to-RLOC mapping feature: |
|
State of the ETR cached EID-to-RLOC mapping feature: · enabled · disabled State of the ETR verified cached EID-to-RLOC mapping feature: · verify enabled · verify disabled |
|
TTL value in Map-Reply and Map-Register messages, in minutes. |
|
The minimum length permitted by an ITR for the EID prefixes in Map-Reply messages. |
|
Locator reachability detection algorithms: · Echo-nonce algorithm · TCP-counts algorithm · RLOC-probe algorithm |
|
State of the Echo-nonce algorithm: · enabled · disabled |
|
State of the TCP-counts algorithm: · enabled · disabled |
|
State of the RLOC-probe algorithm: · enabled · disabled |
|
Maximum number of mapping cache entries that can be created. |
|
State of the MR feature: · enabled · disabled |
|
State of the MS feature: · enabled · disabled |
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
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 in 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. If you do not specify a VPN instance, this command displays information about the local EID prefixes in all LISP VRF instances.
Examples
# Display information about the local EID prefixes in 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 3 Command output
Description |
|
Instance ID. |
|
Number of EID prefixes. |
|
The locator status bits. |
|
EID synchronization flag. 0x0001 means that the EIDs are synchronized to the kernel. |
|
RLOC address for the EID. |
|
Priority of the RLOC address. |
|
Weight of the RLOC address. |
|
Time during which the RLOC address is reachable. |
|
Time during which the RLOC address is unreachable. |
|
State of the RLOC address: |
|
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
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 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 displays data cache entries in all 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 4 Command output
Description |
|
Instance ID. |
|
Number of data cache entries. |
|
Time when the data cache entry is created. |
|
State of the data cache entry: · Complete—A Map-Reply message for the data cache entry is received. · incomplete—A Map-Reply message for the data cache entry is not received. |
reset lisp ipv4 data-cache
display lisp ipv4 map-cache
Use display lisp ipv4 map-cache to display IPv4 LISP mapping cache entries.
Syntax
Views
Any view
Predefined user roles
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 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 displays mapping cache entries in all LISP VRF instances.
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.
Examples
# Display mapping cache entries in 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 5 Command output
Description |
|
Instance ID. |
|
Number of mapping cache entries. |
|
Time elapsed since the mapping cache entry was created. |
|
Mapping cache entry aging time. |
|
How the mapping cache entry is created: · static—Statically configured. |
|
Time period during which the mapping cache entry was used for traffic routing and forwarding (traffic input/output) for the most recent time. |
|
State of the mapping cache entry: · complete—The mapping cache entry is validated. · tentative—The mapping cache entry is tentative. |
|
How the mapping cache entry is created: · local—Statically configured. · IP address—Learned from Map-Request or Map-Reply messages. IP address is the source IP address of the Map-Request or Map-Reply messages. |
|
RLOC address. |
|
Time elapsed since the RLOC address became reachable. |
|
State of the RLOC address: |
|
Priority/Weight of the RLOC address. |
|
Number of encapsulated/decapsulated data packets. |
|
Number of received/sent LISP control messages. |
|
Time elapsed since the most recent RLOC address state change. |
|
RLOC synchronization flag: · 0x0001—The RLOC addresses are synchronized to RIB. · 0x0002—The RLOC addresses are synchronized to the LINUX kernel. |
|
ID of the tunnel for the RLOC address. |
reset lisp ipv4 map-cache
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
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. If you do not specify a VPN instance, 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 cleard: 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 6 Command output
Description |
|
Instance ID. |
|
Time when the statistics were most recently cleared. |
|
LISP control messages. |
|
Number of received/sent non-authoritative Map-Reply messages. |
|
Number of Map-Register messages that failed the authentication. |
|
Number of received/sent Map-Notify messages. |
|
Number of Map-Notify messages that failed the authentication. |
|
Number of received/sent Map-ACK messages. |
|
Number of error data packets. |
|
Number of Map-Request messages with incorrect format. |
|
Number of Map-Reply messages with incorrect format. |
|
reset lisp ipv4 statistics
display lisp site
Use display lisp site to display IPv4 LISP site information.
Syntax
Views
Any view
Predefined user roles
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 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 displays information about LISP sites in all IPv4 LISP VRF instances.
verbose: Displays detailed information about IPv4 LISP sites. If you do not specify this keyword, the command displays brief information about IPv4 LISP sites.
Examples
# Display brief information about IPv4 LISP sites.
<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 7 Command output
Description |
|
Time when the EID prefix was most recently registered. |
|
ETR that most recently registered the 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. |
|
ID of the instance to which the EID prefix belongs. |
# Display detailed information about the IPv4 LISP sites in 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 8 Command output
Description |
|
Description of the LISP site. none configured means that no description is configured for the LISP site. |
|
RLOC addresses that are permitted to be registered. any means that all RLOC addresses are permitted. |
|
ID of the instance to which the EID prefix belongs. |
|
Whether the EID prefix is registered: |
|
Time when the EID prefix was registered for the first time. |
|
Whether the ETR accepts a reply from a proxy: |
|
Whether the ETR requires a Map-Notify message: |
|
TTL value for the registered EID mapping entry, in minutes. |
|
Registered RLOC address for the EID prefix: · L—RLOC address of the registering ETR. · R—The RLOC address of the registering ETR is routable. · priority Locator—Priority of the RLOC address. · weight Locator—Weight of the RLOC address. |
|
Number of registration errors. |
|
Number of authentication failures. |
|
Number of RLOCs that failed to match the permitted RLOC addresses. |
|
Number of EID prefixes that are more specific than the configured EID prefix. |
|
EID prefixes that are more specific than the configured EID prefix. |
reset lisp site
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
undo dynamic-eid dynamic-eid-name
Default
No dynamic EID detection policies exist.
Views
LISP view
LISP VRF instance view
Predefined user roles
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] lisp
[Sysname-lisp] dynamic-eid DE
[Sysname-lisp-dynamic-eid-DE]
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 detection policy view
Predefined user roles
network-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.
Make sure both the FHR and xTR use the same authentication mode. If SHA-1 authentication is used, make sure the keys configured on both FHR and xTR are the same. If the keys are different, one of the following consequences occurs:
· The FHR fails to send dynamic EID information.
· The xTR fails to receive 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
eid-prefix
Use eid-prefix to configure the 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 or process any Map-Register messages.
Views
LISP site view
Predefined user roles
Parameters
eid-prefix: Specifies an EID prefix in dotted decimal notation.
prefix-length: Specifies 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. The default value is 0. 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 more specific than the configured EID prefix. Specify this keyword only if your device supports virtual machine mobility.
Usage guidelines
This command does not take effect on devices where the MS feature is disabled.
Examples
# Configure the MS to permit the EID prefix 10.1.1.0/24.
[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 instance view)
xtr instance-id
etr
Use etr to enable the IPv4 ETR feature.
Use undo etr to disable the IPv4 ETR feature.
Syntax
Default
The IPv4 ETR feature is disabled.
Views
LISP VRF instance view
Predefined user roles
Examples
# Enable the IPv4 ETR feature.
[Sysname] lisp
[Sysname-lisp] etr
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 VRF instance view
Predefined user roles
Parameters
verify: Enables the ETR to verify the mapping information in Map-Request messages. If you do not specify this keyword, the ETR directly accepts the mapping information.
Examples
# Configure the ETR to accept the mapping information in Map-Request messages without verification.
[Sysname] lisp
[Sysname-lisp] etr accept-map-request-mapping
Related commands
etr map-cache-ttl
Use etr map-cache-ttl command to set the TTL value in Map-Reply messages sent by an ETR. The MS and ITR set the TTL value for the cache entries according to the TTL value in Map-Reply messages.
Use undo etr map-cache-ttl to restore the default.
Syntax
Default
The TTL value in Map-Reply messages is 1440 minutes (24 hours).
Views
LISP VRF instance view
Predefined user roles
Parameters
ttl: Specifies the TTL value in the range of 60 to 10080 minutes.
Examples
# Set the TTL value in Map-Reply messages to 120 minutes.
[Sysname] lisp
[Sysname-lisp] etr map-cache-ttl 120
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 ]
undo etr map-server map-server-address
Default
No MS address is specified for an IPv4 ETR.
Views
LISP VRF instance view
Predefined user roles
Parameters
map-server-address: Specifies an MS address.
authentication-mode none: Enables the ETR to directly accept the Map-Reply messages from the MS.
authentication-mode sha-1: Enables the ETR to use SHA-1 to authenticate the Map-Reply messages from the MS.
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: Enables the MS to act as a proxy for an ETR. If you specify this keyword, the MS responds to the received Map-Request messages on behalf of the ETR.
Usage guidelines
An ETR periodically sends Map-Request 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 instance view.
Examples
# Specify the MS address 44.44.44.44 for the ETR, and configure the ETR to use SHA-1 to authenticate Map-Reply messages using the plaintext key 12345.
[Sysname] lisp
[Sysname-lisp] etr map-server 44.44.44.44 authentication-mode sha-1 authentication-key plaintext 123456
Related commands
itr
Use itr to enable the IPv4 ITR feature.
Use undo itr to disable the IPv4 ITR feature.
Syntax
Default
The IPv4 ITR feature is disabled.
Views
LISP view
LIPS VRF instance view
Predefined user roles
Examples
# Enable the IPv4 ITR feature.
[Sysname] lisp
[Sysname-lisp] itr
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 VRF instance view
Predefined user roles
Parameters
map-resolver-address: Specifies an MR address.
Usage guidelines
You can specify a maximum of two MR addresses in LISP VRF instance 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] lisp
[Sysname-lisp] itr map-resolver 44.44.44.44
lig
Use lig to query the mapping information in the LISP mapping database.
Syntax
Views
Any view
Predefined user roles
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 MS address as the destination address of Map-Request messages. By default, Map-Request messages are sent to the configured MR.
timer timeout: Specifies the timeout timer for sending the LIG query, in the range of 1 to 5 seconds. The default timeout timer 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 keyword, make sure DNS is configured on the local device. If DNS is not configured, the query will fail.
You can enter Ctrl + C to terminate the query process.
Examples
# Query mapping information for the EID 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
# Query the result of EID-to-RLOC mapping registration with the MS 192.168.10.2 for the EID 10.10.10.0.
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 9 Command output
Description |
|
Time elapsed since the EID prefix became up. |
|
EID prefix aging time. |
|
RLOC address. |
|
Time elapsed since the RLOC address became reachable. |
|
State of the RLOC address. |
|
Priority and weight of the RLOC address. |
|
lisp
Use lisp to enable LISP and enter its view.
Use undo lisp to disable LISP.
Syntax
Default
LISP is disabled.
Views
System view
Predefined user roles
Examples
# Enable LISP and enter its view.
[Sysname] lisp
[Sysname-lisp]
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
undo lisp extended-subnet-mode
Default
Support for extended subnets is disabled.
Views
Interface view
Predefined user roles
Usage guidelines
This command allows an interface to detect virtual machine mobility within the subnet to which the interface is attached.
Examples
# Configure GigabitEthernet 1/0/1 to support extended subnets.
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] lisp extended-subnet-mode
lisp mobility
Use lisp mobility to apply a dynamic EID detection policy to an interface.
Use undo lisp mobility to remove a dynamic EID detection policy from an interface.
Syntax
lisp mobility dynamic-eid-name
undo lisp mobility dynamic-eid-name
Default
No dynamic EID detection policy is applied to an interface.
Views
Interface view
Predefined user roles
Parameters
dynamic-eid-name: Specifies a dynamic EID detection policy by its name, a case-sensitive string of 1 to 63 characters.
Usage guidelines
Examples
# Apply the dynamic EID detection policy DE to GigabitEthernet 1/0/1.
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] lisp mobility DE
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 VRF instance view
Predefined user roles
Parameters
eid-prefix: Specifies an EID prefix in dotted decimal notation.
prefix-length: Specifies 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] lisp
[Sysname-lisp]
[Sysname-lisp] locator-down 10.1.1.0 24 11.11.11.11
Related 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 }
Default
The RLOC address space belongs to the LISP VRF instance.
Views
LISP view
LISP VRF instance view
Predefined user roles
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 MPLS L3VPN instance red.
[Sysname] ip vpn-instance red
[Sysname-vpn-instance-red] address-family ipv4
[Sysname-vpn-ipv4-red] quit
[Sysname-vpn-instance-red] quit
[Sysname] lisp
[Sysname-lisp] locator-vrf vrf red
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
Default
No static EID-to-RLOC mapping cache entry is created.
Views
LISP view
LISP VRF instance view
Predefined user roles
Parameters
destination-eid-prefix: Specifies a destination EID prefix in dotted decimal notation.
prefix-length: Specifies the prefix length in the range of 0 to 32.
locator: Specifies an RLOC address.
priority priority: Specifies the priority for the EID-to-RLOC mapping cache entry, 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 EID-to-RLOC mapping cache entry, 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 the LISP VRF instance red.
[Sysname] ip vpn-instance red
[Sysname-vpn-instance-red] address-family ipv4
[Sysname-vpn-ipv4-red] quit
[Sysname-vpn-instance-red] quit
[Sysname] lisp
[Sysname-lisp] vrf red
[Sysname-lisp-vrf-red] map-cache 10.1.1.0 24 12.1.1.1 priority 1 weight 50
Related 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
Default
The maximum number of EID-to-RLOC mapping cache entries is not set.
Views
LISP view
LISP VRF instance view
Predefined user roles
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] lisp
[Sysname-lisp] map-cache-limit 2000
Related 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
Default
No multicast address is specified for Map-Notify messages.
Views
Dynamic EID detection policy view
Predefined user roles
Parameters
map-notify-group-address: Specifies a multicast address for Map-Notify messages.
Usage guidelines
Examples
# Specify the multicast address 239.0.0.2 for Map-Notify messages.
[Sysname] lisp
[Sysname-lisp] dynamic-eid DE
[Sysname-lisp-dynamic-eid-DE] map-notify-group 239.0.0.2
map-resolver
Use map-resolver to enable the IPv4 MR feature.
Use undo map-resolver to disable the IPv4 MR feature.
Syntax
Default
The IPv4 MR feature is disabled.
Views
LISP view
LISP VRF instance view
Predefined user roles
Usage guidelines
An MR processes and forwards Map-Request messages.
Examples
# Enable the IPv4 MR feature.
[Sysname] lisp
[Sysname-lisp] map-resolver
map-server (dynamic EID detection policy 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 ]
undo map-server map-server-address
Default
No MS address is specified for the dynamic EID space.
Views
Dynamic EID detection policy view
Predefined user roles
Parameters
map-server-address: Specifies an MS address.
authentication-mode none: Enables the MS to directly accept the Map-Register messages from the xTRs.
authentication-mode sha-1: Enables the MS to use SHA-1 to authenticate the Map-Register messages from the xTRs.
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 the MS as a proxy to send Map-Reply messages to the xTRs on behalf of the ETRs.
Usage guidelines
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
[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
map-server (LISP view/LISP VRF instance view)
Use map-server to enable the IPv4 MS feature.
Use undo map-server to disable the IPv4 MS feature.
Syntax
Default
The IPv4 MS feature is disabled.
Views
LISP view
LISP VRF instance view
Predefined user roles
Examples
# Enable the IPv4 MS feature.
[Sysname] lisp
[Sysname-lisp] map-server
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 instance view
Predefined user roles
Parameters
time: Specifies the aging time for the native-forward type mapping cache entries, in the range 1 to 60 seconds.
Usage guidelines
Examples
# Set the aging time to 1 second for the native-forward type mapping cache entries.
[Sysname] lisp
[Sysname-lisp] native-forward-map-cache timeout 1
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
Parameters
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.
default: Clears the detected dynamic EID prefix information 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 the detected dynamic EID prefix information in the public LISP network and all LISP VRF instances.
Examples
# Clear information for the detected dynamic EID prefix 1.1.1.1.
<Sysname> reset lisp dynamic-eid 1.1.1.1
display lisp dynamic-eid
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
Parameters
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.
default: Clears data cache entries 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 data cache entries in all LISP VRF instances.
Examples
# Clear all IPv4 LISP data cache entries.
<Sysname> reset lisp ipv4 data-cache
display lisp ipv4 data-cache
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
Parameters
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.
default: Clears dynamic mapping cache entries 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 dynamic mapping cache entries in all LISP VRF instances.
Examples
# Clear dynamic mapping cache entries in all IPv4 LISP VRF instances.
<Sysname> reset lisp ipv4 map-cache
display lisp ipv4 map-cache
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
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
display lisp ipv4 statistics
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
Parameters
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.
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 in all IPv4 LISP VRF instances.
Examples
# Clear registration information for the LISP site site1.
<Sysname> reset lisp site name site1 default
display lisp site
roaming-eid-prefix
Use roaming-eid-prefix to specify an address range in which the dynamic EIDs are allowed to join the dynamic EID space.
Use undo roaming-eid-prefix to restore the default.
Syntax
roaming-eid-prefix eid-prefix prefix-length
Default
The address range in which the dynamic EIDs are allowed to join the dynamic EID space is 0.0.0.0/0.
Views
Dynamic EID detection policy view
Predefined user roles
Parameters
eid-prefix: Specifies an EID prefix in dotted decimal notation.
prefix-length: Specifies 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.
By default, a host is permitted to join the dynamic EID space only if its EID matches the dynamic EID prefix specified by using the database-mapping command in dynamic EID detection policy view. After you execute the roaming-eid-prefix command, a host can join the dynamic EID space only if its EID is within both the dynamic EID prefix and the host address range.
Examples
# Specify the address range as 1.1.1.1/32 in which the dynamic EIDs are allowed to join the dynamic EID space.
[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 detection policy view)
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 instance view
Predefined user roles
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] lisp
[Sysname-lisp] shortest-eid-prefix-length 12
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
Default
No IPv4 LISP sites exist.
Views
LISP view
LISP VRF instance view
Predefined user roles
Parameters
site-name: Assigns a name to the IPv4 LISP site, a case-sensitive string of 1 to 63 characters.
Usage guidelines
This command does not take effect on devices where the MS feature is disabled.
Examples
# Create the IPv4 LISP site site-1 and enter its view.
[Sysname] lisp
[Sysname-lisp] site site-1
[Sysname-lisp-site-site-1]
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
Default
No IPv4 LISP VRF instances exist.
Views
LISP view
Predefined user roles
Parameters
vrf-name: Specifies the MPLS L3VPN instance name, a case-sensitive string of 1 to 31 characters.
Usage guidelines
Examples
# Create the IPv4 LISP VRF instance red and enter its view.
[Sysname] ip vpn-instance red
[Sysname-vpn-instance-red] quit
[Sysname] lisp
[Sysname-lisp] vrf red
[Sysname-lisp-vrf-red]
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
Default
The instance ID for EID prefixes is 0.
Views
LISP view
LISP VRF instance view
Predefined user roles
Parameters
instance-id: Specifies an instance ID in the range of 1 to 16777215.
Examples
# Specify the instance ID 123 for EID prefixes.
[Sysname] ip vpn-instance red
[Sysname-vpn-instance-red] address-family ipv4
[Sysname-vpn-ipv4-red] quit
[Sysname-vpn-instance-red] quit
[Sysname] lisp
[Sysname-lisp] vrf red
[Sysname-lisp-vrf-red] xtr instance-id 123
Related commands
eid-prefix
allowed-locator,1
authentication-mode,2
database-mapping (dynamic EID detection policy view),3
database-mapping (LISP view/LISP-VRF view),4
description,4
display lisp dynamic-eid,5
display lisp ipv4,7
display lisp ipv4 database,9
display lisp ipv4 data-cache,11
display lisp ipv4 map-cache,11
display lisp ipv4 statistics,14
display lisp site,15
dynamic-eid,18
eid-notify,19
eid-prefix,20
etr,21
etr accept-map-request-mapping,21
etr map-cache-ttl,22
etr map-server,22
itr,23
itr map-resolver,24
lig,24
lisp,26
lisp extended-subnet-mode,27
lisp mobility,27
locator-down,28
locator-vrf,28
map-cache,29
map-cache-limit,30
map-notify-group,31
map-resolver,32
map-server (dynamic EID detection policy view),32
map-server (LISP view/LISP VRF instance view),33
native-forward-map-cache timeout,34
reset lisp dynamic-eid,34
reset lisp ipv4 data-cache,35
reset lisp ipv4 map-cache,35
reset lisp ipv4 statistics,36
reset lisp site,36
roaming-eid-prefix,37
shortest-eid-prefix-length,38
site,38
vrf,39
xtr instance-id,40