Hewlett-Packard 6125XLG Command Reference Manual

Download or browse on-line these Command Reference Manual for HP 6125XLG Network Router, Server.

HP 6125XLG Manual Information:

This manual for HP 6125XLG, given in the PDF format, is available for free online viewing and download without logging on. The guide contains 257 pages, and the size of the file at download is 1.2 Mb. The document type is Command Reference Manual.

Download Manual

More Manuals:

In case you failed to obtain relevant information in this document, please, look through related operating manuals and user instructions for HP 6125XLG. Just click one of the links below to go to the selected manual:

Summary of Contents:

[Page 1] HP 6125XLG

HP 6125XLG Blade Switch Layer 3—IP Services Command Reference Part number: 5998-3733 Software version: Release 2306 Document version: 6W100-20130912 ...

[Page 2] HP 6125XLG

Legal and notice information © Copyright 2013 Hewlett-Packard Development Company, L.P. No part of this documentation may be reproduced or transmitted in any form or by any means without prior written consent of Hewlett-Packard Development Com...

[Page 3] HP 6125XLG

i Contents ARP commands ················································································································...

[Page 4] HP 6125XLG

ii dhcp server ping packets ··············································································································�...

[Page 5] HP 6125XLG

iii dhcp snooping binding record ············································································································...

[Page 6] HP 6125XLG

iv display rawip verbose ················································································································...

[Page 7] HP 6125XLG

v ipv6 nd autoconfig managed-address-flag ······································································································· ...

[Page 8] HP 6125XLG

vi Tunneling commands ·················································································································�...

[Page 9] HP 6125XLG

1 ARP commands arp check enable Use arp check enable to enable dynamic ARP entry check. Use undo arp check enable to disable dynamic ARP entry check. Syntax arp check enable undo arp check enable Default Dynamic ARP entry check is enabled....

[Page 10] HP 6125XLG

2 Default An interface can learn a maximum of 16384 dynamic ARP entries. Views Ethernet interface view, VLAN interface view, aggregate interface view Predefined user roles network-admin Parameters number: Specifies the maximum number of dyn...

[Page 11] HP 6125XLG

3 Parameters ip-address: Specifies an IP address for the multiport ARP entry. mac-address: Specifies a MAC address for the multiport ARP entry, in the format of H-H-H. vlan-id: Specifies a VLAN for the multiport ARP entry, in the range of 1 to ...

[Page 12] HP 6125XLG

4 mac-address: Specifies the MAC address in an ARP entry, in the format of H-H-H. vlan-id: Specifies the ID of a VLAN to which a static ARP entry belongs, in the range of 1 to 4094. The VLAN must already exist. interface-type interface-number: ...

[Page 13] HP 6125XLG

5 Default The aging timer for dynamic ARP entries is 20 minutes. Views System view Predefined user roles network-admin Parameters aging-time: Sets the aging timer for dynamic ARP entries, in the range of 1 to 1440 minutes. Usage guidelines...

[Page 14] HP 6125XLG

6 vlan vlan-id: Displays the ARP entries for the specified VLAN. The VLAN ID is in the range of 1 to 4094. interface interface-type interface-number: Displays the ARP entries for the interface specified by the argument interface-type interface-n...

[Page 15] HP 6125XLG

7 Field Description Interface Output interface in an ARP entry. Aging Aging time for a dynamic ARP entry in minutes. N/A means unknown aging time or no aging time. Type ARP entry type: • D—Dynamic. • S—Static. • M—Multipor...

[Page 16] HP 6125XLG

8 Related commands • arp static • reset arp display arp timer aging Use display arp timer aging to display the aging timer for dynamic ARP entries. Syntax display arp timer aging Views Any view Predefined user roles network-admin ...

[Page 17] HP 6125XLG

9 <Sysname> display arp vpn-instance test Type: S-Static D-Dynamic M-Multiport I-Invalid IP Address MAC Address VLAN ID Interface Aging Type 20.1.1.1 00e0-fc00-0001 N/A N/A ...

[Page 18] HP 6125XLG

10 static: Clears all static ARP entries. slot slot-number: Clears the ARP entries of an IRF member device. The slot-number argument specifies the ID of the IRF member device. interface interface-type interface-number: Clears the ARP entries f...

[Page 19] HP 6125XLG

11 Gratuitous ARP commands arp send-gratuitous-arp Use arp send-gratuitous-arp to enable periodic sending of gratuitous ARP packets and set the sending interval on an interface. Use undo arp send-gratuitous-arp to disable the interface from pe...

[Page 20] HP 6125XLG

12 gratuitous-arp-learning enable Use gratuitous-arp-learning enable to enable learning of gratuitous ARP packets. Use undo gratuitous-arp-learning enable to disable learning of gratuitous ARP packets. Syntax gratuitous-arp-learning enable ...

[Page 21] HP 6125XLG

13 Predefined user roles network-admin Examples # Disable a device from sending gratuitous ARP packets upon receiving ARP requests whose target IP address is on a different subnet. <Sysname> system-view [Sysname] undo gratuitous-arp-se...

[Page 22] HP 6125XLG

14 Proxy ARP commands display local-proxy-arp Use display local-proxy-arp to display the local proxy ARP status. Syntax display local-proxy-arp [ interface interface-type interface-number ] Views Any view Predefined user roles network-admi...

[Page 23] HP 6125XLG

15 Parameters interface interface-type interface-number: Displays the proxy ARP status for the specified interface. Usage guidelines The proxy ARP status can be enabled or disabled. If you specify an interface, this command displays proxy ARP ...

[Page 24] HP 6125XLG

16 Only one IP address range can be specified by using the ip-range keyword on an interface. Examples # Enable local proxy ARP on VLAN-interface 2. <Sysname> system-view [Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2] loc...

[Page 25] HP 6125XLG

17 Related commands display proxy-arp ...

[Page 26] HP 6125XLG

18 ARP snooping commands arp snooping enable Use arp snooping enable to enable ARP snooping. Use undo arp snooping enable to disable ARP snooping. Syntax arp snooping enable undo arp snooping enable Default ARP snooping is disabled. Views...

[Page 27] HP 6125XLG

19 ip ip-address: Displays the ARP snooping entry for the specified IP address. slot slot-number: Specifies an IRF member device. The slot-number argument is the member device ID in the IRF fabric. Usage guidelines If you do not specify any ke...

[Page 28] HP 6125XLG

20 Usage guidelines If you do not specify any keywords or arguments, the command removes all ARP snooping entries. Examples # Remove ARP snooping entries for VLAN 2. <Sysname> reset arp snooping vlan 2 ...

[Page 29] HP 6125XLG

21 IP addressing commands display ip interface Use display ip interface to display IP configuration and statistics for the specified Layer 3 interface or all Layer 3 interfaces. Syntax display ip interface [ interface-type interface-number ] ...

[Page 30] HP 6125XLG

22 Router solicit: 0 Time exceed: 0 IP header bad: 0 Timestamp request: 0 Timestamp reply: 0 Information request: 0 Information re...

[Page 31] HP 6125XLG

23 Field Description ICMP packet input number: Echo reply: Unreachable: Source quench: Routing redirect: Echo request: Router advert: Router solicit: Time exceed: IP header bad: Timestamp request: Timestamp reply:...

[Page 32] HP 6125XLG

24 If you do not specify the interface type and interface number, this command displays brief IP configuration information about all Layer 3 interfaces. If you specify only the interface type, this command displays brief IP configuration informa...

[Page 33] HP 6125XLG

25 Use undo ip address to remove the IP address from the interface. Syntax ip address ip-address { mask-length | mask } [ sub ] undo ip address [ ip-address { mask-length | mask } [ sub ] ] Default No IP address is assigned to an interface. ...

[Page 34] HP 6125XLG

26 ip address unnumbered Use ip address unnumbered to configure the current interface as IP unnumbered to borrow an IP address from the specified interface. Use undo ip address unnumbered to disable IP unnumbered on the interface. Syntax ip a...

[Page 35] HP 6125XLG

27 DHCP commands Common DHCP commands dhcp enable Use dhcp enable to enable DHCP. Use undo dhcp enable to disable DHCP. Syntax dhcp enable undo dhcp enable Default DHCP is disabled. Views System view Predefined user roles network-admi...

