18-NEMO Command Reference

HomeSupportRoutersMSR5600 Series(Comware V7)Reference GuidesCommand ReferencesH3C MSR 5600 Routers Command References(V7)-R0707-6W30118-NEMO Command Reference
Table of Contents
Related Documents
01-NEMO commands
Title Size Download
01-NEMO commands 77.78 KB

NEMO commands

 

 

NOTE:

Data Software licenses are required for some devices to support NEMO. For more information about licensing, see license management in Fundamentals Configuration Guide.

address

Use address to assign a home address to the mobile router.

Use undo address to restore the default.

Syntax

address ip-address

undo address

Default

The mobile router does not have any home addresses.

Views

Mobile router view

Predefined user roles

network-admin

Parameters

ip-address: Specifies a home address in dotted decimal notation.

Examples

# Assign the home address 192.168.1.2 to the mobile router.

<Sysname> system-view

[Sysname] ip mobile router

[Sysname-mobile-router] address 192.168.1.2

display ip mobile router registration

Use display ip mobile router registration to display registration information for the mobile router.

Syntax

display ip mobile router registration

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display registration information for the mobile router.

<Sysname> display ip mobile router registration

Registration accepted on 01/31/13 at 07:01:24, on GigabitEthernet1/0/1

Care-of addr: 10.52.52.1  HA addr: 10.40.40.1  Home addr: 10.80.80.1

Lifetime requested: 36000 seconds

Granted: 3600 seconds

Remaining: 59 minutes 47 seconds

Flags: sbdmG-t-

Identification: B68B7673.81565B8

Next registration: 59 minutes 27 seconds

Extensions:

  Mobile network: 172.16.153.0/24

  Mobile network: 172.16.143.0/24

  Authentication SPI: 101

Table 1 Command output

Field

Description

Registration accepted

Date and time when the registration reply was accepted.

On

Interface that receives the registration reply.

Care-of addr

Care-of address.

HA addr

IP address of the home agent.

Home addr

Home address of the mobile router.

Lifetime requested

Registration lifetime requested by the mobile router.

Granted

Registration lifetime granted by the home agent.

Remaining

Remaining lifetime before expiration.

Flags

Flags in the registration reply.

Identification

Registration identification in the registration reply.

Next registration

Time that the mobile router waits to send the next registration request.

Extensions

Extensions in the registration reply.

Mobile network

IP address and subnet mask of the mobile network.

Authentication SPI

SPI that identifies authentication between the mobile router and the home agent.

 

home-agent

Use home-agent to specify the IP address of the home agent.

Use undo home-agent to restore the default.

Syntax

home-agent ip-address

undo home-agent

Default

No home agent is specified on the mobile router.

Views

Mobile router view

Predefined user roles

network-admin

Parameters

ip-address: Specifies the IP address of the home agent, in dotted decimal notation.

Examples

# Specify the IP address of the home agent 192.168.1.3 on the mobile router.

<Sysname> system-view

[Sysname] ip mobile router

[Sysname-mobile-router] home-agent 192.168.1.3

interop

Use interop to enable the interoperability mode.

Use undo interop to disable the interoperability mode.

Syntax

interop

undo interop

Default

The interoperability mode is disabled.

Views

Mobile router view

Predefined user roles

network-admin

Usage guidelines

Use this command when the peer device is from other vendors and does not support RFC 5177.

Examples

# Enable the interoperability mode.

<Sysname> system-view

[Sysname] ip mobile router

[Sysname-mobile-router] interop

ip df-bit zero

Use ip df-bit zero to set the DF bit to 0 for outgoing tunneled packets.

Use undo ip df-bit zero to restore the default.

Syntax

ip df-bit zero

undo ip df-bit zero

Default

The DF bit of outgoing tunneled packets is set to 1.

Views

Mobile router view

Predefined user roles

network-admin

Examples

# Set the DF bit to 0 for outgoing tunneled packets.

<Sysname> system-view

[Sysname] ip mobile router

[Sysname-mobile-router] ip df-bit zero

ip mobile router

Use ip mobile router to enable the mobile router feature and enter mobile router view.

Use undo ip mobile router to disable the mobile router feature.

Syntax

ip mobile router

