# ip mobile host

#### Syntax

ip mobile host { nai {user@realm |@realm | @ } |ipAddress } [aaa] [care-of-access acl ] [ lifetime lifetimeSeconds ]

no ip mobile host { nai {user@realm | @realm | @ } | ipAddress }

#### Release Information

Command introduced in JunosE Release 9.0.0.

#### Description

Configures the mobile node on a virtual router with an optional host network access identifier (NAI) address or the home address (IP address of the home agent). You can specify either the nai keyword or a non-zero home address (IP address of the mobile node). If the AAA server does not provide all configuration information, a local lookup retrieves the configuration information by either matching the NAI registration request or the home address registration request. The no version deletes the configuration of the mobile node on the virtual router.

#### Options

- user@realm—Name of the user for the mobile node specification when the nai keyword is specified, in the format user@realm, where realm is the domain name
- @realm—Name of the user for the mobile node specification when the nai keyword is specified, in the format @realm, where realm is the domain name
- @—Name of the user for the mobile node specification when the nai keyword is specified, in the format @
- ipAddress—IP address of the home agent
- aaa—Causes the router to use the AAA server to validate registration requests and to obtain configuration and security association information
- acl—Name of the access control list applied to the care-of-access, which restricts access for foreign agents or networks. You can override this care-of-access ACL with other ACLs for specific host mobile nodes. By default, the router does not apply a care-of-access ACL
- lifetimeSeconds—Maximum number of seconds during which the registration requests are established; default value is 36,000 seconds. The maximum lifetime configured for specific mobile nodes can override this lifetime value

#### Mode

Global Configuration