Chapter 1 IPv6 Address Configuration
The host automatically uses the global address prefix obtained from routers and
its own interface ID to automatically configure a global address to communicate
with other hosts within the Internet.
1.2 Configuring IPv6 Addresses
To configure IPv6 addresses, perform the following steps:
Step
Command
Function
1
ZXR10(config)#
interface
<
interface-name
>
Enters the interface
configuration mode.
ZXR10(config-if-interface-name)#
ipv6 enable
Enables the IPv6 protocol.
ZXR10(config-if-interface-name)#
ipv6 address
<
ipv6-address
>
/
<
prefix-length
>[{
eui-64
|
anycast
}]
Configures an IPv6 address on
an interface.
ZXR10(config-if-interface-name)#
ipv6 address
link-local
<
X:X::X:X
>
Configures the IPv6 link local
address of the interface.
2
ZXR10(config-if-interface-name)#
ipv6 mtu
<
bytes
>
Sets the
of the IPv6
packets to be transmitted on
the interface.
For a description of the parameters in Step 2, refer to the following table:
Parameter
Description
<
ipv6-address
>
Specifies the address to be configured on the interface. The
address format follows RFC 2373. 16 bits form a group and
groups are separated by colons. The address may also
assume the simplified mode as defined in RFC 2373.
<
prefix-length
>
Specifies the prefix length of the IPv6 address in decimal
system, indicating the number of consecutive most significant
bits that form the prefix in the IPv6 address.
eui-64
EUI-64 address.
anycast
Anycast address identifier.
<
bytes
>
Specifies the MTU value in the unit of bytes. The default
value depends on the specific interface type. The minimum
value is 1,280 bytes, and the value range is 1280-9202.
1.3 Maintaining IPv6 Addresses
To maintain IPv6 addresses, run the following commands:
1-13
SJ-20150114102049-011|2015-01-15 (R1.0)
ZTE Proprietary and Confidential