undo ip mobile router

Default

The mobile router feature is disabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

When you disable the mobile router feature, all settings in mobile router view are removed.

Examples

# Enable the mobile router feature and enter mobile router view.

<Sysname> system-view

[Sysname] ip mobile router

[Sysname-mobile-router]

ip mobile router-service collocated gateway

Use ip mobile router-service collocated gateway to specify the gateway address for a roaming interface.

Use undo ip mobile router-service collocated gateway to restore the default.

Syntax

ip mobile router-service collocated gateway ip-address

undo ip mobile router-service collocated gateway

Default

No gateway address is specified for a roaming interface.

Views

Layer 3 interface view

Predefined user roles

network-admin

Parameters

ip-address: Specifies a gateway address for the roaming interface, in dotted decimal notation.

Usage guidelines

Before you execute this command on an interface, make sure the interface has been configured as a roaming interface.

Use this command in either of the following situations:

·     The interface does not obtain a gateway from the DHCP server.

·     The interface has a manually configured IP address.

If the roaming interface obtains an IP address and a gateway from a DHCP server, it automatically uses the gateway as the next hop to send a registration request. In this situation, this command does not take effect.

Examples

# Specify gateway address 192.168.1.23 for GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] ip address 172.21.58.23 255.255.255.0

[Sysname-GigabitEthernet1/0/1] ip mobile router-service roam

[Sysname-GigabitEthernet1/0/1] ip mobile router-service collocated gateway 192.168.1.23

Related commands

ip mobile router-service roam

ip mobile router-service collocated registration retry

Use ip mobile router-service collocated registration retry to set the registration retry interval upon registration failure for a roaming interface.

Use undo ip mobile router-service collocated registration retry to restore the default.

Syntax

ip mobile router-service collocated registration retry interval

undo ip mobile router-service collocated registration retry

Default

The registration retry interval is 60 seconds.

Views

Layer 3 interface view

Predefined user roles

network-admin

Parameters

interval: Sets the registration retry interval in the range of 1 to 65535 seconds. The value 65535 indicates that the registration is not retried.

Usage guidelines

Before you execute this command on an interface, make sure the interface has been configured as a roaming interface.

Examples

# Set the registration retry interval to 100 seconds for the roaming interface GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] ip mobile router-service roam

[Sysname-GigabitEthernet1/0/1] ip mobile router-service collocated registration retry 100

Related commands

ip mobile router-service roam

ip mobile router-service roam

Use ip mobile router-service roam to configure a roaming interface.

Use undo ip mobile router-service roam to restore the default.

Syntax

ip mobile router-service roam

undo ip mobile router-service roam

Default

An interface is not a roaming interface.

Views

Layer 3 interface view

Predefined user roles

network-admin

Usage guidelines

A device can have only one roaming interface. If you configure another roaming interface on the same device, your configuration will fail.

The primary IP address of the roaming interface is automatically chosen as the CCoA address.

Examples

# Configure GigabitEthernet 1/0/1 as a roaming interface.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] ip mobile router-service roam

ip mobile secure home-agent

Use ip mobile secure home-agent to configure a security association for authentication to the home agent.

Use undo ip mobile secure home-agent to delete the security association.

Syntax

ip mobile secure home-agent ip-address spi hex-value key ascii { ciphertext | simpletext } string

undo ip mobile secure home-agent ip-address spi hex-value

Default

No security association is configured on the router for authentication to the home agent.

Views

System view

Predefined user roles

network-admin

Parameters

ip-address: Specifies the IP address of the home agent, in dotted decimal notation.

hex-value: Specifies an SPI in hexadecimal notation to identify a security association. The value range is 0x100 to 0xffffffff.

ciphertext: Specifies a key in encrypted form.

simpletext: 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 16 characters. Its encrypted form is a case-sensitive string of 33 to 53 characters.

Usage guidelines

To use the HMAC-MD5 algorithm for authentication, configure the same security association parameters on the mobile router and the home agent.

For information about security associations, see Security Configuration Guide.

Examples

# Configure a security association that contains the home agent address 2.2.2.2, SPI 100, and the plaintext key abcdefg.

<Sysname> system-view

