Configure IPv6 Basic Functions
Configuration Condition
None
Enable IPv6 Unicast Forwarding Function
By default, the IPv6 unicast forwarding function is enabled. In some special cases, the user can disable the IPv6 unicast forwarding function. After disabling the function, do not forward the IPv6 packet.
Table 5-5 Enable IPv6 unicast forwarding function
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Enable IPv6 unicast forwarding function
|
ipv6 unicast-routing
|
Mandatory
By default, the IPv6 unicast forwarding function is enabled.
|
Enable IPv6 Function of the Interface
Before performing the IPv6 configuration on one interface, first enable the IPv6 function. Otherwise, some configuration will not take effect.
Table 5-6 Enable the IPv6 function of the interface
Step |
Command |
Description |
Enter the global configuration mode
|
configure terminal
|
-
|
Enter the interface configuration mode
|
interface interface-name
|
-
|
Enable the IPv6 function of the interface
|
ipv6 enable
|
Mandatory
By default, the IPv6 function of the interface is disabled.
|
Configure the Hop Limit of the IPv6 Packet
The IPv6 header contains the Hop Limit field, whose function is the same as the TTL field in the IPv4 header, representing the times the packet can be forwarded by the router over the network.
With the command, you can configure the hop limit in the IPv6 packet header generated by the device.
Table 5-7 Configure the hop limit of the IPv6 packet
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Configure the hop limit of the IPv6 packet
|
ipv6 hop-limit value
|
Mandatory
By default, the hop limit of the IPv6 packet sent by the device is 64.
|
Configure the IPv6 MTU of the Interface
Table 5-8 Configure the IPv6 MTU of the interface
Step |
Command |
Description |
Enter the global configuration mode |
configure terminal |
- |
Enter the interface configuration mode
|
interface interface-name
|
-
|
Configure the IPv6 MTU of the interface
|
ipv6 mtu value
|
Mandatory
By default, do not configure the IPv6 MTU of the interface
|