[Page 36] HP 6125XLG

28 Views Interface view Predefined user roles network-admin Parameters relay: Enables the DHCP relay agent on the interface. server: Enables the DHCP server on the interface. Usage guidelines Before changing the DHCP server mode to the DHC...

[Page 37] HP 6125XLG

29 DHCP server commands address range Use address range to configure an IP address range in a DHCP address pool for dynamic allocation. Use undo address range to remove the IP address range in the address pool. Syntax address range start-ip-a...

[Page 38] HP 6125XLG

30 bims-server Use bims-server to specify the IP address, port number, and shared key of the BIMS server in a DHCP address pool. Use undo bims-server to remove the specified BIMS server information. Syntax bims-server ip ip-address [ port por...

[Page 39] HP 6125XLG

31 Syntax bootfile-name bootfile-name undo bootfile-name Default No bootfile name is specified. Views DHCP address pool view Predefined user roles network-admin Parameters bootfile-name: Specifies the boot file name, a case-sensitive st...

[Page 40] HP 6125XLG

32 Parameters class-name: Specifies the name of a DHCP user class, a case-insensitive string of 1 to 63 characters. If the specified user class does not exist, the DHCP server will not assign the addresses in the address range specified for the...

[Page 41] HP 6125XLG

33 Parameters class-name: Specifies the name of a DHCP user class, a case-insensitive string of 1 to 63 characters. Usage guidelines In the DHCP user class view, use the if-match option command to configure a match rule to match specific clien...

[Page 42] HP 6125XLG

34 <Sysname> system-view [Sysname] dhcp server always-broadcast dhcp server apply ip-pool Use dhcp server apply ip-pool to apply an address pool on an interface. Use undo dhcp server apply ip-pool to remove the configuration. Syntax dh...

[Page 43] HP 6125XLG

35 Default The DHCP server does not ignore BOOTP requests. Views System view Predefined user roles network-admin Usage guidelines The lease duration of IP addresses obtained by BOOTP clients is unlimited. For scenarios that do not allow un...

[Page 44] HP 6125XLG

36 dhcp server forbidden-ip Use dhcp server forbidden-ip to exclude specific IP addresses from dynamic allocation. Use undo dhcp server forbidden-ip to remove the configuration. Syntax dhcp server forbidden-ip start-ip-address [ end-ip-address...

[Page 45] HP 6125XLG

37 Syntax dhcp server ip-pool pool-name undo dhcp server ip-pool pool-name Default No DHCP address pool is created. Views System view Predefined user roles network-admin Parameters pool-name: Specifies the name for the DHCP address pool,...

[Page 46] HP 6125XLG

38 Usage guidelines To avoid IP address conflicts, the DHCP server pings an IP address before assigning it to a DHCP client. If a ping attempt succeeds, the server considers that the IP address is in use and picks a new IP address. If all the p...

[Page 47] HP 6125XLG

39 • display dhcp server conflict • reset dhcp server conflict dhcp server relay information enable Use dhcp server relay information enable to enable the DHCP server to handle Option 82. Use undo dhcp server relay information enable to ...

[Page 48] HP 6125XLG

40 • Before assigning an IP address to a DHCP client, the DHCP server pings the IP address and discovers that it has been used by other host. • The DHCP client sends a DECLINE packet to the DHCP server to inform the server of an IP address...

[Page 49] HP 6125XLG

41 Examples # Display all lease expiration information. <Sysname> display dhcp server expired IP address Client-identifier/Hardware address Lease expiration 4.4.4.6 3030-3066-2e65-3230-302e-3130-3234 Apr 25 17:10:47 ...

[Page 50] HP 6125XLG

42 Pool name: 2 Network: 20.1.1.0 mask 255.255.255.0 IP ranges from 20.1.1.0 to 20.1.1.255 Table 7 Command output Field Description Pool name Name of the address pool. Network Assignable network. IP ranges Assignable IP address rang...

[Page 51] HP 6125XLG

43 662e-3030-3033-2d45- 7468-6572-6e65-7430- 2f31 10.1.1.3 1111-1111-1111 After 2100 Static(C) Table 8 Command output Field Description IP address IP address assig...

[Page 52] HP 6125XLG

44 Parameters pool-name: Displays information of the specified address pool. The pool name is a case-insensitive string of 1 to 63 characters. If you do not specify any pool-name, the command displays information about all address pools. Examp...

[Page 53] HP 6125XLG

45 Pool name: 3 static bindings: ip-address 10.10.1.2 mask 255.0.0.0 hardware-address 00e0-00fc-0001 ethernet ip-address 10.10.1.3 mask 255.0.0.0 client-identifier aaaa-bbbb expired unlimited Table 9 Command output ...

[Page 54] HP 6125XLG

46 Views Any view Predefined user roles network-admin network-operator Parameters pool pool-name: Specifies an address pool by its name, a case-insensitive string of 1 to 63 characters. If you do not specify this option, the command display...

[Page 55] HP 6125XLG

47 Field Description Conflict Total number of conflict addresses. This field is not displayed if you display statistics for a specific address pool. Messages received DHCP packets received from clients: • DHCPDISCOVER • DHCPREQUEST �...

[Page 56] HP 6125XLG

48 Usage guidelines If you use the dns-list command multiple times, the most recent configuration takes effect. The undo dns-list command without any parameter specified deletes all DNS server addresses in the DHCP address pool. Examples # Sp...

[Page 57] HP 6125XLG

49 Use undo expired to restore the default lease duration for a DHCP address pool. Syntax expired { day day [ hour hour [ minute minute [ second second ] ] ] | unlimited } undo expired Default The lease duration of a dynamic address pool is o...

[Page 58] HP 6125XLG

50 Default No IP addresses are excluded from dynamic allocation in an address pool. Views DHCP address pool view Predefined user roles network-admin Parameters ip-address&<1-8>: Specifies excluded IP addresses. &<1-8> in...

[Page 59] HP 6125XLG

51 Parameters ip-address&<1-8>: Specifies gateways. &<1-8> indicates that you can specify up to eight gateway addresses separated by spaces. Gateway addresses must reside on the same subnet as the assignable IP addresses. ...

[Page 60] HP 6125XLG

52 offset offset: Specifies the offset to match the option, in the range of 0 to 254 bytes. If the offset argument is not specified, the server matches the entire option with the rule. length length: Matches the specified length of the option, i...

[Page 61] HP 6125XLG

53 Syntax nbns-list ip-address&<1-8> undo nbns-list [ ip-address&<1-8> ] Default No WINS server address is specified. Views DHCP address pool view Predefined user roles network-admin Parameters ip-address&<1-8&...

[Page 62] HP 6125XLG

54 Parameters b-node: Specifies the broadcast node. A b-node client sends the destination name in a broadcast message to get the name-to-IP mapping from a server. h-node: Specifies the hybrid node. An h-node client unicasts the destination name...

[Page 63] HP 6125XLG

55 secondary: Specifies the subnet as a secondary subnet. Without this keyword, this command specifies the primary subnet. If the addresses in the primary subnet are used up, the DHCP server can select addresses from a secondary subnet for the c...

[Page 64] HP 6125XLG

56 Usage guidelines Upon startup, the DHCP client obtains its own IP address and the specified server IP address, and then contacts the specified server, such as a TFTP server, to get other boot information. If you use the next-server command m...

[Page 65] HP 6125XLG

57 • Add options for which the CLI does not provide a dedicated configuration command. For example, you can use the option 4 ip-address 1.1.1.1 command to define the time server address 1.1.1.1 f o r DHCP clients. • Add all option value...

[Page 66] HP 6125XLG

58 reset dhcp server expired Use reset dhcp server expired to clear binding information for expired IP addresses. Syntax reset dhcp server expired [ ip ip-address | pool pool-name ] Views User view Predefined user roles network-admin Param...

[Page 67] HP 6125XLG

59 Examples # Clear binding information for the IP address 10.110.1.1. <Sysname> reset dhcp server ip-in-use ip 10.110.1.1 Related commands display dhcp server ip-in-use reset dhcp server statistics Use reset dhcp server statistics to ...

[Page 68] HP 6125XLG

60 mask mask: Specifies the mask, in dotted decimal format. client-identifier client-identifier: Specifies the client ID of the static binding, a string of 4 to 254 characters that can contain only hexadecimal numbers and hyphen (-), in the form...

[Page 69] HP 6125XLG

61 Predefined user roles network-admin Parameters domain-name: Specifies the TFTP server name, a case-sensitive string of 1 to 63 characters. Usage guidelines If you use this command multiple times, the most recent configuration takes effect...

[Page 70] HP 6125XLG

62 • tftp-server domain-name voice-config Use voice-config to configure the content for Option 184 in a DHCP address pool. Use undo voice-config to remove the Option 184 content from a DHCP address pool. Syntax voice-config { as-ip ip-addr...

[Page 71] HP 6125XLG

63 DHCP relay agent commands dhcp relay check mac-address Use dhcp relay check mac-address to enable MAC address check on the relay agent. Use undo dhcp relay check mac-address to disable MAC address check on the relay agent. Syntax dhcp rela...

[Page 72] HP 6125XLG

64 Syntax dhcp relay client-information record undo dhcp relay client-information record Default The DHCP relay agent does not record client information in relay entries. Views System view Predefined user roles network-admin Usage guideli...

[Page 73] HP 6125XLG

65 Examples # Set the refresh interval to 100 seconds. <Sysname> system-view [Sysname] dhcp relay client-information refresh interval 100 Related commands • dhcp relay client-information record • dhcp relay client-information ref...

[Page 74] HP 6125XLG

66 Related commands • dhcp relay client-information record • dhcp relay client-information refresh • reset dhcp relay client-information dhcp relay information circuit-id Use dhcp relay information circuit-id to configure the padding...

[Page 75] HP 6125XLG

67 Usage guidelines If you use this command multiple times, the most recent configuration takes effect. The padding format for the user-defined string, the normal mode, or the verbose modes varies with the command configuration. The following m...

[Page 76] HP 6125XLG

68 Default The DHCP relay agent does not support Option 82. Views Interface view Predefined user roles network-admin Usage guidelines With this feature enabled, the DHCP relay agent adds Option 82 to a DHCP request that does not contain Op...

[Page 77] HP 6125XLG

69 Parameters normal: Specifies the normal mode in which the padding content is the MAC address of the receiving interface. format: Specifies the code type for the remote ID sub-option. The default code type is Hex. ascii: Specifies the ASCII ...

[Page 78] HP 6125XLG

70 Parameters drop: Drops messages containing Option 82. keep: Keeps the original Option 82 intact. replace: Replaces the original Option 82 with the configured Option 82. Usage guidelines This command takes effect only for DHCP requests cont...

[Page 79] HP 6125XLG

71 dhcp relay server-address Use dhcp relay server-address to specify DHCP servers on the DHCP relay agent. Use undo dhcp relay server-address to remove DHCP servers. Syntax dhcp relay server-address ip-address undo dhcp relay server-address ...

[Page 80] HP 6125XLG

72 Predefined user roles network-admin network-operator Parameters interface interface-type interface-number: Displays relay entries on the specified interface. ip ip-address: Displays the relay entry for the specified IP address. vpn-instan...

[Page 81] HP 6125XLG

73 display dhcp relay information Use display dhcp relay information to display Option 82 configuration information on the DHCP relay agent. Syntax display dhcp relay information [ interface interface-type interface-number ] Views Any view ...

[Page 82] HP 6125XLG

74 Field Description Strategy Handling strategy for request messages containing Option 82, Drop, Keep, or Replace. Circuit ID Pattern Padding content mode of the circuit ID sub-option, Verbose, Normal, or User Defined. Remote ID Pattern Pa...

[Page 83] HP 6125XLG

75 Related commands dhcp relay server-address display dhcp relay statistics Use display dhcp relay statistics to display DHCP packet statistics on the DHCP relay agent. Syntax display dhcp relay statistics [ interface interface-type interface...

[Page 84] HP 6125XLG

76 BOOTPREPLY: 0 DHCP packets sent to servers: 0 DHCPDISCOVER: 0 DHCPREQUEST: 0 DHCPINFORM: 0 DHCPRELEASE: ...

[Page 85] HP 6125XLG

77 reset dhcp relay statistics Use reset dhcp relay statistics to clear relay agent statistics. Syntax reset dhcp relay statistics [ interface interface-type interface-number ] Views User view Predefined user roles network-admin Parameters...

[Page 86] HP 6125XLG

78 DHCP client commands dhcp client dad enable Use dhcp client dad enable to enable duplicate address detection. Use undo dhcp client dad enable to disable duplicate address detection. Syntax dhcp client dad enable undo dhcp client dad enabl...

[Page 87] HP 6125XLG

79 Parameters ascii string: Specifies a case-sensitive ASCII string of 1 to 63 characters as the client ID. hex string: Specifies a hex string of 4 to 64 characters as the client ID. mac interface-type interface-number: Uses the MAC address of ...

[Page 88] HP 6125XLG

80 # Display verbose DHCP client information. <Sysname> display dhcp client verbose Vlan-interface10 DHCP client information: Current state: BOUND Allocated IP: 40.1.1.20 255.255.255.0 Allocated lease: 259200 seconds, T1: 129600 seco...

[Page 89] HP 6125XLG

81 Field Description Transaction ID Transaction ID, a random number chosen by the client to identify an IP address allocation. Default router Gateway address assigned to the client. Classless static routes Classless static routes assigned t...

[Page 90] HP 6125XLG

82 Usage guidelines When you execute the undo ip address dhcp-alloc command, the interface sends a DHCP-RELEASE message to release the IP address obtained through DHCP. If the interface is down, the message cannot be sent out. Examples # Conf...

[Page 91] HP 6125XLG

83 DHCP snooping commands DHCP snooping works between the DHCP client and the DHCP server or between the DHCP client and the relay agent. DHCP snooping does not work between the DHCP server and the DHCP relay agent. dhcp snooping binding databa...

[Page 92] HP 6125XLG

84 Syntax dhcp snooping binding database update interval seconds undo dhcp snooping binding database update interval Default The device does not update DHCP snooping entries periodically. Views System view Predefined user roles network-adm...

[Page 93] HP 6125XLG

85 Related commands dhcp snooping binding database filename dhcp snooping binding record Use dhcp snooping binding record to enable recording of client information in DHCP snooping entries. Use undo dhcp snooping binding record to disable the ...

[Page 94] HP 6125XLG

86 Usage guidelines With MAC address check enabled, DHCP snooping compares the chaddr field of a received DHCP request with the source MAC address field in the frame header. If they are the same, DHCP snooping considers this request valid and f...

[Page 95] HP 6125XLG

87 dhcp snooping enable Use dhcp snooping enable to enable DHCP snooping. Use undo dhcp snooping enable to disable DHCP snooping. Syntax dhcp snooping enable undo dhcp snooping enable Default DHCP snooping is disabled. Views System view ...

[Page 96] HP 6125XLG

88 string circuit-id: Specifies the padding content for the circuit ID sub-option, a case-sensitive string of 3 to 63 characters. normal: Specifies the normal padding format. The padding content includes the VLAN ID and interface number. verbo...

[Page 97] HP 6125XLG

89 Examples # Configure verbose as the padding format, system name as the node identifier, and ASCII as the code type for the circuit ID sub-option. <Sysname> system-view [Sysname] interface Ten-GigabitEthernet 1/1/5 [Sysname-Ten-Gigabi...

[Page 98] HP 6125XLG

90 • dhcp snooping information strategy dhcp snooping information remote-id Use dhcp snooping information remote-id to configure the padding content and code type for the remote ID sub-option. Use undo dhcp snooping information remote-id t...

[Page 99] HP 6125XLG

91 Related commands • dhcp snooping information enable • dhcp snooping information strategy • display dhcp snooping information dhcp snooping information strategy Use dhcp snooping information strategy to configure the handling strat...

[Page 100] HP 6125XLG

92 Use dhcp snooping rate-limit to configure the maximum rate at which an interface can receive DHCP packets. Use undo dhcp snooping rate-limit to disable the rate limit. Syntax dhcp snooping rate-limit rate undo dhcp snooping rate-limit Def...