[Sysname] ip mobile secure home-agent 2.2.2.2 spi 100 key ascii simpletext abcdefg

ipsec policy

Use ipsec policy to apply an IPsec policy to the tunnel interface of a mobile IP tunnel.

Use undo ipsec policy to restore the default.

Syntax

ipsec policy policy-name

undo ipsec policy

Default

No IPsec policy is applied to the tunnel interface of a mobile IP tunnel.

Views

Mobile router view

Predefined user roles

network-admin

Parameters

policy-name: Specifies an IPsec policy by its name, a case-insensitive string of 1 to 63 characters.

Examples

# Apply IPsec policy policy1 to the tunnel interface of the mobile IP tunnel.

<Sysname> system-view

[Sysname] ip mobile router

[Sysname-mobile-router] ipsec policy policy1

mobile-network

Use mobile-network to specify a mobile router interface for connecting to a mobile network.

Use undo mobile-network to remove the configuration.

Syntax

mobile-network interface-type { interface-number | interface-number.subnumber }

undo mobile-network interface-type { interface-number | interface-number.subnumber }

Default

No interface is configured as a mobile router interface.

Views

Mobile router view

Predefined user roles

network-admin

Parameters

interface-type: Specifies an interface type.

interface-number: Specifies an interface number.

interface-number.subnumber: Specifies a subinterface number. The interface-number argument represents the number of an interface. The subnumber argument represents the number of the subinterface that has been created for the interface. The value range for the subnumber argument is 1 to 4094.

Usage guidelines

The primary IP address of a mobile router interface is contained in the registration request to inform the home agent of the mobile network.

Examples

# Specify GigabitEthernet 1/0/1 as a mobile router interface.

<Sysname> system-view

[Sysname] ip mobile router

[Sysname-mobile-router] mobile-network gigabitethernet 1/0/1

preference

Use preference to set a preference for mobile IP routes.

Use undo preference to restore the default.

Syntax

preference preference

undo preference

Default

The preference value is 65.

Views

Mobile IP view

Predefined user roles

network-admin

Parameters

preference: Specifies a preference for mobile IP routes, in the range of 1 to 255.

Examples

# Set the preference for mobile IP routes to 60.

<Sysname> system-view

[Sysname] router mobile

[Sysname-mip] preference 60

register extend

Use register extend to configure registration extension parameters for the mobile router to be kept alive.

Use undo register extend to restore the default.

Syntax

register extend expire seconds retry retries interval interval

undo register extend

Default

The mobile router sends a registration request 60 seconds before the registration expires. The mobile router makes a maximum of 3 retries every 10 seconds if it does not receive a registration reply.

Views

Mobile router view

Predefined user roles

network-admin

Parameters

expire seconds: Specifies the amount of time before registration expiration. The value range for the seconds argument is 1 to 60 seconds.

retry retries: Specifies the maximum number of retries for sending a registration request. The value range for the retries argument is 0 to 10. The value 0 indicates that the interface does not make any retries.

interval interval: Specifies the retry interval in the range of 1 to 3600 seconds.

Usage guidelines

If the registration lifetime is no longer than the time specified by the expire seconds option, the mobile router sends a registration request when half the registration lifetime elapses.

Examples

# Configure the mobile router to send a registration request 60 seconds before registration expiration. Configure the mobile router to make 3 retries every 5 seconds if no registration reply is received.

<Sysname> system-view

[Sysname] ip mobile router

[Sysname-mobile-router] register extend expire 60 retry 3 interval 5

Related commands

register lifetime

register lifetime

Use register lifetime to set the registration lifetime requested by the mobile router.

Use undo register lifetime to restore the default.

Syntax

register lifetime seconds

undo register lifetime

Default

The registration lifetime is 65534 seconds.

Views

Mobile router view

Predefined user roles

network-admin

Parameters

seconds: Sets the registration lifetime in the range of 3 to 65535 seconds. The value 65535 means that the registration never expires.

Usage guidelines

If the mobile router does not receive any replies from the home agent within the registration lifetime, the router performs the following operations:

·     Removes the registration information.

·     Sends registration request until a reply is received.

If the registration lifetime is set on both the mobile router and the home agent, the smaller value is used.

Examples

