HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Conf - Page 96

Configuring basic IPv6 functions, Enabling IPv6, Configuring an IPv6 global unicast address

Page 96 highlights

Configuring basic IPv6 functions Enabling IPv6 Enable IPv6 before you perform any IPv6-related configuration. Without IPv6 enabled, an interface cannot forward IPv6 packets even if it has an IPv6 address configured. To enable IPv6: Step 1. Enter system view. 2. Enable IPv6. Command system-view ipv6 Remarks N/A Disabled by default Configuring an IPv6 global unicast address Configure an IPv6 global unicast address by using the following options: • EUI-64 IPv6 addressing-The IPv6 address prefix of an interface is manually configured, and the interface identifier is generated automatically by the interface. • Manual configuration-The IPv6 global unicast address is configured manually. • Stateless address autoconfiguration-The IPv6 global unicast address is generated automatically based on the address prefix information contained in the RA message. Follow these guidelines when you configure an IPv6 global unicast address: • You can configure multiple IPv6 global unicast addresses with different prefixes on an interface. • A manually configured global unicast address takes precedence over an automatically generated one. If a global unicast address has been automatically generated on an interface when you manually configure another one with the same address prefix, the latter overwrites the previous. The overwritten automatic global unicast address will not be restored even if the manual one is removed. Instead, a new global unicast address will be automatically generated based on the address prefix information in the RA message that the interface receives at the next time. EUI-64 IPv6 addressing To configure an interface to generate an EUI-64 IPv6 address: Step 1. Enter system view. 2. Enter interface view. 3. Configure the interface to generate an EUI-64 IPv6 address. Command system-view interface interface-type interface-number ipv6 address ipv6-address/prefix-length eui-64 Remarks N/A N/A By default, no IPv6 global unicast address is configured on an interface. Manual configuration To specify an IPv6 address manually for an interface: 88

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165

88
Configuring basic IPv6 functions
Enabling IPv6
Enable IPv6 before you perform any IPv6-related configuration. Without IPv6 enabled, an interface
cannot forward IPv6 packets even if it has an IPv6 address configured.
To enable IPv6:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable IPv6.
ipv6
Disabled by default
Configuring an IPv6 global unicast address
Configure an IPv6 global unicast address by using the following options:
EUI-64 IPv6 addressing
—The IPv6 address prefix of an interface is manually configured, and the
interface identifier is generated automatically by the interface.
Manual configuration
—The IPv6 global unicast address is configured manually.
Stateless address autoconfiguration
—The IPv6 global unicast address is generated automatically
based on the address prefix information contained in the RA message.
Follow these guidelines when you configure an IPv6 global unicast address:
You can configure multiple IPv6 global unicast addresses with different prefixes on an interface.
A manually configured global unicast address takes precedence over an automatically generated
one. If a global unicast address has been automatically generated on an interface when you
manually configure another one with the same address prefix, the latter overwrites the previous. The
overwritten automatic global unicast address will not be restored even if the manual one is removed.
Instead, a new global unicast address will be automatically generated based on the address prefix
information in the RA message that the interface receives at the next time.
EUI-64 IPv6 addressing
To configure an interface to generate an EUI-64 IPv6 address:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Configure the interface to
generate an EUI-64 IPv6
address.
ipv6 address
ipv6-address
/
prefix-length
eui-64
By default, no IPv6 global unicast
address is configured on an interface.
Manual configuration
To specify an IPv6 address manually for an interface: