Step 1 |
enable
|
Enables
privileged EXEC mode.
|
Step 2 |
configure
terminal
Device# configure terminal
|
Enters global
configuration mode.
|
Step 3 |
vrf
definition
vrf-name
Device(config)# vrf definition vrf1
|
Configures a
virtual routing and forwarding (VRF) routing table instance and enters VRF
configuration mode.
|
Step 4 |
exit
|
Exits VRF
configuration mode and returns to global configuration mode.
|
Step 5 |
ipv6
mobile
pmipv6-mag
mag-id
domain
domain-name
Device(config)# ipv6 mobile pmipv6-mag mag1 domain dn1
|
Enables the MAG
service on a device, configures the PMIPv6 domain for the MAG, and enters MAG
configuration mode.
|
Step 6 |
role
{3gpp |
wlan }
Device(config-ipv6-pmipv6-mag)# role 3gpp
|
Configures a
role for the MAG.
The keywords are
as follows:
-
3gpp—Specifies the role
as 3GPP.
-
lte—Specifies the role as
LTE.
-
wimax—Specifies the role
as wimax.
-
wlan—Specifies the role
as wireless LAN (WLAN).
|
Step 7 |
apn
apn-name
Device(config-ipv6-pmipv6-mag)# apn apn2
|
Specifies an
access point name (APN) to the subscriber of the MAG.
|
Step 8 |
local-routing-mag
Device(config-ipv6-pmipv6-mag)# local-routing-mag
|
Enables local
routing for the MAG.
|
Step 9 |
discover-mn-detach
poll
interval seconds
timeout seconds
retries retry-count
Device(config-ipv6-pmipv6-mag)# discover-mn-detach poll interval 11 timeout 3 retries 4
|
Enables
periodic verification of the MN attachment with the MAG-enabled interface.
|
Step 10 |
address
ipv4
ipv4-address
Device(config-ipv6-pmipv6-mag)# address ipv4 10.1.3.1
|
Configures an
IPv4 address for the MAG.
|
Step 11 |
address
ipv6
ipv6-address
Device(config-ipv6-pmipv6-mag)# address ipv6 2001:0DB8:2:4::1
|
Configures an
IPv6 address for the MAG.
|
Step 12 |
sessionmgr
Device(config-ipv6-pmipv6-mag)# sessionmgr
|
Configures an
IPv6 address for the MAG.
|
Step 13 |
interface
type
number
Device(config-ipv6-pmipv6-mag)# interface gigabitethernet 0/0/0
|
Enables an
interface for the MAG.
|
Step 14 |
binding
maximum
number
Device(config-ipv6-pmipv6-mag)# binding maximum 200
|
Specifies the
maximum number of Proxy Binding Update (PBU) entries allowed for the MAG.
|
Step 15 |
binding
lifetime
seconds
Device(config-ipv6-pmipv6-mag)# binding lifetime 5000
|
Specifies the
maximum lifetime permitted for the PBU entry.
|
Step 16 |
binding
refresh-time
seconds
Device(config-ipv6-pmipv6-mag)# binding refresh-time 2000
|
Specifies the
PBU entry refresh time.
|
Step 17 |
binding
init-retx-time
milliseconds
Device(config-ipv6-pmipv6-mag)# binding init-retx-time 110
|
Specifies the
initial timeout interval between the PBU and Proxy Binding Acknowledgment (PBA)
until a PBA is received.
|
Step 18 |
binding
max-retx-time
milliseconds
Device(config-ipv6-pmipv6-mag)# binding max-retx-time 4000
|
Specifies the
maximum timeout interval between the PBU and the PBA until a PBA is received.
|
Step 19 |
replay-protection
timestamp
[window
seconds ]
Device(config-ipv6-pmipv6-mag)# replay-protection timestamp window 200
|
Configures
the replay protection mechanism within the PMIPv6 domain.
|
Step 20 |
bri
delay
min
milliseconds
Device(config-ipv6-pmipv6-mag)# bri delay min 500
|
Specifies the
minimum time for which an LMA should wait before transmitting the Binding
Revocation Indication (BRI) message.
|
Step 21 |
bri
delay
max
milliseconds
Device(config-ipv6-pmipv6-mag)# 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 22 |
bri
retry
number
Device(config-ipv6-pmipv6-mag)# bri retry 6
|
Specifies the
maximum number of times an LMA should retransmit a BRI message, until a BRA is
received.
|
Step 23 |
lma
lma-id
domain-name
Device(config-ipv6-pmipv6-mag)# lma lma3 dn1
|
Configures
the LMA for the MAG and enters MAG-LMA configuration mode.
|
Step 24 |
auth-option
spi
{spi-hex-value
|
decimal
spi-decimal-value }
key {ascii |
hex }
hex-string
Device(config-ipv6-pmipv6mag-lma)# auth-option spi decimal 258 key hex BDF
|
Configures
authentication for the LMA within the MAG.
|
Step 25 |
ipv4-address
ipv4-address
Device(config-ipv6-pmipv6mag-lma)# ipv4-address 172.16.0.1
|
Configures an
IPv4 address for the LMA within the MAG.
Note
|
You can repeat this command to configure multiple IP addresses.
|
|
Step 26 |
vrfid
vrf-name
Device(config-ipv6-pmipv6mag-lma)# vrfid vrf1
|
Specifies a
VRF for an LMA peer.
|
Step 27 |
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 28 |
end
Device(config-ipv6-pmipv6mag-lma)# end
|
Exits MAG-LMA
configuration mode and returns to privileged EXEC mode.
|
Step 29 |
show
ipv6
mobile
pmipv6
mag
mag-id globals
Device# show ipv6 mobile pmipv6 mag mag1 globals
|
(Optional)
Displays MAG global configuration details.
|