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

Configuration example, Network requirements, Configuration procedure, As shown

Page 156 highlights

Step Command 8. Configure the maximum number of nested encapsulations of a encapsulation-limit [ number ] packet. 9. Return to system view. quit 10. Enable dropping of IPv6 packets using IPv4-compatible IPv6 addresses. tunnel discard ipv4-compatible-packet Remarks Optional. 4 by default. N/A Optional. Disabled by default. Configuration example Network requirements As shown in Figure 69, the two subnets Group 1 and Group 2 running IPv6 are connected through an IPv6 network. Configure an IPv6 over IPv6 tunnel between Switch A and Switch B to make the two subnets reachable to each other without disclosing their IPv6 addresses to the IPv6 network. Figure 69 Network diagram GE1/0/3 Switch A Vlan-int101 2002::11:1/64 Vlan-int100 2002:1::1/64 Tunnel1 3001::1:1/64 IPv6 network IPv6 over IPv6 tunnel Switch B Vlan-int101 2002::22:1/64 GE1/0/3 Tunnel2 3001::1:2/64 Vlan-int100 2002:3::1/64 IPv6 Group 1 Service loopback port IPv6 Group 2 Configuration procedure Before configuring an IPv6 over IPv6 tunnel, make sure that Switch A and Switch B have the corresponding VLAN interfaces created and can reach each other. • Configure Switch A: # Enable IPv6. system-view [SwitchA] ipv6 # Configure an IPv6 address for VLAN-interface 100. [SwitchA] interface vlan-interface 100 [SwitchA-Vlan-interface100] ipv6 address 2002:1::1 64 [SwitchA-Vlan-interface100] quit # Configure an IPv6 address for VLAN-interface 101 (the physical interface of the tunnel). [SwitchA] interface vlan-interface 101 [SwitchA-Vlan-interface101] ipv6 address 2002::11:1 64 [SwitchA-Vlan-interface101] quit # Create service loopback group 1 to support the tunnel service. [SwitchA] service-loopback group 1 type tunnel 148

  • 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

148
Step
Command
Remarks
8.
Configure the maximum
number of nested
encapsulations of a
packet.
encapsulation-limit
[
number
]
Optional.
4 by default.
9.
Return to system view.
quit
N/A
10.
Enable dropping of IPv6
packets using
IPv4-compatible IPv6
addresses.
tunnel discard
ipv4-compatible-packet
Optional.
Disabled by default.
Configuration example
Network requirements
As shown in
Figure 69
, the two subnets Group 1 and Group 2 running IPv6 are connected through an
IPv6 network. Configure an IPv6 over IPv6 tunnel between Switch A and Switch B to make the two
subnets reachable to each other without disclosing their IPv6 addresses to the IPv6 network.
Figure 69
Network diagram
Configuration procedure
Before configuring an IPv6 over IPv6 tunnel, make sure that Switch A and Switch B have the
corresponding VLAN interfaces created and can reach each other.
Configure Switch A:
# Enable IPv6.
<SwitchA> system-view
[SwitchA] ipv6
# Configure an IPv6 address for VLAN-interface 100.
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] ipv6 address 2002:1::1 64
[SwitchA-Vlan-interface100] quit
# Configure an IPv6 address for VLAN-interface 101 (the physical interface of the tunnel).
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] ipv6 address 2002::11:1 64
[SwitchA-Vlan-interface101] quit
# Create service loopback group 1 to support the tunnel service.
[SwitchA] service-loopback group 1 type tunnel
Vlan-int101
2002::11:1/64
Vlan-int100
2002:3::1/64
Vlan-int100
2002:1::1/64
Vlan-int101
2002::22:1/64
Switch A
IPv6 network
IPv6
Group 1
Tunnel1
3001::1:1/64
Tunnel2
3001::1:2/64
IPv6
Group 2
Switch B
IPv6 over IPv6 tunnel
Service loopback port
GE1/0/3
GE1/0/3