# Set the registration lifetime to 3600 seconds.

<Sysname> system-view

[Sysname] ip mobile router

[Sysname-mobile-router] register lifetime 3600

Related commands

register extend

register retransmit

Use register retransmit to set retransmission parameters for the mobile router's registration with the home agent.

Use undo register retransmit to restore the default.

Syntax

register retransmit initial milliseconds maximum milliseconds retry retries

undo register retransmit

Default

The initial waiting time is 1000 milliseconds, the maximum waiting time is 5000 milliseconds, and a maximum of 3 retries is allowed.

Views

Mobile router view

Predefined user roles

network-admin

Parameters

initial milliseconds: Specifies the initial waiting time in milliseconds for the mobile router to transmit the registration request if no reply is received for the initial request. The value range is 10 to 10000.

maximum milliseconds: Specifies the maximum waiting time in milliseconds for the mobile router to retransmit a registration request. The value range is 10 to 10000.

retry retries: Specifies the maximum number of retries for sending a registration request. The value range is 0 to 10. The value 0 indicates that the mobile router does not retransmit a registration request.

Usage guidelines

The current waiting time is twice the previous waiting time. When the current waiting time exceeds the maximum waiting time, the maximum waiting time applies.

Examples

# Set the initial waiting time to 2000 milliseconds, the maximum waiting time to 10000 milliseconds, and the maximum number of retries to 4.

<Sysname> system-view

[Sysname] ip mobile router

[Sysname-mobile-router] register retransmit initial 2000 maximum 10000 retry 4

router mobile

Use router mobile to enable mobile IP and enter its view.

Use undo router mobile to disable mobile IP.

Syntax

router mobile

undo router mobile

Default

Mobile IP is disabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

When you disable mobile IP, all NEMO settings are removed.

Examples

# Enable mobile IP and enter its view.

<Sysname> system-view

[Sysname] router mobile

[Sysname-mip]

tcp mss

Use tcp mss to set the TCP MSS for the tunnel interface of a mobile IP tunnel.

Use undo tcp mss to restore the default.

Syntax

tcp mss value

undo tcp mss

Default

No TCP MSS is set for the tunnel interface of a mobile IP tunnel.

Views

Mobile router view

Predefined user roles

network-admin

Parameters

value: Specifies the TCP MSS in the range of 128 to 63960 bytes.

Examples

# Set the TCP MSS to 1024 bytes for the tunnel interface of the mobile IP tunnel.

<Sysname> system-view

[Sysname] ip mobile router

[Sysname-mobile-router] tcp mss 1024

tunnel mtu

Use tunnel mtu to set an MTU for the tunnel interface of a mobile IP tunnel.

Use undo tunnel mtu to restore the default.

Syntax

tunnel mtu size

undo tunnel mtu

Default

The MTU for the tunnel interface is 64000 bytes.

Views

Mobile router view

Predefined user roles

network-admin

Parameters

size: Specifies an MTU in the range of 100 to 64000 bytes.

Examples

# Set the MTU to 1024 bytes for the tunnel interface of the mobile IP tunnel.

<Sysname> system-view

[Sysname] ip mobile router

[Sysname-mobile-router] tunnel mtu 1024

tunnel-number

Use tunnel-number to set the tunnel interface number range for automatic tunnel creation.

Use undo tunnel-number to restore the default.

Syntax

tunnel-number min min-number max max-number

undo tunnel-number

Default

The minimum tunnel interface number is 0 and the maximum tunnel interface number is 10239.

Views

Mobile IP view

Predefined user roles

network-admin

Parameters

min-number: Sets the minimum tunnel interface number in the range of 0 to 10239.

max-number: Sets the maximum tunnel interface number in the range of 0 to 10239.

Usage guidelines

If a tunnel is used by another protocol, the interface number is not available to the mobile IP tunnel. If no available interface number exists, the mobile router fails to establish the tunnel with the home agent. The mobile router initiates a registration request after the interval set by using the ip mobile router-service collocated registration retry command.

Examples

# Set the tunnel interface number range 5 to 15 for the mobile IP tunnel.

<Sysname> system-view

[Sysname] router  mobile

[Sysname-mip] tunnel-number min 5 max 15

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网