HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G
HP 6125XLG Manual
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
HP 6125XLG manual content summary:
- HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 1
HP 6125XLG Blade Switch Layer 3-IP Services Configuration Guide Part number: 5998-3718 Software version: Release 2306 Document version: 6W100-20130912 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 2
, or use of this material. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 3
mechanism 1 ARP table 2 Configuring a static ARP entry 3 Configuring a multiport ARP entry 4 Configuring the maximum number of dynamic ARP entries 4 Setting the aging timer for dynamic ARP entries 5 Enabling dynamic ARP entry check 5 Configuring ARP fast update 6 Displaying and maintaining - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 4
examples 44 Static IP address assignment configuration example 44 Dynamic IP address assignment configuration example 45 DHCP user class configuration example 47 Self-defined option configuration example 48 Troubleshooting DHCP server configuration 49 Symptom 49 Analysis 49 Solution - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 5
DHCP snooping 64 Overview 64 Application of trusted and untrusted ports 64 DHCP snooping support for Option 82 65 DHCP snooping configuration task list 66 Configuring basic DHCP snooping 66 Configuring Option 82 67 Saving DHCP snooping entries 68 Enabling DHCP starvation attack protection - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 6
example 90 Dynamic domain name resolution configuration example 91 DNS proxy configuration example 95 Troubleshooting IPv4 DNS configuration 96 Symptom 96 Solution 96 Troubleshooting IPv6 DNS configuration 96 Symptom 96 Solution 96 Configuring DDNS 98 Overview 98 DDNS application - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 7
ND entries 128 Setting the hop limit 128 Configuring parameters for RA messages 129 Configuring the maximum number of attempts to send an NS message for DAD 131 Configuring path MTU discovery 131 Configuring the interface MTU 131 Configuring a static path MTU for a specific IPv6 address 132 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 8
an IPv6 over IPv4 manual tunnel 163 Configuration example 164 Configuring a 6to4 tunnel 166 6to4 tunnel configuration example 167 Configuring an ISATAP tunnel 170 Configuration example 170 Configuring an IPv4 over IPv4 tunnel 173 Configuration example 174 Configuring an IPv4 over IPv6 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 9
188 Displaying and maintaining GRE 189 GRE configuration examples 190 GRE over IPv4 configuration example 190 GRE over IPv6 configuration example 193 Troubleshooting GRE 196 Support and other resources 197 Contacting HP 197 Subscription service 197 Related information 197 Documents 197 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 10
how to configure the Address Resolution Protocol (ARP). Overview ARP resolves IP addresses into MAC addresses on Ethernet networks. ARP message format ARP uses two types of messages: ARP request and ARP reply. Figure 1 shows the format of ARP request/reply messages. Numbers in the figure refer to - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 11
B, it sends the packet to Host B. ARP table An ARP table stores dynamic and static ARP entries. Dynamic ARP entry ARP automatically creates and updates dynamic entries. A dynamic ARP entry is removed when its aging timer expires or the output interface goes down. In addition, a dynamic ARP entry can - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 12
. A multiport ARP entry is manually configured. It does not age out Configuration Guide. To communicate with a host by using a fixed IP-to-MAC mapping, configure configure a static ARP entry: • The vlan-id argument must be the ID of an existing VLAN where the ARP entry resides. The specified Ethernet - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 13
-type interface-number 2. Configure a static ARP [ vpn-instance vpn-instance-name ] entry. • Configure a short static ARP entry: arp static ip-address mac-address [ vpn-instance vpn-instance-name ] Use either command. By default, no static ARP entry is configured. Configuring a multiport ARP - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 14
are not reached. To set the maximum number of dynamic ARP entries that an interface can learn: Step Command Remarks 1. Enter system view. system-view N/A 2. Enter interface view. interface interface-type interface-number N/A By default, an interface can learn a maximum of 16384 dynamic - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 15
Step Command 2. Enable dynamic ARP entry check. arp check enable Remarks By default, dynamic ARP entry check is enabled. Configuring ARP fast update ARP fast update for MAC move allows the device to update an ARP entry immediately after the output interface for a MAC address changes. This - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 16
from the ARP table. reset arp { all | dynamic | interface interface-type interface-number | multiport | slot slot-number | static } Static ARP configuration example Network requirements As shown in Figure 4, hosts are connected to the switch, which is connected to the router through interface Ten - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 17
192.168.1.1 00e0-fc01-0000 10 XGE1/1/5 I-Invalid Aging Type N/A S Multiport ARP entry configuration example Network requirements As shown in Figure 5, a switch connects to three servers through interfaces Ten-GigabitEthernet 1/1/5, Ten-GigabitEthernet 1/1/6, and Ten-GigabitEthernet 1/1/7 in - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 18
1/1/7 [Switch-Ten-GigabitEthernet1/1/7] port access vlan 10 [Switch-Ten-GigabitEthernet1/1/7] quit # Create VLAN-interface 10 and specify its IP address. [Switch] interface vlan-interface 10 [Switch-vlan-interface10] ip address 192.168.1.2 24 [Switch-vlan-interface10] quit # Configure a multiport - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 19
ARP entries. To prevent this problem, you can enable the gateway to send gratuitous ARP packets periodically. The gratuitous ARP packets contain the gateway's primary IP address or one of its manually configured secondary IP addresses, so the receiving hosts can update ARP entries in time. • Prevent - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 20
configured when the previous two conditions exist. To configure gratuitous ARP: Step 1. Enter system view. 2. Enable learning of gratuitous ARP packets. Command interface interface-type interface-number N/A arp send-gratuitous-arp [ interval milliseconds ] By default, periodic sending of - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 21
Configuring proxy ARP Proxy ARP enables a device on one network to answer Enter VLAN interface view. 3. Enable common proxy ARP. Command system-view interface interface-type interface-number proxy-arp enable Remarks N/A N/A By default, common proxy ARP is disabled. Enabling local proxy ARP Step - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 22
mask, but they are located on different subnets separated by the switch (Host A belongs to VLAN 1, and Host D belongs to VLAN 2). No default gateway is configured on Host A and Host D. Configure common proxy ARP on the switch to enable communication between the two hosts. Figure 6 Network diagram - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 23
After the configuration, Host A and Host D can ping each other. 14 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 24
N/A N/A By default, ARP snooping is disabled. Displaying and maintaining ARP snooping Execute display commands in any view and reset commands in user view. Task Display ARP snooping entries. Remove ARP snooping entries. Command display arp snooping [ vlan vlan-id ] [ slot slot-number ] [ count - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 25
Configuring IP addressing The IP addresses in this chapter refer to IPv4 addresses unless otherwise specified. This chapter describes IP addressing basic and manual IP address assignment for interfaces. Dynamic IP address assignment (BOOTP and DHCP) and PPP address negotiation are beyond the scope - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 26
host ID. Before being subnetted, Class A, B, and C networks use these default masks (also called natural masks): 255.0.0.0, 255.255.0.0, and 255.255.255.0. Figure 8 Subnetting a Class B network Subnetting increases the number of addresses that cannot be assigned to hosts. Therefore, using subnets - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 27
interface. Command system-view interface interface-type interface-number ip address ip-address { mask | mask-length } [ sub ] Remarks N/A N/A By default, no IP address is assigned to the interface. Configuring IP unnumbered Typically, you assign an IP address to an interface either manually or - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 28
If an interface has multiple manually configured IP addresses, only the manually configured primary IP address can be Configuration procedure To configure IP unnumbered on an interface: Step 1. Enter system view. Command system-view 2. Enter Tunnel interface view. interface tunnel number - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 29
IP address configuration example Network requirements As shown in Figure 9, a port in VLAN 1 on a switch is connected to a LAN comprising two segments: 172.16.1.0/24 and 172.16.2.0/24. To enable the hosts on the two network segments to communicate with the external network through the switch, and - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 30
.16.2.2 --5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss round-trip min/avg/max/std-dev = 1.000/2.600/7.000/2.245 ms The output shows that the switch can communicate with the hosts on subnet 172.16.2.0/24. # Ping a host on subnet 172.16.1.0/24 from a host on subnet 172.16.2.0/24 to - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 31
DHCP relay agent. For more information about the DHCP relay agent, see "Configuring the DHCP relay agent." Figure 10 A typical DHCP application DHCP address allocation Allocation mechanisms DHCP supports the following allocation mechanisms: • Static allocation-The network administrator assigns an IP - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 32
process Figure 11 Dynamic IP address allocation process 1. The client broadcasts a DHCP-DISCOVER message to locate a DHCP server. 2. Each DHCP server offers configuration parameters such as an IP address to the client in a DHCP-OFFER message. The sending mode of the DHCP-OFFER is determined by the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 33
message format. DHCP uses some of the fields in significantly different ways. The numbers in parentheses indicate the size of each field in bytes. Figure 12 DHCP , from which the client obtained configuration parameters. • file-Boot file (also called system software image) name and path information, - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 34
identifies the type of the DHCP message. • Option 55-Parameter request list option. It is used by a DHCP client to request specified configuration parameters. The option contains values that correspond to the parameters requested by the client. • Option 60-Vendor class identifier option. It is used - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 35
: • ACS parameters, including the ACS URL, username, and password. • PXE server address, which is used to obtain the boot file or other control information from the PXE server. 1. Format of Option 43: Figure 14 Option 43 format Network configuration parameters are carried in different sub-options of - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 36
program download services. For number of the target user. A SIP VoIP user uses this IP address and number to directly establish a connection to the target SIP user when both the primary and backup calling processors are unreachable. Protocols and standards • RFC 2131, Dynamic Host Configuration - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 37
• RFC 1542, Clarifications and Extensions for the Bootstrap Protocol • RFC 3046, DHCP Relay Agent Information Option • RFC 3442, The Classless Static Route Option for Dynamic Host Configuration Protocol (DHCP) version 4 28 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 38
Overview The DHCP server is well suited to networks where: • Manual configuration and centralized management are difficult to implement. • IP addresses are limited. For example, an ISP limits the number of concurrent online users, and users must acquire IP addresses dynamically. • Most hosts do not - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 39
range. d. If the DHCP client does not match any DHCP user class, the DHCP server selects an address in the IP address range specified by the address range command. If the address range has no assignable IP addresses or it is not configured, the address allocation fails. NOTE: All address ranges must - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 40
wanted IP address in a DHCP-DISCOVER message. The content of Option 50 is user defined. 4. First assignable IP address found in the way discussed in "DHCP once assigned to the client. DHCP server configuration task list Tasks at a glance (Required.) Configuring an address pool on the DHCP server ( - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 41
Command system-view dhcp server ip-pool pool-name Remarks N/A By default, no DHCP address pool is created. Specifying IP address ranges for a DHCP address pool You can configure to classify clients, you do not need to configure DHCP user classes or their address ranges. Follow these guidelines - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 42
Step 1. Enter system view. Command system-view Remarks N/A 2. Create a DHCP user class and enter DHCP user class view. dhcp class class-name Required for client classification. By default, no DHCP user class exists. Required for client 3. Configure the match rule for the if-match option - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 43
subnet in each address pool. If you use the network command multiple times, the most recent configuration takes effect. • You can specify a maximum of 32 specified IP addresses from dynamic allocation. forbidden-ip ip-address& By default, all the IP addresses in the DHCP address pool can be - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 44
static binding. Command system-view dhcp server ip-pool pool-name static-bind ip-address ip-address [ mask-length | mask mask ] { client-identifier client-identifier | hardware-address hardware-address [ ethernet | token-ring ] } Remarks N/A N/A By default, no static binding is configured. To add - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 45
DNS." To configure a domain name suffix in the DHCP address pool: Step 1. Enter system view. 2. Enter DHCP address pool view. Command system-view dhcp server ip-pool pool-name 3. Specify a domain name suffix. domain-name domain-name Remarks N/A N/A By default, no domain name is specified - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 46
the clients. The DHCP clients contact the BIMS server to get configuration files and perform software upgrade and backup. To configure the BIMS server IP address, port number, and shared key in the DHCP address pool: Step Command 1. Enter system view. system-view 2. Enter DHCP address pool view - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 47
name for the clients, and there is no need to perform any configuration on the DHCP clients. A DHCP client obtains these parameters from the DHCP : tftp-server ip-address ip-address Use either command. • Specify the name of the TFTP server: By default, no TFTP server is tftp-server domain-name - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 48
, no primary network calling processor is specified. After you configure this command, the other Option 184 parameters take effect. By default, no backup network calling processor is specified. By default, no voice VLAN is configured. By default, no failover IP address or dialer string is specified - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 49
hex ascii ascii hex Enabling DHCP You must enable DHCP to validate other DHCP configurations. To enable DHCP: Step 1. Enter system view. 2. Enable DHCP. Command system-view dhcp enable Remarks N/A By default, DHCP is disabled. Enabling the DHCP server on an interface Perform this task to - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 50
system view. 2. (Optional.) Specify the maximum number of ping packets to be sent for conflict detection. Command system-view dhcp server ping packets number 3. (Optional.) Configure the ping dhcp server ping timeout timeout time. milliseconds Remarks N/A The default setting is one. The value - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 51
2. Enable the server to handle Option 82. Command Remarks system-view N/A dhcp server relay information enable By default, handling of Option 82 is enabled. Configuring DHCP server compatibility Perform this task to enable the DHCP server to support DHCP clients that are incompliant with RFC - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 52
Configure the DHCP server to ignore BOOTP requests. Command system-view dhcp server bootp ignore Remarks N/A By default, the DHCP server processes BOOTP requests. Configuring again. Execute display commands in any view and reset commands in user view. Task Command Display information about IP - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 53
information about assigned IP addresses. Clear DHCP server statistics. Command display dhcp server pool [ pool-name ] reset configuration for the two types is identical. Static IP address assignment configuration example Network requirements As shown in Figure 17, Switch B (DHCP client) and Switch - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 54
can obtain IP address 10.1.1.6 and other network parameters from Switch A. You can use the display dhcp server ip-in-use command on the DHCP server to view the IP addresses assigned to the clients. Dynamic IP address assignment configuration example Network requirements • As shown in Figure 18, the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 55
SwitchA-dhcp-pool-1] gateway-list 10.1.1.126 [SwitchA-dhcp-pool-1] nbns-list 10.1.1.4 [SwitchA-dhcp-pool-1] quit # Configure DHCP address pool 2 to assign IP addresses and other configuration parameters to clients in subnet 10.1.1.128/25. [SwitchA] dhcp server ip-pool 2 [SwitchA-dhcp-pool-2] network - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 56
ip-in-use command on the DHCP server to view the IP addresses assigned to the clients. DHCP user class configuration example Network requirement • The DHCP relay agent (Switch A) forwards the packets from DHCP clients to the DHCP server. Enable switch A to support Option 82 so that switch A can add - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 57
.10.1.20 Verifying the configuration After the preceding configuration is complete, clients in a specific user class in subnet 10.10.1.0/24 can obtain IP addresses and other configuration parameters from the DHCP server (Switch B). Use the display dhcp server ip-in-use command to view the IP address - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 58
Switch A. You can use the display dhcp server ip-in-use command on the DHCP server to view the IP addresses assigned to the clients. Troubleshooting DHCP server configuration the IP address has been manually configured on a host. Execute the dhcp server forbidden-ip command on the DHCP server to - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 59
server and clients on a public network, but also between a DHCP server and clients on a private network. For more information about MCE, see MCE Configuration Guide. Operation The DHCP server and client interact with each other in the same way regardless of whether the relay agent exists. For the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 60
, see "Relay agent option (Option 82)." If the DHCP relay agent supports Option 82, it handles DHCP requests by following the strategies described in Table 82 padded according to the configured padding format, padding content, and code type. DHCP relay agent configuration task list Tasks at a - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 61
DHCP relay agent on an interface: Step 1. Enter system view. 2. Enter interface view. Command system-view interface interface-type interface-number 3. Enable the DHCP relay agent. dhcp select relay Remarks N/A N/A By default, when DHCP is enabled, an interface operates in the DHCP server mode - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 62
a DHCP server address on the relay agent. Command system-view interface interface-type interface-number dhcp relay server-address ip-address Remarks N/A N/A By default, no DHCP server address is specified on the relay agent. Configuring the DHCP relay agent security functions Enabling the DHCP - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 63
number of ARP entries that a Layer 3 interface can learn or MAC addresses that a Layer 2 port can learn. You can also configure source MAC address in the frame header. If they are the Command system-view interface interface-type interface-number dhcp relay check mac-address Remarks N/A N/A By default - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 64
contain spaces. Otherwise, the DHCP relay agent drops the message. To configure Option 82: Step 1. Enter system view. Command system-view Remarks N/A 2. Enter interface view. interface interface-type interface-number N/A 3. Enable the relay agent to handle Option 82. dhcp relay information - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 65
in any view and reset commands in user view. Task Command Display information about DHCP servers specified on the DHCP relay agent interface. display dhcp relay server-address [ interface interface-type interface-number ] Display Option 82 configuration information on the display dhcp relay - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 66
agent with the dhcp relay client-information record command, you can use the display dhcp relay client-information command to view relay entries. Option 82 configuration example Network requirements As shown in Figure 23, the DHCP relay agent (Switch A) replaces Option 82 in DHCP requests before - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 67
company001 [SwitchA-Vlan-interface10] dhcp relay information remote-id string device001 Troubleshooting DHCP relay agent configuration Symptom DHCP clients cannot obtain configuration parameters through the DHCP relay agent. Analysis Some problems might occur with the DHCP relay agent or server - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 68
management Ethernet interface does not use DHCP to obtain an IP address. • When a device starts up with the factory defaults, the management Ethernet interface uses DHCP to obtain an IP address. For more information about empty configuration and factory defaults, see Fundementals Configuration Guide - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 69
configuration. Command Remarks system-view N/A interface interface-type interface-number N/A dhcp client identifier { ascii string | hex string | mac interface-type interface-number } By default the IP address assigned by the server. HP recommends you to disable duplicate address detection - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 70
in any view. Task Display DHCP client information. Command display dhcp client [ verbose ] [ interface interface-type interface-number ] DHCP client configuration example Network requirements As shown in Figure 25, on a LAN, Switch B contacts the DHCP server through VLAN-interface 2 to obtain - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 71
Enable the DHCP service. [SwitchA] dhcp enable # Exclude an IP address from dynamic allocation. [SwitchA] dhcp server forbidden-ip 10.1.1.2 # Configure DHCP address the configuration # Use the display dhcp client command to display the IP address and other network parameters assigned to Switch B. - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 72
Destination/Mask 0.0.0.0/32 10.1.1.0/24 10.1.1.0/32 10.1.1.3/32 10.1.1.255/32 20.1.1.0/24 127.0.0.0/8 127.0.0.0/32 127.0.0.1/32 127.255.255.255/32 224.0.0.0/4 224.0.0.0/24 255.255.255.255/32 Proto Pre Direct 0 Direct 0 Direct 0 Direct 0 Direct 0 Static 70 Direct 0 Direct 0 Direct 0 Direct 0 Direct - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 73
. For more information, see Security Configuration Guide. Application of trusted and untrusted ports Configure ports facing the DHCP server as trusted ports, and configure other ports as untrusted ports. As shown in Figure 26, configure the DHCP snooping device's port that is connected to the DHCP - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 74
configure each DHCP snooping device's ports connected to other DHCP snooping devices as trusted ports. To save system resources, you can disable the untrusted ports snooping entries. Figure 27 Trusted and untrusted ports in a cascaded network DHCP snooping support for Option 82 Option 82 records the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 75
interfaces and aggregate interfaces can be specified as trusted ports. For more information about aggregate interfaces, see Layer 2-LAN Switching Configuration Guide. • If you configure DHCP snooping settings on an Ethernet interface that has been added to an aggregation group, the settings do - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 76
.0014. To configure DHCP snooping to support Option 82: Step 1. Enter system view. 2. Enter interface view. 3. Enable DHCP snooping to support Option 82. Command system-view interface interface-type interface-number dhcp snooping information enable Remarks N/A N/A By default, DHCP snooping does - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 77
Command dhcp snooping information strategy { drop | keep | replace } Remarks By default, the handling strategy is replace. 5. (Optional.) Configure DHCP snooping entries to authenticate users reject requests from clients until new entries are learned. To avoid this problem, you can save DHCP - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 78
updating the database file. Command dhcp snooping binding database update interval seconds Remarks The default number of MAC addresses that a Layer 2 port can learn by using the mac-address max-mac-count command. For more information about the command, see Layer 2-LAN Switching Command Reference - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 79
interface interface-type interface-number 3. Configure the maximum rate at which the interface can receive DHCP packets. dhcp snooping rate-limit rate Remarks N/A N/A By default, incoming DHCP packets are not rate limited. You can configure this command only on Ethernet interfaces and aggregate - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 80
. reset dhcp snooping packet statistics [ slot Available in user slot-number ] view. DHCP snooping configuration examples Basic DHCP snooping configuration example Network requirements As shown in Figure 28, configure the port Ten-GigabitEthernet 1/1/5 connected to the authorized DHCP server - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 81
entry recorded for the client with the display dhcp snooping binding command. Option 82 configuration example Network requirements As shown in Figure 29, enable DHCP snooping and configure Option 82 on Switch B as follows: • Configure the handling strategy for DHCP requests containing Option 82 as - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 82
[SwitchB-Ten-GigabitEthernet1/1/7] dhcp snooping information remote-id string device001 Verifying the configuration Use the display dhcp snooping information command to display Option 82 configuration information on Ten-GigabitEthernet 1/1/6 and Ten-GigabitEthernet 1/1/7 on the DHCP snooping device - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 83
the BOOTP client BOOTP client configuration applies to VLAN interfaces and management Ethernet interfaces. If several VLAN such as IP address) from the BOOTP server. To use BOOTP, an administrator must configure a BOOTP parameter file for each BOOTP client on the BOOTP server. The parameter - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 84
in any view. Task Display BOOTP client information. Command display bootp client [ interface interface-type interface-number ] BOOTP client configuration example Network requirements As shown in Figure 18, Switch B's port belonging to VLAN 10 is connected to the LAN. VLAN-interface 10 obtains - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 85
Configuring DNS Overview Domain Name System (DNS) is a distributed database used by IP addresses. The domain name-to-IP address mapping is called a DNS entry. DNS services can be static or dynamic. After a user specifies a name, the device checks the local static name resolution table for an IP - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 86
and delimiter before passing the name to the DNS server. • If the user enters a domain name without a dot (.) (for example, aabbcc), the name is considered a terminating symbol. The device supports static and dynamic DNS client services. If an alias is configured for a domain name on the DNS server - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 87
Figure 31 DNS proxy application A DNS proxy operates as follows: 1. A DNS client considers the DNS proxy as the DNS server, and sends a DNS request to the DNS proxy. The destination address of the request is the IP address of the DNS proxy. 2. The DNS proxy searches the local static domain name - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 88
the DNS reply is 0. The device must have a route to the IP address with the dial-up interface as the output interface. The IP address configured with DNS spoofing is not the actual IP address of the requested domain name, so the TTL of the DNS reply is set to 0 to - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 89
Command system-view ip host host-name ip-address [ vpn-instance vpn-instance-name ] Remarks N/A By default, no mapping between a host name and an IPv4 address is configured. Configuring manually configured takes precedence over the one dynamically obtained through DHCP, and a DNS server configured - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 90
: ipv6 dns server ipv6-address [ interface-type interface-number ] [ vpn-instance vpn-instance-name ] 3. (Optional.) Configure a dns domain domain-name [ vpn-instance DNS suffix. vpn-instance-name ] Remarks N/A Use at least one command. By default, no DNS server IP address is specified. By - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 91
: ipv6 dns server ipv6-address [ interface-type interface-number ] [ vpn-instance vpn-instance-name ] 3. (Optional.) Configure a dns domain domain-name [ vpn-instance DNS suffix. vpn-instance-name ] Remarks N/A Use at least one command. By default, no DNS server IP address is specified. By - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 92
: ipv6 dns server ipv6-address [ interface-type interface-number ] [ vpn-instance vpn-instance-name ] Remarks N/A By default, DNS proxy is disabled. Use at least one command. By default, no DNS server IP address is specified. Configuring DNS spoofing DNS spoofing is effective only when: • The - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 93
trusted interface. dns trust-interface interface-type interface-number Remarks N/A By default, no DNS trusted interface is specified. You can configure up to 128 DNS trusted interfaces. Displaying and maintaining IPv4 DNS Execute display commands in any view and reset commands in user view. 84 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 94
procedure # Configure a mapping between host name host.com and IP address 10.1.1.2. system-view [Sysname] ip host host.com 10.1.1.2 # Use the ping host.com command to verify that the device can use static domain name resolution to resolve domain name host.com into IP address 10 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 95
of the DNS server is 2.1.1.2/16 and the DNS server has a com domain, which stores the mapping between domain name host and IP address 3.1.1.1/16. Configure dynamic domain name resolution and the domain name suffix com on the device that serves as a DNS client so that the device can use domain - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 96
Figure 35 Creating a zone a. On the DNS server configuration page, right-click zone com, and select New Host. Figure 36 Adding a host a. On the page that appears, enter host name host and IP address 3.1.1.1. b. Click Add Host. The mapping between the IP address and host name is created. 87 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 97
the DNS client: # Specify the DNS server 2.1.1.2. system-view [Sysname] dns server 2.1.1.2 # Configure com as the name suffix. [Sysname] dns domain com Verifying the configuration # Use the ping host command on the device to verify that the communication between the device and the host is - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 98
client: system-view # Specify the DNS server 2.1.1.2. [DeviceB] dns server 2.1.1.2 Verifying the configuration # Use the ping host.com command on Device B to verify the connection between the device and the host is normal and that the translated destination IP address is 3.1.1.1. [DeviceB - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 99
# Configure a mapping between host name host.com and IPv6 address 1::2. system-view [Device] ipv6 host host.com 1::2 # Use the ping ipv6 host.com command to verify that the device can use static domain name resolution to resolve domain name host.com into IPv6 address 1::2. [Sysname - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 100
other, and the IPv6 addresses of the interfaces are configured, as shown Figure 40. This configuration may vary with DNS servers. The following configuration is performed on a PC running Windows Server 2003. Make sure that the DNS server supports the IPv6 DNS function so that the server can process - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 101
Figure 41 Creating a zone a. On the DNS server configuration page, right-click zone com, and select Other New Records. Figure 42 Creating a record a. On the page that appears, select IPv6 Host (AAAA) as the resource record type. 92 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 102
Figure 43 Selecting the resource record type a. Type host name host and IPv6 address 1::1. b. Click OK. The mapping between the IPv6 address and host name is created. 93 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 103
the DNS client: # Specify the DNS server 2::2. system-view [Device] ipv6 dns server 2::2 # Configure com as the DNS suffix. [Device] dns domain com Verifying the configuration # Use the ping ipv6 host command on the device to verify that the communication between the device and the host is - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 104
Device A as the DNS server of Device B (the DNS client). Device A acts as a DNS proxy. The IPv6 address of the real DNS server is 4000::1. • Configure the IPv6 address of the DNS proxy on Device B. DNS requests of Device B are forwarded to the real DNS server through the DNS proxy. Figure - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 105
-trip min/avg/max/std-dev = 0.000/0.600/1.000/0.490 ms Troubleshooting IPv4 DNS configuration Symptom After enabling dynamic domain name resolution, the user cannot get the correct IP address. Solution 1. Use the display dns host ip command to verify that the specified domain name is in the cache - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 106
domain name. DDNS is supported by only IPv4 DNS, and is used to update the mappings between domain names address of the DDNS client. Therefore, the Internet users can use the same domain name to access With the DDNS client configured, a device can dynamically update the latest mapping between its - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 107
a DDNS policy (Required.) Applying the DDNS policy to an interface Configuring a DDNS policy A DDNS policy contains the DDNS server address, port number, login ID, password, time interval, associated SSL client policy, and update time interval. After creating a DDNS policy, you can apply it - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 108
manually change the and for your configuration Command system-view ddns policy policy-name url request-url username username password { cipher | simple } password Remarks N/A By default, no DDNS policy is created. By default, no URL address is specified for DDNS update requests. By default - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 109
command to specify the POST method for DDNS update with a DHS server. By default, no SSL client policy is associated with the DDNS policy. This step is only effective and a must for HTTP-based DDNS update requests. For SSL client policy configuration, see Security Configuration Guide. By default - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 110
policy. Command display ddns policy [ policy-name ] DDNS configuration examples DDNS configuration example with www.3322.org Network requirements As shown in Figure 47, Switch is a Web server with the domain name whatever.3322.org. Switch acquires the IP address through DHCP. Through DDNS service - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 111
as 1.1.1.1. [Switch] dns server 1.1.1.1 # Apply DDNS policy 3322.org to VLAN-interface 2 to enable DDNS update and dynamically update the mapping diagram Configuration procedure Before configuring DDNS on Switch, register with username steven and password nevets at http://www.oray.cn/, add Switch's - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 112
.cn fqdn whatever.gicp.cn After the preceding configuration is completed, Switch notifies the DNS server of its new domain name-to-IP address mapping through the PeanutHull server, whenever the IP address of Switch changes. Therefore, Switch can always provide Web service at whatever.gicp.cn. 104 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 113
Routing Configuration Guide. Use the display fib command to number of the 1s. • Nexthop-IP address of the next hop. • Flag-Route flag. • OutInterface-Output interface. • Token-MPLS Label Switched Path index number. • Label-Inner label. Displaying FIB table entries Execute display commands - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 114
Task Display FIB entries. Command display fib [ vpn-instance vpn-instance-name ] [ ip-address [ mask | mask-length ] ] 106 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 115
forward directed broadcasts destined for the directly connected network. Configuration example Network requirements As shown in Figure 49, the default gateway of the host is the IP address 1.1.1.2/24 of VLAN-interface 3 of the switch. Enable VLAN-interface 2 to forward directed broadcasts destined - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 116
interface view. Command system-view interface interface-type interface-number 3. Configure an MTU for the interface. ip mtu mtu-size Remarks N/A N/A By default, no MTU is configured. The MTU configured for an interface takes effect on only packets that are sent to the CPU for software forwarding - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 117
Command 1. Enter system view. system-view 2. Enter interface view. interface interface-type interface-number 3. Configure a TCP MSS for the interface. tcp mss value Remarks N/A N/A By default, no TCP MSS is configured. Configuring from a router that does not support RFC 1191 has the MTU of - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 118
a large number of TCP semi-connections and can no longer handle normal services. SYN Cookie Command system-view tcp syn-cookie enable Remarks N/A The default setting is disabled. Configuring the TCP buffer size Step 1. Enter system view. 2. Configure the size of TCP receive/send buffer. Command - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 119
TCP timers: Step 1. Enter system view. Command system-view 2. Configure TCP timers. • Configure the TCP SYN wait timer: tcp timer syn-timeout time-value • Configure the TCP FIN wait timer: tcp timer fin-timeout time-value Remarks N/A By default: • The TCP SYN wait timer is 75 seconds. • The - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 120
supported by the device, the device sends a Protocol Unreachable ICMP error packet to the source. { If a UDP packet is destined for the device but the packet's port number packets. To prevent such problems, you can disable the Command Remarks system-view N/A ip icmp fragment discarding By default - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 121
Displaying and maintaining IP performance optimization Execute display commands in any view and reset commands in user view. Task Command Display brief information about RawIP connections. display rawip [ slot slot-number ] Display detailed information about RawIP connections. display rawip - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 122
specify up to 20 destination servers on an interface. Configuration procedure Step 1. Enter system view. 2. Enable UDP helper. 3. Specify a UDP port. 4. Enter interface view. Command system-view udp-helper enable udp-helper port { port-number | dns | netbios-ds | netbios-ns | tacacs | tftp | time - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 123
UDP helper to forward broadcast packets with UDP destination port number 55 and destination IP address 255.255.255.255 or 10.110.255.255 to the destination server 10.2.1.1/16. Figure 50 Network diagram Configuration procedure Make sure Switch A can reach the subnet 10.2.0.0/16. # Enable UDP helper - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 124
interface to receive directed broadcasts destined for the directly connected network. [SwitchA-Vlan-interface1] ip forward-broadcast Verifying the configuration # Display information about packets forwarded by UDP helper on VLAN-interface 1. [SwitchA-Vlan-interface1] display udp-helper interface - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 125
Configuring basic IPv6 settings Overview IPv6, also called IP next generation (IPng), was designed by the and reduce the IPv6 routing table size through route aggregation. Address autoconfiguration To simplify host configuration, IPv6 supports stateful and stateless address autoconfiguration. 117 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 126
an IPv6 address and other configuration information by using its link- support IPsec. IPsec provides end-to-end security and enhances interoperability among different IPv6 applications. QoS support 16-bit group is represented by four hexadecimal numbers, for example, 2001:0000:130F:0000:0000:09C0 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 127
unspecified address. • Global unicast addresses-Equivalent to public IPv4 addresses, are provided for Internet service providers. This type of address allows for prefix aggregation to restrict the number of global routing entries. • Link-local addresses-Used for communication among link-local nodes - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 128
IEEE 802 interface (such as an Ethernet interface and a VLAN interface)-The interface EUI-64 address-based interface identifier, insert the hexadecimal number FFFE (16 bits of 1111111111111110) into the MAC address For more information about tunnels, see "Configuring tunneling." • On an interface of - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 129
duplicate addresses. Responds to an NS message. Notifies the neighboring nodes of link layer changes. Requests an address prefix and other configuration information for autoconfiguration after startup. Responds to an RS message. Advertises information, such as the Prefix Information options and flag - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 130
as the interface forwarding the packet. • The selected route is not created or modified by an ICMPv6 Redirect message. • The selected route is not a default route on the device. • The forwarded IPv6 packet does not contain the routing extension header. IPv6 path MTU discovery The links that a packet - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 131
in different environments and periods. Dual stack Dual stack is the most direct transition approach. A network node that supports both IPv4 and IPv6 is a dual-stack node. A dual-stack node configured with an IPv4 address and an IPv6 address can forward both IPv4 and IPv6 packets. An application that - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 132
RFC 2464, Transmission of IPv6 Packets over Ethernet Networks • RFC 2526, Reserved IPv6 Subnet Configuring parameters for RA messages • Configuring the maximum number of attempts to send an NS message for DAD (Optional.) Configuring path MTU discovery: • Configuring the interface MTU • Configuring - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 133
64 IPv6 address. Command system-view interface interface-type interface-number ipv6 address { ipv6-address prefix-length | 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 configure an IPv6 global - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 134
system view. 2. Enter interface view. Command system-view interface interface-type interface-number 3. Manually specify an IPv6 link-local address for the interface. ipv6 address ipv6-address link-local Remarks N/A N/A By default, no link-local address is configured on an interface. After an - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 135
Step 1. Enter system view. 2. Configure a static neighbor entry. Command Remarks system-view N/A ipv6 neighbor ipv6-address mac-address { vlan-id port-type port-number | interface interface-type interface-number } [ vpn-instance vpn-instance-name ] By default, no static neighbor entry exists - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 136
assigned to the driver. Link-local ND entries refer to ND entries comprising link-local addresses. By default, the device assigns all ND entries to the you use the undo ipv6 nd ra hop-limit unspecified command, the device sets the hop limit value configured by this task in a sent RA message. A host - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 137
Reachable Time Router Preference Description Maximum number of hops in RA messages. A is 0, the router cannot be used as the default gateway. If the device does not receive a updated by an RA message before expiration. The values of the NS retransmission timer and the reachable time configured - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 138
of RA messages. Command interface interface-type interface-number undo ipv6 nd ra halt 4. Configure the maximum and ipv6 nd ra interval minimum intervals for sending max-interval-value RA messages. min-interval-value Remarks N/A The default setting is disabled. By default, the maximum interval - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 139
for DAD. Command system-view interface interface-type interface-number ipv6 nd dad attempts value Remarks N/A N/A The default setting is 1. When the value argument is set to 0, DAD is disabled. Configuring path MTU discovery Configuring the interface MTU IPv6 switches do not support packet - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 140
the interface MTU. ipv6 mtu mtu-size Remarks By default, no interface MTU is configured. This command does not take effect on an IPv6 multicast packet for a switch does not check the packet size of an IPv6 multicast packet. Configuring a static path MTU for a specific IPv6 address You can - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 141
to multicast echo requests. Command system-view ipv6 icmpv6 multicast-echo-reply enable Remarks N/A By default, this function is not enabled for the device but its UDP destination port number does not match any process, the device sends the source a Port Unreachable ICMPv6 error message. If a - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 142
to the source. If the device receives large numbers of malicious packets, its performance degrades greatly because it default, sending ICMPv6 redirect messages is disabled. Displaying and maintaining IPv6 basics Execute display commands in any view and reset commands in user view. Task Command - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 143
ipv6 statistics [ slot slot-number ] reset tcp statistics reset udp statistics For more information about the display tcp statistics command, the display udp statistics command, the reset tcp statistics command and the reset udp statistics command, see Layer 3-IP Services Command Reference. 135 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 144
Network requirements As shown in Figure 56, a host, Switch A, and Switch B are connected through Ethernet ports. Add the Ethernet ports into corresponding VLANs, configure IPv6 addresses for the VLAN interfaces and verify that they are connected. Switch B can reach the host. Enable IPv6 on the host - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 145
E791. Verifying the configuration # Display the IPv6 interface settings on Switch A. All IPv6 global unicast addresses configured on the interface are ::1:FF00:1 FF02::1:FF00:2 MTU is 1500 bytes ND DAD is enabled, number of DAD attempts: 1 ND reachable time is 30000 milliseconds ND retransmit - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 146
is 2001::/64 Joined group address(es): FF02::1 FF02::2 FF02::1:FF00:1 FF02::1:FF00:1C0 MTU is 1500 bytes ND DAD is enabled, number of DAD attempts: 1 ND reachable time is 30000 milliseconds ND retransmit interval is 1000 milliseconds ND advertised reachable time is 0 milliseconds ND - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 147
: 0 # Display the IPv6 interface settings on Switch B. All IPv6 global unicast addresses configured on the interface are displayed. [SwitchB] display FF00:1 FF02::1:FF00:1234 MTU is 1500 bytes ND DAD is enabled, number of DAD attempts: 1 ND reachable time is 30000 milliseconds ND retransmit - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 148
Switch A. Troubleshooting IPv6 basics configuration Symptom An IPv6 address cannot be pinged. Solution 1. Use the display ipv6 interface command in any view to verify that the IPv6 address of the output interface is correct and the interface is up. 2. Use the debugging ipv6 packet command in user - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 149
rapid assignment, it responds with a Reply message containing the assigned IPv6 address/prefix and other configuration parameters. If the DHCPv6 server does not support rapid assignment, Assignment involving four messages is performed. Figure 57 Rapid assignment involving two messages Assignment - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 150
server before the valid lifetime expires, the client stops using the address/prefix. For more information about the valid lifetime and the preferred lifetime, see "Configuring basic IPv6 settings." 142 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 151
replies, it uses the first received reply. Protocols and standards • RFC 3736, Stateless Dynamic Host Configuration Protocol (DHCP) Service for IPv6 • RFC 3315, Dynamic Host Configuration Protocol for IPv6 (DHCPv6) • RFC 2462, IPv6 Stateless Address Autoconfiguration • RFC 3633, IPv6 Prefix Options - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 152
address assignment As shown in Figure 62, the DHCPv6 server assigns IPv6 addresses, domain name suffixes, DNS server addresses, and other configuration parameters to DHCPv6 clients. The IPv6 addresses assigned to the clients fall into the following types: • Temporary IPv6 addresses-Internally used - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 153
in RFC 3315. Figure 64 shows the DUID-LL format, where: • DUID type-The device supports the DUID type of DUID-LL with the value of 0x0003. • Hardware type-The device supports the hardware type of Ethernet with the value of 0x0001. • Link layer address-Takes the value of the bridge MAC address - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 154
supports the following address allocation mechanisms: • Static address allocation-To implement static address allocation for a client, create a DHCPv6 address pool, and manually the statically bound IPv6 address or prefix and other configuration parameters to the client. 2. If the receiving interface - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 155
Tasks at a glance (Optional.) Perform the following tasks: • Configuring IPv6 prefix assignment • Configuring IPv6 address assignment • Configuring network parameters assignment (Required.) Configuring the DHCPv6 server on an interface Configuring IPv6 prefix assignment Use the following methods to - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 156
address pool: prefix-pool prefix-pool-number [ preferred-lifetime preferred-lifetime valid-lifetime valid-lifetime ] By default, no IPv6 subnet is specified for dynamic assignment. Use at least one command. By default, no static or dynamic prefix assignment is configured for an address pool. To add - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 157
first. • Only one subnet can be specified in an address pool. If you use the network command multiple times in a DHCPv6 address pool, the new configuration overwrites the old one. If the new configuration has the same subnet as but different preferred lifetime and valid lifetime from the previous - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 158
network prefix/prefix-length [ preferred-lifetime preferred-lifetime valid-lifetime valid-lifetime ] By default, no IPv6 address subnet is specified. You cannot use this command to configure the same subnet in different address pools. address range start-ipv6-address end-ipv6-address [ preferred - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 159
server apply pool command multiple times, the most recent configuration takes effect. Configuration procedure To configure the DHCPv6 server on an interface: Step 1. Enter system view. 2. Enter interface view. Command system-view interface interface-type interface-number Remarks N/A N/A 151 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 160
Step 3. Enable the DHCPv6 server on the interface. 4. Configure an address/prefix assignment method. Command Remarks ipv6 dhcp select server By default, the interface discards DHCPv6 packets from DHCPv6 clients. • Configure global address assignment: ipv6 dhcp server { allow-hint | preference - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 161
SIP server name is bbb.com. Figure 65 Network diagram Configuration procedure # Configure the IPv6 address of VLAN-interface 2. system-view [Switch] interface vlan-interface 2 [Switch-Vlan-interface2] ipv6 address 1::1/64 [Switch-Vlan-interface2] quit # Create prefix pool 1, and specify the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 162
255 rapid-commit Verifying the configuration # Display DHCPv6 server configuration on VLAN-interface 2. [Switch-Vlan-interface2] display ipv6 dhcp prefix pool 1. [Switch-Vlan-interface2] display ipv6 dhcp prefix-pool 1 Prefix: 2001:410::/32 Assigned length: 48 Total prefix number: 65536 Available: - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 163
Static(C) Jul 10 19:45:01 2009 2001:410::/48 Auto(C) Jul 10 20:44:05 2009 Dynamic IPv6 address assignment configuration example Network requirements As shown in Figure 66, Switch A serves as a DHCPv6 server to assign IPv6 addresses to the clients in subnets 1::1:0:0:0/96 and 1::2:0:0:0/96. On - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 164
quit Verifying the configuration After the preceding configuration is complete, the clients in subnets 1::1:0:0:0/96 and 1::2:0:0:0/96 can obtain IPv6 addresses and other configuration parameters from the DHCPv6 server (Switch A). You can use the display ipv6 dhcp server ip-in-use command to display - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 165
Configuring tunneling Overview Tunneling is an encapsulation technology. One network protocol at the tunnel destination end. Tunneling refers to the whole process from data encapsulation to data transfer to data de-encapsulation. Tunneling supports the following technologies: • Transition techniques - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 166
of an IPv6 packet at the tunnel source, and must be manually configured. • Automatic tunnel-The destination IPv4 address of the tunnel can be simplifying tunnel establishment. The 6to4 address format is 2002:abcd:efgh:subnet number::interface ID/48, where 2002 is the fixed IPv6 address prefix, and - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 167
border router of a 6to4 network must have the IPv4 address abcd:efgh configured on the interface connected to the IPv4 network. The subnet number identifies a subnet in the 6to4 network. The subnet number::interface ID uniquely identifies a host in the 6to4 network. 6to4 tunneling uses an IPv4 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 168
, Device B delivers it to the IP protocol stack. e. If the protocol number is 4 (indicating an IPv4 packet is encapsulated within the packet), the IP protocol other over an IPv6 network. In this tunnel mode, you must manually configure the source and destination IPv6 addresses for the tunnel. An IPv4 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 169
• De-encapsulation: e. Upon receiving the IPv6 packet from the attached IPv6 network, Device B delivers the packet to the IPv6 protocol stack to examine the protocol type encapsulated in the data portion of the packet. f. If the protocol type is IPv4, the IPv6 protocol stack delivers the packet to - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 170
you must configure a tunnel-type service loopback group. Otherwise, the tunnel interface will fail to forward and receive packets. For information about service loopback group, see Layer 2-LAN Switching Configuration Guide. To configure a tunnel interface: Step 1. Enter system view. Command system - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 171
(Optional.) Configure a description for the interface. description text 4. (Optional.) Specify an IRF member device for forwarding the service slot slot-number traffic on the interface. By default, the description of a tunnel interface is Tunnel number Interface. By default, no IRF member device - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 172
the same purpose. For detailed configuration, see Layer 3-IP Routing Configuration Guide. To configure an IPv6 over IPv4 manual tunnel: Step Command Remarks 1. Enter system view. system-view N/A 2. Enter IPv6 over IPv4 manual tunnel interface view. interface tunnel number [ mode ipv6-ipv4 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 173
packets, configure an IPv6 over IPv4 manual tunnel. Figure 73 Network diagram Configuration procedure Make sure Switch A and Switch B have -Ten-GigabitEthernet1/1/5] port service-loopback group 1 [SwitchA-Ten-GigabitEthernet1/1/5] quit # Configure an IPv6 over IPv4 manual tunnel interface tunnel - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 174
loopback group 1. [SwitchB] interface Ten-GigabitEthernet 1/1/5 [SwitchB-Ten-GigabitEthernet1/1/5] port service-loopback group 1 [SwitchB-Ten-GigabitEthernet1/1/5] quit # Configure an IPv6 over IPv4 manual tunnel interface tunnel 0. [SwitchB] interface tunnel 0 mode ipv6-ipv4 # Specify the source - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 175
3-IP Routing Configuration Guide. • The automatic tunnel interfaces using the same encapsulation protocol cannot use the same source IP address. To configure a 6to4 tunnel: Step Command Remarks 1. Enter system view. system-view N/A 2. Enter 6to4 tunnel interface interface tunnel number [ mode - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 176
use this prefix. Configuration procedure Before configuring a 6to4 tunnel, make sure Switch A and Switch B have the port service-loopback group 1 [SwitchA-Ten-GigabitEthernet1/1/5] quit # Create a 6to4 tunnel interface tunnel 0. [SwitchA] interface tunnel 0 mode ipv6-ipv4 6to4 # Configure - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 177
. [SwitchA] ipv6 route-static 2002:: 16 tunnel 0 • Configure Switch B: # Specify an IPv4 address for VLAN-interface 100. < port service-loopback group 1 [SwitchB-Ten-GigabitEthernet1/1/5] quit # Create a 6to4 tunnel interface tunnel 0. [SwitchB] interface tunnel 0 mode ipv6-ipv4 6to4 # Configure - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 178
Routing Configuration Guide. • The automatic tunnel interfaces using the same encapsulation protocol cannot use the same source IP address. To configure an ISATAP tunnel: Step Command Remarks 1. Enter system view. system-view N/A 2. Enter ISATAP tunnel interface view. interface tunnel number - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 179
its service type as tunnel. [Switch] service-loopback group 1 type tunnel # Assign Ten-GigabitEthernet 1/1/5 to service loopback group 1. [Switch] interface Ten-GigabitEthernet 1/1/5 [Switch-Ten-GigabitEthernet1/1/5] port service-loopback group 1 [Switch-Ten-GigabitEthernet1/1/5] quit # Configure an - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 180
base 30000ms) retransmission interval 1000ms DAD transmits 0 default site prefix length 48 # A link-local address (fe80::5efe:2.1.1.2) in the ISATAP format has been automatically generated for the ISATAP interface. Configure the IPv4 address of the ISATAP switch on the ISATAP interface. C:\>ipv6 rlu - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 181
detailed configuration, see Layer 3-IP Routing Configuration Guide. • Command Remarks 1. Enter system view. system-view N/A 2. Enter IPv4 over IPv4 tunnel interface view. interface tunnel number [ mode ipv4-ipv4 ] N/A 3. Configure an IPv4 address for ip address ip-address { mask By default - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 182
. The DF bit is not set for tunneled packets by default. Configuration example Network requirements As shown in Figure 76, the two subnets Group 1 and Group 2 use private IPv4 addresses. Configure an IPv4 over IPv4 tunnel between Switch A and Switch B to make the two subnets reachable to each other - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 183
the tunnel interface. [SwitchB] ip route-static 10.1.1.0 255.255.255.0 tunnel 2 Verifying the configuration # Use the display interface tunnel command to display the status of the tunnel interfaces on Switch A and Switch B. The output shows that the tunnel interfaces are up. (Details not shown.) 175 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 184
from each switch. The following shows the output on Switch A. [SwitchA Command system-view interface tunnel number [ mode ipv6 ] ip address ip-address { mask | mask-length } [ sub ] source { ipv6-address | interface-type interface-number } Remarks N/A N/A By default, no IPv4 address is configured - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 185
Step Command 5. Configure the destination address for the tunnel interface. destination ipv6-address Remarks By default, no destination address is configured for the tunnel. The tunnel destination address must be the IPv6 address of the receiving interface on the tunnel peer. It is used as the - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 186
tunnel interface. [SwitchB] ip route-static 30.1.1.0 255.255.255.0 tunnel 2 Verifying the configuration # Use the display interface tunnel command to display the status of the tunnel interfaces on Switch A and Switch B. The output shows that the tunnel interfaces are up. (Details not shown.) # Ping - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 187
interface for the tunnel interface. source { ipv6-address | interface-type interface-number } Remarks N/A N/A No IPv6 address is configured for the tunnel interface by default. By default, no source address or interface is configured for the tunnel. The specified source address or the IPv6 address - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 188
3001::1:2/64 Vlan-int100 2002:3::1/64 IPv6 group 1 Service loopback port IPv6 group 2 Configuration procedure Make sure Switch A and Switch B have the corresponding VLAN interfaces created and can reach each other through IPv6. • Configure Switch A: # Specify an IPv6 address for VLAN-interface - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 189
2002:3:: 64 tunnel 1 • Configure Switch B: # Specify an IPv6 address service type as tunnel. [SwitchB] service-loopback group 1 type tunnel # Assign Ten-GigabitEthernet 1/1/5 to service loopback group 1. [SwitchB] interface Ten-GigabitEthernet 1/1/5 [SwitchB-Ten-GigabitEthernet1/1/5] port service - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 190
configuration Execute display commands in any view and reset commands in user view. Task Command Display information about tunnel interfaces. display interface [ tunnel [ number tunnel [ number ] ] Troubleshooting tunneling configuration Symptom A tunnel interface configured with related - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 191
2. Use the display ipv6 routing-table or display ip routing-table command to check whether the tunnel destination is reachable. If the route is not available, configure a route to reach the tunnel destination. 183 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 192
Configuring GRE Overview Generic Routing Encapsulation (GRE) is a tunneling protocol that can encapsulate multiple network layer protocols into virtual point-to-point tunnels over an IP - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 193
destination address. 2. If the destination is itself and the protocol number in the IP header is 47 (the protocol number for GRE), Device B removes the IP header of the packet networks • RFC 2784, Generic Routing Encapsulation (GRE) Configuring a GRE over IPv4 tunnel Follow these guidelines when you - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 194
, and add an available Ethernet interface to the service Loopback group. For more information about service Loopback groups, see Layer 2-LAN Switching Configuration Guide. Configuration procedure To configure a GRE over IPv4 tunnel: Step 1. Enter system view. Command system-view 2. Create a GRE - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 195
about tunnel interfaces and more configuration commands on a tunnel interface, see "Configuring tunneling." For more information about the interface tunnel, source, destination, tunnel dfbit enable, and tunnel discard ipv4-compatible-packet commands, see Layer 3-IP Services Command Reference. 187 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 196
, and add an available Ethernet interface to the service Loopback group. For more information about service Loopback groups, see Layer 2-LAN Switching Configuration Guide. Configuration procedure To configure a GRE over IPv6 tunnel: Step 1. Enter system view. Command system-view 2. Create a GRE - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 197
tunnel interfaces and more configuration commands on a tunnel interface, see "Configuring tunneling." For more information about the interface tunnel, source, destination, and tunnel discard ipv4-compatible-packet commands, see Layer 3-IP Services Command Reference. Displaying and maintaining GRE - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 198
ipv6 interface [ tunnel tunnel interface. [ number ] ] [ brief ] For more information about this command, see Layer 3-IP Services Command Reference. GRE configuration examples GRE over IPv4 configuration example Network requirements Switch A and Switch B are connected to the Internet running - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 199
interface 101 on Switch B. [SwitchA-Tunnel1] destination 2.2.2.2 [SwitchA-Tunnel1] quit # Configure a static route from Switch A through service loopback group 1, and configure the service type as tunnel. [SwitchB] service-loopback group 1 type tunnel # Add port Ten-GigabitEthernet 1/1/5 to service - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 200
the destination address of the tunnel interface as the IP address of VLAN-interface 101 on Switch A. [SwitchB-Tunnel1] destination 1.1.1.1 [SwitchB-Tunnel1] quit # Configure a static route from Switch B through the tunnel interface to Group 1. [SwitchB] ip route-static 10.1.1.0 255.255.255.0 Tunnel - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 201
10.1.2.2/24 XGE1/1/7 Vlan-int100 10.1.3.1/24 IPv4 Group 1 Service loopback port IPv4 Group 2 Configuration procedure Before the configuration, make sure Switch A and Switch B can reach each other. 1. Configure Switch A: # Configure interface VLAN-interface 100. system-view [SwitchA - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 202
service loopback group 1, and configure the service type as tunnel. [SwitchA] service-loopback group 1 type tunnel # Add port Ten-GigabitEthernet 1/1/5 to service 101 on Switch B. [SwitchA-Tunnel0] destination 2001::2:1 [SwitchA-Tunnel0] quit # Configure a static route from Switch A through - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 203
destination address of the tunnel interface as the IPv6 address of VLAN-interface 101 on Switch A. [SwitchB-Tunnel0] destination 2002::1:1 [SwitchB-Tunnel0] quit # Configure a static route from Switch B through the tunnel interface to Group 1. [SwitchB] ip route-static 10.1.1.0 255.255.255.0 tunnel - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 204
400/11.000/4.317 ms The output shows that Switch B can successfully ping Switch A. Troubleshooting GRE The key to configuring GRE is to keep the configurations consistent. Most faults can be located by using the debugging gre or debugging tunnel command. This section analyzes one type of fault for - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 205
, see HP FlexNetwork Technology Acronyms. Websites • HP.com http://www.hp.com • HP Networking http://www.hp.com/go/networking • HP manuals http://www.hp.com/support/manuals • HP download drivers and software http://www.hp.com/support/downloads • HP software depot http://www.software.hp.com 197 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 206
hp.com/learn Conventions This section describes the conventions used in this documentation set. Command conventions Convention Boldface Italic [ ] { x | y | ... } [ x | y | ... ] { x | y | ... } * [ x | y | ... ] * & # Description Bold text represents commands the New User window software - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 207
wired-WLAN switch. Represents an access point. Represents a security product, such as a firewall, a UTM, or a load-balancing or security card that is installed in a device. Represents a security card, such as a firewall card, a load-balancing card, or a NetStream card. Port numbering in examples - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 208
(multiport entry), 8 displaying, 6 displaying snooping, 15 dynamic entry aging timer configuration, 5 dynamic entry check enable, 5 dynamic table entry, 2 fast update configuration, 6 gratuitous ARP configuration, 10, 11 gratuitous ARP packet learning, 10 gratuitous ARP periodic packet send - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 209
maintaining, 6 maintaining snooping, 15 max number dynamic entry configuration, 4 message format, 1 multiport entry configuration, 4 operation, 1 proxy ARP configuration, 12 snooping configuration, 15 static configuration, 7 static entry configuration, 3 static table entry, 3 table, 2 assigning DHCP - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 210
42 DHCP server self-defined option configuration, 48 DHCP server user class configuration, 47 DHCP snooping, 64, 66, addressing, 16, 20 IP addressing IP unnumbered, 18 IP services ARP fast update, 6 IPv4 DNS, 85 IPv4 DNS client, 80 IPv4 max number NS message sent attempts, 131 IPv6 ND, 127 IPv6 ND - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 211
130 IPv6 static path MTU, 132 IPv6/IPv4 manual tunnel, 163 IPv6/IPv6 tunnel, 179 ISATAP tunnel, 170 max number ARP dynamic entries, 4 proxy ARP, 12 configuration, 48 DHCP server user class configuration, 47 DHCPv6 DUID, 145 DHCPv6 IA, 145 DHCPv6 IAID, 145 DHCPv6 PD, 146 DHCPv6 server configuration - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 212
relay agent enable on interface, 52 relay agent IP address release, 55 relay agent operation, 50 relay agent Option 82 configuration, 55, 57 relay agent Option 82 support, 51 relay agent relay entry periodic refresh, 53 relay agent relay entry recording, 53 relay agent security functions, 53 relay - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 213
snooping Option 82 support configuration, 72 snooping packet rate limit, 70 snooping starvation attack protection, 69 snooping trusted port, 64, 64 snooping untrusted port, 64, 64 troubleshooting relay agent configuration, 58 troubleshooting server configuration, 49 troubleshooting server IP address - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 214
configuration, 82 spoofing, 78 spoofing configuration, 83 static domain name resolution, 76 suffixes, 77 troubleshooting IPv4 DNS configuration, 96 troubleshooting IPv4 DNS incorrect IP address, 96 troubleshooting IPv6 DNS configuration, 96 troubleshooting DHCP server user class configuration, 47 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 215
configuration, 48 DHCP server user class configuration, 47 DHCP snooping basic configuration, 71 DHCP snooping configuration, 71 gratuitous ARP configuration, 10 proxy ARP configuration, 12 UDP helper configuration , 185 standards, 185 troubleshooting, 196 tunnel configuration, 184 H header GRE - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 216
send, 132 IPv6 ICMPv6 redirect message, 134 IPv6 ICMPv6 time exceeded message, 133 IPv6 interface address assignment, 124 IPv6 interface MTU configuration, 131 IPv6 link-local address configuration, 125 IPv6 max number NS message sent attempts, 131 IPv6 multicast echo request reply, 133 IPv6 ND - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 217
transition technologies, 123 IPv6 tunneling technology, 123 IPv6/IPv4 manual tunnel configuration, 163 IPv6/IPv6 tunnel configuration, 179 ISATAP tunnel configuration, 170 masking, 17 max number ARP dynamic entry configuration, 4 proxy ARP configuration, 12 special IP addresses, 17 subnetting, 17 IP - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 218
179 IPv6/IPv6 tunneling, 161 ISATAP tunnel configuration, 170 ISATAP tunneling, 158 link-local address configuration, 125 maintaining basics, 134 manual configuration, 125 manual interface link-local address specification, 126 manual tunneling, 158 max number NS message sent attempts, 131 multicast - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 219
message send enable, 129 static path MTU configuration, 132 transition technologies, 123 troubleshooting address cannot be pinged, 140 troubleshooting basics configuration, 140 tunnel modes, 158 tunneling configuration, 157, 162 tunneling technology, 123 IRF DHCP overview, 22 ISATAP IPv6 tunneling - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 220
, 36 neighbor discovery IPv6 duplicate address detection, 122 IPv6 ND address resolution, 121 IPv6 ND configuration, 127 IPv6 ND hop limit, 128 IPv6 ND link-local entry minimization, 128 IPv6 ND max number dynamic neighbor entries, 127 IPv6 ND protocol, 121 IPv6 ND stale state entry aging timer - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 221
configuration, 66 DHCP snooping trusted port, 64 DHCP snooping untrusted port services ARP fast update configuration, 6 IPv4 DNS client configuration, 80 IPv4 DNS proxy configuration, 88 IPv4/IPv4 tunnel configuration MTU configuration, 131 IPv6 link-local address configuration, 125 IPv6 max number NS - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 222
IPv6/IPv4 tunneling, 157 IPv6/IPv6 tunnel configuration, 179 IPv6/IPv6 tunneling, 161 ISATAP tunnel configuration, 170 max number ARP dynamic entry configuration, 4 special IP addresses, 17 TCP buffer size, 110 TCP path MTU discovery, 109 TCP SYN cookie, 110 TCP timer, 111 tunneling Layer 3 virtual - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 223
agent, 25, 27 relay agent configuration, 55, 57 relay agent support, 51 snooping configuration, 67, 72 snooping support, 65 P packet DHCP snooping packet assignment, 124 IPv6 interface MTU configuration, 131 IPv6 link-local address configuration, 125 IPv6 max number NS message sent attempts, 131 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 224
server to ignore BOOTP requests, 42 configuring DHCP server user class, 47 configuring DHCP snooping, 66, 71 configuring DHCP snooping basics, 66, 71 configuring DHCP snooping Option 82, 67, 72 configuring DHCP snooping packet rate limit, 70 configuring DHCP voice client Option 184 parameters, 39 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 225
IPv6 static path MTU, 132 configuring IPv6/IPv4 manual tunnel, 163 configuring IPv6/IPv6 tunnel, 179 configuring ISATAP tunnel, 170 configuring max number ARP dynamic entries, 4 configuring proxy ARP, 12 configuring tunneling, 162 configuring tunneling Layer 3 virtual tunnel interface, 162 - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 226
maintaining IPv4 DNS, 84 maintaining IPv6 basics, 134 maintaining tunneling configuration, 182 maintaining UDP helper, 115 minimizing IPv6 ND link-local interface, 83 specifying IPv6 interface link-local address manually, 126 troubleshooting GRE, 196 protecting DHCP relay agent starvation attack - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 227
support, 51 DHCP overview, 22 DHCP security functions, 53 DHCP server specification on relay agent, 52 DHCP snooping configuration, 64, 66 displaying, 56 IP address release, 55 maintaining, 56 relay entry periodic refresh, 53 relay entry recording, 53 starvation attack protection, 54 troubleshooting - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 228
number dynamic neighbor entries, 127 IPv6 ND stale state entry aging timer, 128 snooping DHCP snooping Option 82 configuration, 72 DHCP snooping Option 82 support , 84 IPv6 interface link-local address manually, 126 spoofing DNS, 78 DNS spoofing configuration, 83 standards GRE, 185 starvation attack - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 229
entry configuration, 4 ARP static entry configuration, 3 max number ARP dynamic entry configuration, 4 TCP interface TCP MSS configuration, 108 troubleshooting DHCP relay agent configuration, 58 DHCP server configuration, 49 DHCP server IP address conflicts, 49 GRE, 196 IPv4 DNS configuration - HP 6125XLG | R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 230
address (loopback), 119 IPv6 address (unspecified), 119 IPv6 address global unicast configuration, 125 IPv6 address type, 119 unnumbered IP addressing IP unnumbered configuration, 18 update IP services ARP fast update configuration, 6 V vendor DHCP Option 43 vendor-specific, 25, 25 VLAN BOOTP client
HP 6125XLG Blade Switch
Layer 3—IP Services
Configuration Guide
Part number: 5998-3718
Software version: Release 2306
Document version: 6W100-20130912