Step 1 |
enable
|
Enables
privileged EXEC mode.
|
Step 2 |
configure
terminal
Device# configure terminal
|
Enters global
configuration mode.
|
Step 3 |
ip
local pool
pool-name low-ip-address high-ip-address
Device(config)# ip local pool v4pool 172.16.23.1 172.16.23.10
|
Creates a local
pool of IPv4 addresses.
|
Step 4 |
ipv6
local pool
pool-name
prefix/prefix-length assigned-length
Device(config)# ipv6 local pool v6pool 2001:0DB8::/29 64
|
Creates a local
pool of IPv6 addresses.
|
Step 5 |
ipv6
mobile
pmipv6-lma
lma-id
domain
domain-name
Device(config)# ipv6 mobile pmipv6-lma lma1 domain dn1
|
Enables the LMA
service on a device, configures the PMIP domain for the LMA, and enters LMA
configuration mode.
|
Step 6 |
enable aaa
accounting
Device(config-ipv6-pmipv6-lma)# enable aaa accounting
|
Enables AAA
accounting for MN sessions.
|
Step 7 |
network
network-name
Device(config-ipv6-pmipv6-lma)# network network1
|
Configures a
network name with the LMA under which an
IPv4 or
IPv6 pool is to be enabled and enters LMA-network
configuration mode.
|
Step 8 |
pool
ipv4
pool-name
pfxlen
number
Device(config-ipv6-pmipv6lma-network)# pool ipv4 v4pool pfxlen 24
|
Specifies the
name of the IPv4 address pool from which a home address is allocated to an MN
subscriber.
|
Step 9 |
pool
ipv6
pool-name
pfxlen
number
Device(config-ipv6-pmipv6lma-network)# pool ipv6 v6pool pfxlen 24
|
Specifies the
name of the IPv6 address pool from which a home address is allocated to an MN
subscriber.
|
Step 10 |
exit
Device(config-ipv6-pmipv6lma-network)# exit
|
Exits
LMA-network configuration mode and enters LMA configuration mode.
|
Step 11 |
default
profile
profile1
Device(config-ipv6-pmipv6-lma)# default profile profile1
|
Enables the
default profile for the MN.
|
Step 12 |
address
ipv4
ipv4-address
Device(config-ipv6-pmipv6-lma)# address ipv4 192.0.2.1
|
Configures an
IPv4 address for the LMA.
|
Step 13 |
address
ipv6
ipv6-address
Device(config-ipv6-pmipv6-lma)# address ipv6 2001:DB8::1
|
Configures an
IPv6 address for the LMA.
|
Step 14 |
bce
maximum
number
Device(config-ipv6-pmipv6-lma)# bce maximum 200
|
Specifies the
maximum number of Binding Cache Entries (BCE) that is allowed for the LMA on
the MN.
|
Step 15 |
bce
lifetime
seconds
Device(config-ipv6-pmipv6-lma)# bce lifetime 5000
|
Specifies the
maximum lifetime of a BCE on a MN.
|
Step 16 |
bce
refresh-time
seconds
Device(config-ipv6-pmipv6-lma)# bce refresh-time 2000
|
Specifies the
time to refresh the BCE of an MN.
|
Step 17 |
bce
delete-wait-time
seconds
Device(config-ipv6-pmipv6-lma)# bce delete-wait-time 2000
|
Specify the
minimum amount of time in seconds the LMA must wait before it deletes a BCE on
receiving the notification from the MAG.
|
Step 18 |
replay-protection
timestamp
[window
seconds ]
Device(config-ipv6-pmipv6-lma)# replay-protection timestamp window 200
|
Configures
the replay protection mechanism within the PMIP domain.
|
Step 19 |
bri
delay
min
milliseconds
Device(config-ipv6-pmipv6-lma)# bri delay min 500
|
Specifies the
minimum time for which an LMA should wait before transmitting the Binding
Revocation Indication (BRI) message.
|
Step 20 |
bri
delay
max
milliseconds
Device(config-ipv6-pmipv6-lma)# bri delay max 4500
|
Specifies the
maximum time for which an LMA should wait for the Binding Revocation
Acknowledgment (BRA) message before retransmitting the BRI message.
|
Step 21 |
bri
retries
number
Device(config-ipv6-pmipv6-lma)# bri retries 6
|
Specifies the
maximum number of times an LMA should retransmit a BRI message until a BRA is
received.
|
Step 22 |
mag
mag-id
domain-name
Device(config-ipv6-pmipv6-lma)# mag mag3 dn1
|
Configures
the MAG for the LMA and enters LMA-MAG configuration mode.
|
Step 23 |
auth-option
spi
{spi-hex-value
|
decimal
spi-decimal-value }
key {ascii |
hex }
hex-string
Device(config-ipv6-pmipv6lma-mag)# auth-option spi decimal 258 key hex FFFFF
|
Configures
authentication for the LMA within the MAG.
|
Step 24 |
ipv4-address
ipv4-address
Device(config-ipv6-pmipv6mag-lma)# ipv4-address 192.0.2.254
|
Configures an
IPv4 address for the LMA within the MAG.
Note
|
Repeat the
ipv4-address
ipv4-address
to configure as many IPv4 addresses as required.
|
|
Step 25 |
ipv6-address
ipv6-address
Device(config-ipv6-pmipv6mag-lma)# ipv6-address 2001:0DB8:2:5::1
|
Configures an
IPv6 address for the LMA within the MAG.
Note
|
Repeat the
ipv6-address
ipv6-address
to configure as many IPv6 addresses as required.
|
|
Step 26 |
encap
{gre-ipv4 |
ipv6-in-ipv6 }
Device(config-ipv6-pmipv6mag-lma)# encap gre-ipv4
|
Configures a
tunnel encapsulation mode type between the MAG and the LMA.
|
Step 27 |
end
Device(config-ipv6-pmipv6mag-lma)# end
|
Exits LMA-MAG
configuration mode and returns to privileged EXEC mode.
|
Step 28 |
show
ipv6
mobile
pmipv6
lma
lma1
globals
Device# show ipv6 mobile pmipv6 lma lma1 globals
|
(Optional)
Displays LMA global configuration details.
|