Download Print this page

HP 6125G Command Reference Manual

Hp 6125g & 6125g/xg blade switches layer 3 - ip services command reference-r2103.
Hide thumbs

Advertisement

HP 6125 Blade Switch Series
Layer 3 - IP Services
Command Reference
Part number: 5998-3167
Software version: Release 2103
Document version: 6W100-20120907

Advertisement

   Related Manuals for HP 6125G

   Summary of Contents for HP 6125G

  • Page 1: Command Reference

    HP 6125 Blade Switch Series Layer 3 - IP Services Command Reference Part number: 5998-3167 Software version: Release 2103 Document version: 6W100-20120907...

  • Page 2

    HEWLETT-PACKARD COMPANY MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Hewlett-Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material.

  • Page 3: Table Of Contents

    Contents ARP configuration commands ····································································································································· 1   arp check enable ······················································································································································ 1   arp max-learning-num ·············································································································································· 1   arp static ···································································································································································· 2   arp timer aging ························································································································································· 3   display arp ································································································································································ 3   display arp ip-address ············································································································································· 5   display arp timer aging ···········································································································································...

  • Page 4

    dhcp relay server-detect ········································································································································ 33   dhcp relay server-group ········································································································································ 34   dhcp relay server-select ········································································································································ 35   dhcp select relay ··················································································································································· 35   display dhcp relay ················································································································································· 36   display dhcp relay information ···························································································································· 37   display dhcp relay security··································································································································· 38  ...

  • Page 5

    ip host ····································································································································································· 75   reset dns host ························································································································································· 75   IP performance optimization configuration commands ··························································································· 77   display fib ······························································································································································ 77   display fib ip-address ············································································································································ 79   display icmp statistics ············································································································································ 80   display ip socket ···················································································································································· 81  ...

  • Page 6

    ipv6 nd hop-limit ·················································································································································· 129   ipv6 nd ns retrans-timer ······································································································································ 130   ipv6 nd nud reachable-time ······························································································································· 130   ipv6 nd ra halt ····················································································································································· 131   ipv6 nd ra interval ··············································································································································· 132   ipv6 nd ra no-advlinkmtu ···································································································································· 132  ...

  • Page 7

    Support and other resources ·································································································································· 169   Contacting HP ······························································································································································ 169   Subscription service ············································································································································ 169   Related information ······················································································································································ 169   Documents ···························································································································································· 169   Websites ······························································································································································· 169   Conventions ·································································································································································· 170   Index ········································································································································································ 172  ...

  • Page 8: Arp Configuration Commands

    ARP configuration commands arp check enable Syntax arp check enable undo arp check enable View System view Default level 2: System level Parameters None Description Use arp check enable to enable dynamic ARP entry check. Use undo arp check enable to disable dynamic ARP entry check. By default, dynamic ARP entry check is enabled.

  • Page 9: Arp Static

    Use undo arp max-learning-num to restore the default. By default, a Layer 2 interface does not limit the number of dynamic ARP entries. The maximum number of dynamic ARP entries that a Layer 3 interface can learn is 4096. When the number argument is set to 0, the interface is disabled from learning dynamic ARP entries. Examples # Specify VLAN-interface 40 to learn up to 50 dynamic ARP entries.

  • Page 10: Arp Timer Aging

    A static ARP entry is effective when the device works normally. However, when the VLAN or VLAN interface to which an ARP entry corresponds is deleted, the entry, if long, will be deleted, and if short and resolved, will become unresolved. The vlan-id argument specifies the VLAN corresponding to an ARP entry and must be the ID of an existing VLAN.

  • Page 11

    View Any view Default level 1: Monitor level Parameters all: Displays all ARP entries. dynamic: Displays dynamic ARP entries. static: Displays static ARP entries. slot slot-number: Displays the ARP entries on a specified IRF member switch. The slot-number argument specifies the ID of an IRF member switch. The value range for the argument depends on the number of member switches and their member IDs in the IRF fabric, which you can display with the display irf command.

  • Page 12: Display Arp Ip-address

    Field Description MAC Address MAC address in an ARP entry. VLAN ID ID of the VLAN to which the ARP entry belongs. Interface Outbound interface in an ARP entry. Aging time for a dynamic ARP entry in minutes. (N/A means unknown aging time or Aging no aging time.

  • Page 13: Display Arp Timer Aging

    Examples # Display the corresponding ARP entry for the IP address 20.1.1.1. <Sysname> display arp 20.1.1.1 Type: S-Static D-Dynamic IP Address MAC Address VLAN ID Interface Aging Type 20.1.1.1 00e0-fc00-0001 display arp timer aging Syntax display arp timer aging [ | { begin | exclude | include } regular-expression ] View Any view Default level...

  • Page 14: Mac-address Station-move

    count: Displays the number of ARP entries. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.

  • Page 15: Reset Arp

    reset arp Syntax reset arp { all | dynamic | static | slot slot-number | interface interface-type interface-number } View User view Default level 2: System level Parameters all: Clears all ARP entries. dynamic: Clears all dynamic ARP entries. static: Clears all static ARP entries. slot slot-number: Clears the ARP entries on a specified IRF member switch.

  • Page 16: Gratuitous Arp Configuration Commands

    Gratuitous ARP configuration commands arp send-gratuitous-arp Syntax arp send-gratuitous-arp [ interval milliseconds ] undo arp send-gratuitous-arp View VLAN interface view Default level 2: System level Parameters interval milliseconds: Sets the interval at which gratuitous ARP packets are sent, in the range of 200 to 200000 milliseconds.

  • Page 17: Gratuitous-arp-sending Enable

    gratuitous-arp-sending enable Syntax gratuitous-arp-sending enable undo gratuitous-arp-sending enable View System view Default level 2: System level Parameters None Description Use gratuitous-arp-sending enable to enable a device to send gratuitous ARP packets when receiving ARP requests from another network segment. Use undo gratuitous-arp-sending enable to restore the default. By default, a device cannot send gratuitous ARP packets when receiving ARP requests from another network segment.

  • Page 18

    the source IP address of the ARP packet. If a matching ARP entry is found in the cache, the device updates the ARP entry regardless of whether this function is enabled. Examples # Enable the gratuitous ARP packet learning function. <Sysname>...

  • Page 19: Proxy Arp Configuration Commands

    Proxy ARP configuration commands display local-proxy-arp Syntax display local-proxy-arp [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 2: System level Parameters interface interface-type interface-number: Displays the local proxy ARP status of the interface specified by the argument interface-type interface-number.

  • Page 20: Local-proxy-arp Enable

    Default level 2: System level Parameters interface interface-type interface-number: Displays the proxy ARP status of the interface specified by the argument interface-type interface-number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.

  • Page 21: Proxy-arp Enable

    Related commands: display local-proxy-arp. Examples # Enable local proxy ARP on VLAN-interface 2. <Sysname> system-view [Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2] local-proxy-arp enable # Enable local proxy ARP on VLAN-interface 2 for a specific IP address range. <Sysname> system-view [Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2] local-proxy-arp enable ip-range 1.1.1.1 to 1.1.1.20 proxy-arp enable Syntax...

  • Page 22: Arp Snooping Configuration Commands

    ARP snooping configuration commands arp-snooping enable Syntax arp-snooping enable undo arp-snooping enable View VLAN view Default level 2: System level Parameters None Description Use arp-snooping enable to enable ARP snooping. Use undo arp-snooping enable to disable ARP snooping. By default, ARP snooping is disabled. Examples # Enable ARP snooping on VLAN 1.

  • Page 23: Reset Arp-snooping

    begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display arp-snooping to display ARP snooping entries.

  • Page 24: Ip Addressing Configuration Commands

    IP addressing configuration commands display ip interface Syntax display ip interface [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters interface-type interface-number: Specifies an interface by its type and number. |: Filters command output by specifying a regular expression.

  • Page 25

    Source quench: Routing redirect: Echo request: Router advert: Router solicit: Time exceed: IP header bad: Timestamp request: Timestamp reply: Information request: Information reply: Netmask request: Netmask reply: Unknown type: Table 2 Command output Field Description Current physical state of the interface: •...

  • Page 26: Display Ip Interface Brief

    Field Description Total number of ARP packets received on the interface (the statistics start at the ARP packet input number: device startup), including: Request packet: • ARP request packets. Reply packet: • ARP reply packets. Unknown packet: • Unknown packets. Number of TTL-invalid packets received on the interface (the statistics start at the TTL invalid packet number device startup).

  • Page 27

    exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display ip interface brief to display brief IP configuration information for a specified Layer 3 interface or all Layer 3 interfaces.

  • Page 28: Ip Address

    ip address Syntax ip address ip-address { mask-length | mask } [ sub ] undo ip address [ ip-address { mask-length | mask } [ sub ] ] View Interface view Default level 2: System level Parameters ip-address: Specifies the IP address of an interface, in dotted decimal notation. mask-length: Specifies the subnet mask length, the number of consecutive ones in the mask.

  • Page 29: Ip Address Unnumbered

    ip address unnumbered Syntax ip address unnumbered interface interface-type interface-number undo ip address unnumbered View Interface view Default level 2: System level Parameters interface interface-type interface-number: Specifies an interface from which the current interface can borrow an IP address. Description Use ip address unnumbered to configure the current interface as IP unnumbered to borrow an IP address from another interface.

  • Page 30: Dhcp Relay Agent Configuration Commands

    DHCP relay agent configuration commands The DHCP relay agent configuration is supported only on VLAN interfaces. dhcp dscp Syntax dhcp dscp dscp-value undo dhcp dscp View System view Default level 2: System level Parameters dscp-value: Specifies the DSCP value in DHCP packets, in the range of 0 to 63. Description Use dhcp dscp to set the DSCP value for DHCP packets sent by the DHCP relay agent.

  • Page 31: Dhcp Relay Address-check Enable

    Use undo dhcp enable to disable DHCP. By default, DHCP is disabled. Examples # Enable DHCP. <Sysname> system-view [Sysname] dhcp enable dhcp relay address-check enable Syntax dhcp relay address-check enable undo dhcp relay address-check enable View Interface view Default level 2: System level Parameters None...

  • Page 32: Dhcp Relay Client-detect Enable

    undo dhcp relay check mac-address View Interface view Default level 2: System level Parameters None Description Use dhcp relay check mac-address to enable MAC address check on the DHCP relay agent. Use undo dhcp relay check mac-address to disable MAC address check on the DHCP relay agent. By default, this function is disabled.

  • Page 33: Dhcp Relay Information Circuit-id Format-type

    With this function enabled on an interface, the DHCP relay agent removes a client’s IP-to-MAC binding entry when it is aged out, and sends a DHCP-RELEASE request to the DHCP server to release the IP address of the client. Examples # Enable offline detection on the DHCP relay agent.

  • Page 34: Dhcp Relay Information Enable

    View Interface view Default level 2: System level Parameters circuit-id: Padding content for the user-defined circuit ID sub-option, a case-sensitive string of 3 to 63 characters. Description Use dhcp relay information circuit-id string to configure the padding content for the user-defined circuit ID sub-option.

  • Page 35: Dhcp Relay Information Format

    Examples # Enable Option 82 support on the relay agent. <Sysname> system-view [Sysname] interface vlan-interface 1 [Sysname-Vlan-interface1] dhcp relay information enable dhcp relay information format Syntax dhcp relay information format { normal | verbose [ node-identifier { mac | sysname | user-defined node-identifier } ] } undo dhcp relay information format View...

  • Page 36: Dhcp Relay Information Remote-id Format-type

    [Sysname-Vlan-interface1] dhcp relay information format verbose dhcp relay information remote-id format-type Syntax dhcp relay information remote-id format-type { ascii | hex } undo dhcp relay information remote-id format-type View Interface view Default level 2: System view Parameters ascii: Specifies the code type for the remote ID sub-option as ascii. hex: Specifies the code type for the remote ID sub-option as hex.

  • Page 37: Dhcp Relay Information Strategy

    Parameters remote-id: Padding content for the user-defined remote ID sub-option, a case-sensitive string of 1 to 63 characters. sysname: Specifies the device name as the padding content for the remote ID sub-option. Description Use dhcp relay information remote-id string to configure the padding content for the user-defined remote ID sub-option.

  • Page 38: Dhcp Relay Release Ip

    The handling strategy for messages containing Option 82 defaults to replace. Related commands: display dhcp relay information. Examples # Configure the DHCP relay agent handling strategy for messages containing Option 82 as keep. <Sysname> system-view [Sysname] interface vlan-interface 1 [Sysname-Vlan-interface1] dhcp relay information enable [Sysname-Vlan-interface1] dhcp relay information strategy keep dhcp relay release ip Syntax...

  • Page 39: Dhcp Relay Security Refresh Enable

    all: Specifies that all client entries are to be removed. dynamic: Specifies that dynamic client entries are to be removed. static: Specifies that manual client entries are to be removed. Description Use dhcp relay security static to configure a static client entry, which is the binding between IP address, MAC address, and Layer 3 interface on the relay agent.

  • Page 40: Dhcp Relay Security Tracker

    Examples # Disable the DHCP relay agent from periodically refreshing dynamic client entries. <Sysname> system-view [Sysname] undo dhcp relay security refresh enable dhcp relay security tracker Syntax dhcp relay security tracker { interval | auto } undo dhcp relay security tracker [ interval ] View System view Default level...

  • Page 41: Dhcp Relay Server-group

    Parameters None Description Use dhcp relay server-detect to enable unauthorized DHCP server detection. Use undo dhcp relay server-detect to disable unauthorized DHCP server detection. By default, unauthorized DHCP server detection is disabled. With this function enabled, upon receiving a DHCP request, the DHCP relay agent will record from the request the IP addresses of all DHCP servers that ever offered IP addresses to the DHCP client and the receiving interface.

  • Page 42: Dhcp Relay Server-select

    Examples # Specify DHCP server 1.1.1.1 for DHCP server group 1 on the relay agent. <Sysname> system-view [Sysname] dhcp relay server-group 1 ip 1.1.1.1 dhcp relay server-select Syntax dhcp relay server-select group-id undo dhcp relay server-select View Interface view Default level 2: System level Parameters group-id: Specifies a DHCP server group by its number to be correlated, in the range of 0 to 19.

  • Page 43: Display Dhcp Relay

    Default level 2: System level Parameters None Description Use dhcp select relay to enable the relay agent on the current interface. Upon receiving requests from an enabled interface, the relay agent will forward these requests to outside DHCP servers for IP address allocation.

  • Page 44: Display Dhcp Relay Information

    <Sysname> display dhcp relay all Interface name Server-group Vlan-interface1 Table 4 Command output Field Description Server-group DHCP server group number correlated to the interface display dhcp relay information Syntax display dhcp relay information { all | interface interface-type interface-number } [ | { begin | exclude | include } regular-expression ] View Any view...

  • Page 45: Display Dhcp Relay Security

    Interface: Vlan-interface200 Status: Enable Strategy: Keep Format: Normal Circuit ID format-type: HEX Remote ID format-type: ASCII User defined: Remote ID: device001 Table 5 Command output Field Description Interface Interface name. Status Option 82 state, which can be Enable or Disable. Handling strategy for requesting messages containing Option 82, which can Strategy be Drop, Keep, or Replace.

  • Page 46: Display Dhcp Relay Security Statistics

    exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display dhcp relay security to display information about bindings of DHCP relay agents. If no parameter is specified, information about all bindings will be displayed.

  • Page 47: Display Dhcp Relay Security Tracker

    You must enable address check, or IP source guard on the DHCP relay agent before it can generate dynamic client entries. For more information about IP source guard, see Security Configuration Guide. Examples # Display statistics about bindings of DHCP relay agents. <Sysname>...

  • Page 48: Display Dhcp Relay Server-group

    display dhcp relay server-group Syntax display dhcp relay server-group { group-id | all } [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters group-id: Displays the information of the specified DHCP server group numbered from 0 to 19. all: Displays the information of all DHCP server groups.

  • Page 49

    Default level 1: Monitor level Parameters group-id: Specifies a server group by its number, in the range of 0 to 19, about display DHCP packet statistics is to be displayed. all: Specifies all server groups about which DHCP packet statistics is to be displayed. Information for each group is displayed independently.

  • Page 50: Reset Dhcp Relay Statistics

    DHCPOFFER packets relayed: DHCPACK packets relayed: DHCPNAK packets relayed: BOOTPREPLY packets relayed: DHCP packets sent to servers: DHCPDISCOVER packets sent: DHCPREQUEST packets sent: DHCPINFORM packets sent: DHCPRELEASE packets sent: DHCPDECLINE packets sent: BOOTPREQUEST packets sent: DHCP packets sent to clients: DHCPOFFER packets sent: DHCPACK packets sent: DHCPNAK packets sent:...

  • Page 51

    Description Use reset dhcp relay statistics to remove statistics from the relay agent. If no server-group is specified, all statistics will be removed from the relay agent. Related commands: display dhcp relay statistics. Examples # Remove all statistics from the DHCP relay agent. <Sysname>...

  • Page 52: Dhcp Client Configuration Commands

    DHCP client configuration commands The DHCP client configuration is supported only on VLAN interfaces. When multiple VLAN interfaces having the same MAC address use DHCP for IP address acquisition via a relay agent, the DHCP server cannot be the Windows Server 2000 or Windows Server 2003. display dhcp client Syntax display dhcp client [ verbose ] [ interface interface-type interface-number ] [ | { begin | exclude |...

  • Page 53: Field Description

    Current machine state: BOUND Allocated IP: 40.1.1.20 255.255.255.0 Allocated lease: 259200 seconds, T1: 129600 seconds, T2: 226800 seconds Lease from 2005.08.13 15:37:59 2005.08.16 15:37:59 DHCP server: 40.1.1.2 Transaction ID: 0x1c09322d Default router: 40.1.1.2 Classless static route: Destination: 1.1.0.1, Mask: 255.0.0.0, NextHop: 192.168.40.16 Destination: 10.198.122.63, Mask: 255.255.255.255, NextHop: 192.168.40.16 DNS server: 44.1.1.11 DNS server: 44.1.1.12...

  • Page 54: Dhcp Client Dscp

    Field Description Classless static route Classless static routes assigned to the client. Static route Classful static routes assigned to the client. DNS server The DNS server address assigned to the client. Domain name The domain name suffix assigned to the client. PXE server addresses (up to 16 addresses) specified for the DHCP client, Boot server which are obtained through Option 43.

  • Page 55

    Default level 2: System level Parameters client-identifier mac interface-type interface-number: Enables an interface to use its MAC address as the client ID to obtain an IP address. Description Use ip address dhcp-alloc to configure an interface to use DHCP for IP address acquisition. Use undo ip address dhcp-alloc to cancel an interface from using DHCP.

  • Page 56: Dhcp Snooping Configuration Commands

    DHCP snooping configuration commands A DHCP snooping enabled device does not work if it is between the DHCP relay agent and DHCP server. It can work when it is between the DHCP client and relay agent or between the DHCP client and server. dhcp-snooping Syntax dhcp-snooping...

  • Page 57: Dhcp-snooping Binding Database Update Interval

    Parameters filename: File name. For how to define the file name, see Fundamentals Configuration Guide. Description Use dhcp-snooping binding database filename to specify the name of the file for storing DHCP snooping entries. Use undo dhcp-snooping binding database filename to restore the default. By default, no file name is specified.

  • Page 58: Dhcp-snooping Binding Database Update Now

    <Sysname> system-view [Sysname] dhcp-snoooping binding database update interval 10 dhcp-snooping binding database update now Syntax dhcp-snooping binding database update now View System view Default level 2: System level Parameters None Description Use dhcp-snooping binding database update now to store DHCP snooping entries to the file. DHCP snooping entries will be stored to the file each time this command is used.

  • Page 59: Dhcp-snooping Check Request-message

    With this function enabled, the DHCP snooping device compares the chaddr field of a received DHCP request with the source MAC address field in the frame. If they are the same, the DHCP snooping device decides this request valid and forwards it to the DHCP server. If not, the DHCP request is discarded. Examples # Enable MAC address check of DHCP snooping.

  • Page 60: Dhcp-snooping Information Circuit-id String

    undo dhcp-snooping information circuit-id format-type View Layer 2 Ethernet port view, Layer 2 aggregate interface view Default level 2: System level Parameters ascii: Specifies the code type for the circuit ID sub-option as ascii. hex: Specifies the code type for the circuit ID sub-option as hex. Description Use dhcp-snooping information circuit-id format-type to configure the code type for the non-user-defined circuit ID sub-option.

  • Page 61: Dhcp-snooping Information Enable

    Description Use dhcp-snooping information circuit-id string to configure the padding content for the user-defined circuit ID sub-option. Use undo dhcp-snooping information circuit-id string to restore the default. By default, the padding content for the circuit ID sub-option depends on the padding format of Option •...

  • Page 62: Dhcp-snooping Information Format

    dhcp-snooping information format Syntax dhcp-snooping information format { normal | private private | standard | verbose [ node-identifier { mac | sysname | user-defined node-identifier } ] } undo dhcp-snooping information format View Layer 2 Ethernet port view, Layer 2 aggregate interface view Default level 2: System level Parameters...

  • Page 63: Dhcp-snooping Information Remote-id Format-type

    dhcp-snooping information remote-id format-type Syntax dhcp-snooping information remote-id format-type { ascii | hex } undo dhcp-snooping information remote-id format-type View Layer 2 Ethernet port view, Layer 2 aggregate interface view Default level 2: System level Parameters ascii: Specifies the code type for the remote ID sub-option as ascii. hex: Specifies the code type for the remote ID sub-option as hex.

  • Page 64: Dhcp-snooping Information Strategy

    remote-id: Padding content for the user-defined circuit ID sub-option, a case-sensitive string of 1 to 63 characters. sysname: Specifies the device name as the padding content for the remote ID sub-option. Description Use dhcp-snooping information remote-id string to configure the padding content for the user-defined remote ID sub-option.

  • Page 65: Dhcp-snooping Information Sub-option

    replace: Forwards the message containing Option 82 after replacing the original Option 82 with the one padded in specified format. Description Use dhcp-snooping information strategy to configure the handling strategy for Option 82 in requesting messages. Use undo dhcp-snooping information strategy to restore the default. By default, the handling strategy for Option 82 in requesting messages is replace.

  • Page 66: Dhcp-snooping Trust

    strategy append command is the primary device and a device configured with some other strategy is a secondary device. After you use the string user-string option to configure sub-option 9, the device uses the ASCII code type to pad the characters into sub-option 9 in the order that they are configured. When the total length of all sub-options reaches 255, the device stops padding automatically.

  • Page 67: Display Dhcp-snooping

    display dhcp-snooping Syntax display dhcp-snooping [ ip ip-address ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters ip ip-address: Displays the DHCP snooping entries corresponding to the specified IP address. |: Filters command output by specifying a regular expression.

  • Page 68: Display Dhcp-snooping Binding Database

    Field Description Lease Lease period left (in seconds). Outer VLAN tag when DHCP snooping and QinQ are both enabled or the VLAN DHCP snooping device receives a packet with two VLAN tags, or VLAN where the port connecting the DHCP client resides. Inner VLAN tag when DHCP snooping and QinQ are both enabled or the SVLAN DHCP snooping device receives a packet with two VLAN tags, or N/A.

  • Page 69: Display Dhcp-snooping Information

    Field Description Latest write time Last time when the file is written. Status Indicates whether the file was written successfully last time. display dhcp-snooping information Syntax display dhcp-snooping information { all | interface interface-type interface-number } [ | { begin | exclude | include } regular-expression ] View Any view...

  • Page 70: Display Dhcp-snooping Packet Statistics

    Status: Disable Strategy: Keep Format: Normal Circuit ID format-type: HEX Remote ID format-type: ASCII User defined: Circuit ID: company001 Remote ID: device001 VLAN 10: Circuit ID: vlan10@company001 Sub-option 9: Enable Sub-option 9 content: group1 VLAN 20: Remote ID: device001 Sub-option 9: Enabled display dhcp-snooping packet statistics Syntax display dhcp-snooping packet statistics [ slot slot-number ] [ | { begin | exclude | include }...

  • Page 71: Display Dhcp-snooping Trust

    DHCP packets received : 100 DHCP packets sent : 200 Packets dropped due to rate limitation : 20 Dropped invalid packets display dhcp-snooping trust Syntax display dhcp-snooping trust [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level...

  • Page 72: Reset Dhcp-snooping Packet Statistics

    Default level 2: System level Parameters all: Clears all DHCP snooping entries. ip ip-address: Clears the DHCP snooping entries of the specified IP address. Description Use reset dhcp-snooping to clear DHCP snooping entries. Related commands: display dhcp-snooping. Examples # Clear all DHCP snooping entries. <Sysname>...

  • Page 73: Bootp Client Configuration Commands

    BOOTP client configuration commands BOOTP client configuration can only be used on VLAN interfaces. If several VLAN interfaces sharing the same MAC address obtain IP addresses through a BOOTP relay agent, the BOOTP server cannot be a Windows Server 2000 or Windows Server 2003. display bootp client Syntax display bootp client [ interface interface-type interface-number ] [ | { begin | exclude | include }...

  • Page 74: Ip Address Bootp-alloc

    Table 12 Command output Field Description Vlan-interface1 BOOTP client Information of the interface serving as a BOOTP client. information Allocated IP IP address assigned to the BOOTP client. Value of the XID field in a BOOTP message, which is a random number chosen when the BOOTP client sends a BOOTP request to the BOOTP server.

  • Page 75: Ipv4 Dns Configuration Commands

    IPv4 DNS configuration commands display dns domain Syntax display dns domain [ dynamic ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters dynamic: Displays the domain name suffixes dynamically obtained through DHCP or other protocols. |: Filters command output by specifying a regular expression.

  • Page 76: Display Dns Host

    display dns host Syntax display dns host [ ip | ipv6 | naptr | srv ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters ip: Displays the dynamic cache information of type A queries. A type A query resolves a domain name to the mapped IPv4 address.

  • Page 77: Display Dns Server

    Field Description Host Domain name for query. Time that a mapping can be stored in the cache (in seconds). Type Query type, including IP, IPv6, NAPTR, and SRV. Reply data concerning the query type: • For an IP query, the reply data is an IPv4 address. •...

  • Page 78: Display Ip Host

    Table 15 Command output Field Description Sequence number of the DNS server, configured automatically by the device, DNS Server starting from 1. Type of domain name server: S represents a statically configured DNS server, and Type D represents a DNS server obtained dynamically through DHCP. IP Address IPv4 address of the DNS server.

  • Page 79: Dns Domain

    Field Description Mapping type. Flags Static represents static IPv4 domain name resolution. Address Host IPv4 address. dns domain Syntax dns domain domain-name undo dns domain [ domain-name ] View System view Default level 2: System level Parameters domain-name: Domain name suffix, consisting of character strings separated by a dot (for example, aabbcc.com).

  • Page 80: Dns Resolve

    Default level 2: System level Parameters dscp-value: Specifies the DSCP value in DNS packets, in the range of 0 to 63. Description Use dns dscp to set the DSCP value for DNS packets. Use undo dns dscp to restore the default. By default, the DSCP value in DNS packets is 0.

  • Page 81: Dns Source-interface

    In interface view: dns server ip-address undo dns server ip-address View System view, interface view Default level 2: System level Parameters ip-address: Specifies the IPv4 address of the DNS server. Description Use dns server to specify a DNS server. Use undo dns server to remove DNS servers. No DNS server is specified by default.

  • Page 82: Ip Host

    Description Use dns source-interface to specify the source interface for DNS packets. Use undo dns source-interface to restore the default. By default, no source interface for DNS packets is specified. The device uses the primary IP address of the output interface of the matching route as the source IP address of a DNS request. The device uses the primary IP address of the specified source interface as the source IP address of a DNS request, which however is still forwarded through the output interface of the matching route.

  • Page 83

    View User view Default level 2: System level Parameters ip: Clears the dynamic cache information of type A queries. A type A query resolves a domain name to the mapped IPv4 address. ipv6: Clears the dynamic cache information of type AAAA queries. A type AAAA query resolves a domain name to the mapped IPv6 address.

  • Page 84: Ip Performance Optimization Configuration Commands

    IP performance optimization configuration commands display fib Syntax display fib [ vpn-instance vpn-instance-name ] [ acl acl-number | ip-prefix ip-prefix-name ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters vpn-instance vpn-instance-name: Displays the FIB entries of the specified VPN.

  • Page 85

    10.2.0.0/16 10.2.1.1 Vlan1 Null Invalid 10.2.1.1/32 127.0.0.1 InLoop0 Null Invalid 127.0.0.0/8 127.0.0.1 InLoop0 Null Invalid 127.0.0.1/32 127.0.0.1 InLoop0 Null Invalid # Display FIB information matching ACL 2000. <Sysname> system-view [Sysname] acl number 2000 [Sysname-acl-basic-2000] rule permit source 10.2.0.0 0.0.255.255 [Sysname-acl-basic-2000] display fib acl 2000 Destination count: 2 FIB entry count: 2 Flag:...

  • Page 86: Display Fib Ip-address

    Field Description Nexthop Next hop address Flags of routes: • U—Usable route • G—Gateway route • H—Host route Flag • B—Blackhole route • D—Dynamic route • S—Static route • R—Relay route OutInterface Outbound interface InnerLabel Inner label Token Link-state packet (LSP) index number display fib ip-address Syntax display fib [ vpn-instance vpn-instance-name ] ip-address [ mask | mask-length ] [ | { begin | exclude |...

  • Page 87: Display Icmp Statistics

    If no mask or mask length is specified, the FIB entry that matches the destination IP address and has the longest mask will be displayed. If the mask is specified, the FIB entry that exactly matches the specified destination IP address will be displayed. Examples # Display the FIB entries that match the destination IP address of 10.2.1.1.

  • Page 88: Display Ip Socket

    echo destination unreachable 0 source quench 0 redirects echo reply parameter problem timestamp information request mask requests 0 mask replies time exceeded 0 Output:echo destination unreachable 0 source quench 0 redirects echo reply parameter problem timestamp information reply mask requests 0 mask replies time exceeded 0 Table 18 Command output...

  • Page 89

    Parameters socktype sock-type: Displays the socket information of this type. The sock type is in the range of 1 to 3, corresponding to TCP, UDP, and raw IP. task-id: Displays the socket information of this task. Task ID is in the range of 1 to 255. socket-id: Displays the information of the socket.

  • Page 90

    Task = VTYD(38), socketid = 3, Proto = 6, LA = 192.168.1.40:23, FA = 192.168.1.84:1503, sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0, socket option = SO_KEEPALIVE SO_OOBINLINE SO_REUSEPORT SO_SETKEEPALIVE, socket state = SS_ISCONNECTED SS_PRIV SS_ASYNC Task = ROUT(69), socketid = 11, Proto = 6, LA = 192.168.1.40:1025, FA = 192.168.1.45:179, sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0,...

  • Page 91

    socket option = SO_SENDVPNID(0), socket state = SS_PRIV SS_ASYNC Task = ROUT(69), socketid = 3, Proto = 2, LA = 0.0.0.0, FA = 0.0.0.0, sndbuf = 32767, rcvbuf = 256000, sb_cc = 0, rb_cc = 0, socket option = SO_SENDVPNID(0), socket state = SS_PRIV SS_NBIO SS_ASYNC Task = ROUT(69), socketid = 2, Proto = 103, LA = 0.0.0.0, FA = 0.0.0.0,...

  • Page 92: Display Ip Statistics

    display ip statistics Syntax display ip statistics [ slot slot-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters slot slot-number: Displays the IP packet statistics on a specified IRF member switch. The slot-number argument specifies the ID of an IRF member switch.

  • Page 93: Display Tcp Statistics

    Field Description bad protocol Total number of unknown protocol packets bad format Total number of packets with incorrect format bad checksum Total number of packets with incorrect checksum bad options Total number of packets with incorrect option forwarding Total number of packets forwarded local Total number of packets sent from the local Output:...

  • Page 94

    Examples # Display statistics of TCP traffic. <Sysname> display tcp statistics Received packets: Total: 8457 packets in sequence: 3660 (5272 bytes) window probe packets: 0, window update packets: 0 checksum error: 0, offset error: 0, short error: 0 duplicate packets: 1 (8 bytes), partially duplicate packets: 0 (0 bytes) out-of-order packets: 17 (0 bytes) packets of data after window: 0 (0 bytes) packets received after close: 0...

  • Page 95: Display Udp Statistics

    Field Description out-of-order packets Number of out-of-order packets received. packets of data after window Number of packets outside the receiving window. packets received after close Number of packets that arrived after connection is closed. ACK packets Number of ACK packets received. duplicate ACK packets Number of duplicate ACK packets received.

  • Page 96

    Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.

  • Page 97: Ip Forward-broadcast (interface View)

    ip forward-broadcast (interface view) Syntax ip forward-broadcast [ acl acl-number ] undo ip forward-broadcast View Interface view Default level 2: System level Parameters acl acl-number: Specifies the ACL number, in the range of 2000 to 3999. Numbers between 2000 and 2999 are for basic ACLs, and between 3000 and 3999 are for advanced ACLs.

  • Page 98: Ip Redirects Enable

    By default, the switch is disabled from receiving directed broadcast. Examples # Enable the switch to receive directed broadcasts. <Sysname> system-view [Sysname] ip forward-broadcast ip redirects enable Syntax ip redirects enable undo ip redirects View System view Default level 2: System level Parameters None Description...

  • Page 99: Ip Unreachables Enable

    Sending ICMP timeout packets is disabled by default. If the feature is disabled, the device will not send TTL timeout ICMP packets, but still send "reassembly timeout" ICMP packets. Examples # Enable sending of ICMP timeout packets. <Sysname> system-view [Sysname] ip ttl-expires enable ip unreachables enable Syntax ip unreachables enable...

  • Page 100: Reset Tcp Statistics

    Description Use reset ip statistics to clear statistics of IP packets. Related commands: display ip statistics and display ip interface. Examples # Clear statistics of IP packets. <Sysname> reset ip statistics reset tcp statistics Syntax reset tcp statistics View User view Default level 1: Monitor level Parameters...

  • Page 101: Tcp Path-mtu-discovery

    tcp path-mtu-discovery Syntax tcp path-mtu-discovery [ aging minutes | no-aging ] undo tcp path-mtu-discovery View System view Default level 2: System level Parameters aging minutes: Specifies the aging time of the path MTU, in the range of 10 to 30 minutes. The default aging time is 10 minutes.

  • Page 102: Tcp Timer Syn-timeout

    The actual length of the finwait timer is determined by the following formula: Actual length of the finwait timer = (Configured length of the finwait timer – 75) + configured length of the synwait timer Related commands: tcp timer syn-timeout and tcp window. Examples # Set the length of the TCP finwait timer to 800 seconds.

  • Page 103

    Parameters window-size: Specifies the size of the send/receive buffer in KB, in the range of 1 to 32. Description Use tcp window to configure the size of the TCP send/receive buffer. Use undo tcp window to restore the default. The size of the TCP send/receive buffer is 8 KB by default. Related commands: tcp timer fin-timeout and tcp timer syn-timeout.

  • Page 104: Udp Helper Configuration Commands

    UDP helper configuration commands display udp-helper server Syntax display udp-helper server [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 2: System level Parameters interface interface-type interface-number: Displays information of forwarded UDP packets on a specified interface.

  • Page 105: Udp-helper Enable

    View User view Default level 1: Monitor level Parameters None Description Use reset udp-helper packet to clear the statistics of forwarded UDP packets. Related commands: display udp-helper server. Examples # Clear the statistics of the forwarded UDP packets. <Sysname> reset udp-helper packet udp-helper enable Syntax udp-helper enable...

  • Page 106: Udp-helper Server

    View System view Default level 2: System level Parameters port-number: Specifies the UDP port number with which packets need to be forwarded, in the range of 1 to 65535 (except 67 and 68). dns: Forwards DNS data packets. The corresponding UDP port number is 53. netbios-ds: Forwards NetBIOS data packets.

  • Page 107

    Description Use udp-helper server to specify the destination server to which UDP packets are forwarded. Use undo udp-helper server to remove the destination server. No destination server is configured by default. You can configure up to 20 destination servers on an interface. Without the ip-address argument, the undo udp-helper server command removes all the destination servers on an interface.

  • Page 108: Ipv6 Basics Configuration Commands

    IPv6 basics configuration commands display ipv6 fib Syntax display ipv6 fib [ acl6 acl6-number | ipv6-prefix ipv6-prefix-name ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters acl6 acl6-number: Displays the IPv6 FIB entries permitted by a specified ACL. The ACL number is in the range of 2000 to 2999.

  • Page 109: Display Ipv6 Fib Ipv6-address

    Interface InLoopBack0 Table 23 Command output Field Description Total number of Routes Total number of routes in the FIB Destination Destination address PrefixLength Prefix length of the destination address NextHop Next hop Route flag: • U—Usable route • G—Gateway route •...

  • Page 110: Display Ipv6 Interface

    With the prefix-length argument specified, this command displays the IPv6 FIB entry exactly matching the specified destination IPv6 address and prefix length. Examples # Display the matching IPv6 FIB entry with the longest prefix. <Sysname> display ipv6 fib ::1 Flag: U:Useable G:Gateway H:Host...

  • Page 111

    interface-number: Interface number. brief: Displays the brief IPv6 information of an interface. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.

  • Page 112

    ReasmOKs: InFragDrops: InFragTimeouts: OutFragFails: InUnknownProtos: InDelivers: OutRequests: OutForwDatagrams: InNoRoutes: InTooBigErrors: OutFragOKs: OutFragCreates: InMcastPkts: InMcastNotMembers: OutMcastPkts: InAddrErrors: InDiscards: OutDiscards: Table 25 Command output Field Description Physical state of the interface: • Administratively DOWN—The VLAN interface is administratively down. The interface is shut down by using the shutdown command. •...

  • Page 113

    Field Description Whether Duplicate Address Detection (DAD) is enabled. In this example, DAD is enabled. • If DAD is enabled, the number of attempts to send a Neighbor ND DAD is enabled, number of Solicitation (NS) message for DAD (configured by using the ipv6 nd DAD attempts dad attempts command) is also displayed.

  • Page 114

    Field Description Incoming IPv6 multicast packets that were discarded because the InMcastNotMembers interface did not belong to the corresponding multicast groups. OutMcastPkts IPv6 multicast packets sent by the interface. InAddrErrors IPv6 packets that were discarded due to invalid destination addresses. Received IPv6 packets that were discarded due to resource problems InDiscards rather than packet content errors.

  • Page 115: Display Ipv6 Neighbors

    display ipv6 neighbors Syntax display ipv6 neighbors { { ipv6-address | all | dynamic | static } [ slot slot-number ] | interface interface-type interface-number | vlan vlan-id } [ | { begin | exclude | include } regular-expression ] View Any view Default level...

  • Page 116: Display Ipv6 Neighbors Count

    Table 27 Command output Field Description IPv6 Address IPv6 address of a neighbor. Link-layer Link layer address (MAC address) of a neighbor. VLAN to which the interface connected with a neighbor belongs. Interface Interface connected with a neighbor. State of a neighbor: •...

  • Page 117: Display Ipv6 Pathmtu

    interface interface-type interface-number: Displays the total number of neighbor entries of a specified interface. vlan vlan-id: Displays the total number of neighbor entries of a specified VLAN whose ID ranges from 1 to 4094. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

  • Page 118: Display Ipv6 Socket

    Description Use display ipv6 pathmtu to display the IPv6 path MTU information. Examples # Display all path MTU information. <Sysname> display ipv6 pathmtu all IPv6 Destination Address ZoneID PathMTU Type fe80::12 1300 Dynamic 2222::3 1280 Static Table 28 Command output Field Description IPv6 Destination Address...

  • Page 119

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display ipv6 socket to display socket information. With no parameter specified, this command displays the information about all the sockets; with only the socket type specified, the command displays the information about sockets of the specified type; with the socket type, task ID and socket ID specified, the command displays the information about the specified socket.

  • Page 120: Display Ipv6 Statistics

    Field Description SOCK_DGRAM UDP socket. SOCK_RAW Raw IP socket. Task Task name and ID of the created socket. socketid ID assigned by the kernel to the created socket. Proto Protocol type. For example, 6 indicates TCP and 17 indicates UDP. Local address and local port number.

  • Page 121

    Description Use display ipv6 statistics to display statistics of IPv6 packets and ICMPv6 packets. You can use the reset ipv6 statistics command to clear all IPv6 and ICMPv6 packet statistics. Examples # Display the statistics of IPv6 packets and ICMPv6 packets. <Sysname>...

  • Page 122

    redirected: router renumbering: unknown info type: Deliver failed: bad length: ratelimited: Table 30 Command output Field Description IPv6 Protocol: Statistics of IPv6 packets Statistics of sent IPv6 packets: • Total number of packets sent and forwarded locally Sent packets: • Number of packets sent locally Total: •...

  • Page 123

    Field Description Statistics of sent ICMPv6 packets: • Total number of sent packets • Number of Destination Unreachable packets • Number of Packet Too Big packets Sent packets: • Number of Hop Limit Exceeded packets Total: • Number of Fragment Reassembly Time Exceeded unreached: 0 too big: packets...

  • Page 124: Display Tcp Ipv6 Statistics

    display tcp ipv6 statistics Syntax display tcp ipv6 statistics [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

  • Page 125

    Retransmitted timeout: 0, connections dropped in retransmitted timeout: 0 Keepalive timeout: 0, keepalive probe: 0, Keepalive timeout, so connections disconnected : Initiated connections: 0, accepted connections: 0, established connections: 0 Closed connections: 0 (dropped: 0, initiated dropped: 0) Packets dropped with MD5 authentication: 0 Packets permitted with MD5 authentication: 0 Table 31 Command output Field...

  • Page 126: Display Tcp Ipv6 Status

    Field Description keepalive probe Number of keepalive probes Number of connections dropped because of keepalive Keepalive timeout, so connections disconnected response timeout Initiated connections Number of initiated connections accepted connections Number of accepted connections established connections Number of established connections Closed connections Number of closed connections Number of dropped connections (after SYN is received...

  • Page 127: Display Udp Ipv6 Statistics

    Table 32 Command output Field Description The asterisk (*) indicates that the TCP6 connection is secured with *: TCP6 MD5 Connection MD5 authentication. TCP6CB IPv6 TCP control block address (hexadecimal). Local Address Local IPv6 address. Foreign Address Remote IPv6 address. IPv6 TCP connection status: •...

  • Page 128: Ipv6

    <Sysname> display udp ipv6 statistics Received packets: Total: 0 checksum error: 0 shorter than header: 0, data length larger than packet: 0 unicast(no socket on port): 0 broadcast/multicast(no socket on port): 0 not delivered, input socket full: 0 input packets missing pcb cache: 0 Sent packets: Total: 0 Table 33 Command output...

  • Page 129: Ipv6 Address

    By default, IPv6 is disabled. Examples # Enable IPv6. <Sysname> system-view [Sysname] ipv6 ipv6 address Syntax ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length } undo ipv6 address [ ipv6-address prefix-length | ipv6-address/prefix-length ] View Interface view Default level 2: System level Parameters ipv6-address: Specifies the IPv6 address.

  • Page 130: Ipv6 Address Auto

    View Interface view Default level 2: System level Parameters ipv6-address/prefix-length: Specifies an IPv6 anycast address and its prefix length. The prefix length ranges 1 to 128. Description Use ipv6 address anycast to configure an IPv6 anycast address for an interface. Use undo ipv6 address anycast to remove the IPv6 anycast address from the interface.

  • Page 131: Ipv6 Address Auto Link-local

    [Sysname-Vlan-interface100] ipv6 address auto ipv6 address auto link-local Syntax ipv6 address auto link-local undo ipv6 address auto link-local View Interface view Default level 2: System level Parameters None Description Use ipv6 address auto link-local to automatically generate a link-local address for an interface. Use undo ipv6 address auto link-local to remove the automatically generated link-local address for the interface.

  • Page 132: Ipv6 Address Link-local

    undo ipv6 address ipv6-address/prefix-length eui-64 View Interface view Default level 2: System level Parameters ipv6-address/prefix-length: IPv6 address and IPv6 prefix. The ipv6-address and prefix-length arguments jointly specify the prefix of an EUI-64 IPv6 address. Description Use ipv6 address eui-64 to configure an EUI-64 IPv6 address for an interface. Use undo ipv6 address eui-64 to remove the configured EUI-64 IPv6 address for the interface.

  • Page 133: Ipv6 Hoplimit-expires Enable

    generated link-local address will not take effect and the link-local address of an interface is still the manually assigned one. If you delete the manually assigned address, the automatically generated link-local address is validated. For automatic generation of an IPv6 link-local address, see the ipv6 address auto link-local command.

  • Page 134: Ipv6 Icmpv6 Multicast-echo-reply Enable

    Parameters bucket bucket-size: Number of tokens in the token bucket, in the range of 1 to 200. ratelimit interval: Update period of the token bucket in milliseconds, in the range of 0 to 2,147,483,647. The update period "0" indicates that the number of ICMPv6 error packets sent is not restricted. Description Use ipv6 icmp-error to configure the size and update period of the token bucket.

  • Page 135: Ipv6 Nd Autoconfig Other-flag

    View Interface view Default level 2: System level Parameters None Description Use ipv6 nd autoconfig managed-address-flag to set the managed address configuration (M) flag to 1 so that the host can acquire an IPv6 address through stateful autoconfiguration (for example, from a DHCP server).

  • Page 136: Ipv6 Nd Dad Attempts

    [Sysname-Vlan-interface100] undo ipv6 nd autoconfig other-flag ipv6 nd dad attempts Syntax ipv6 nd dad attempts value undo ipv6 nd dad attempts View Interface view Default level 2: System level Parameters value: Specifies the number of attempts to send an NS message for DAD, in the range of 0 to 600. The default value is 1.

  • Page 137: Ipv6 Nd Ns Retrans-timer

    By default, the hop limit advertised by the device is 64. Examples # Set the hop limit advertised by the device to 100. <Sysname> system-view [Sysname] ipv6 nd hop-limit 100 ipv6 nd ns retrans-timer Syntax ipv6 nd ns retrans-timer value undo ipv6 nd ns retrans-timer View Interface view...

  • Page 138: Ipv6 Nd Ra Halt

    Default level 2: System level Parameters value: Specifies the neighbor reachable time in milliseconds, in the range of 1 to 3600000. Description Use ipv6 nd nud reachable-time to configure the neighbor reachable time on an interface. This time value serves as not only the neighbor reachable time on the local interface, but also the value of the Reachable Time field in RA messages sent by the local interface.

  • Page 139: Ipv6 Nd Ra Interval

    ipv6 nd ra interval Syntax ipv6 nd ra interval max-interval-value min-interval-value undo ipv6 nd ra interval View Interface view Default level 2: System level Parameters max-interval-value: Specifies the maximum interval for advertising RA messages in seconds, in the range of 4 to 1800. min-interval-value: Specifies the minimum interval for advertising RA messages in seconds, in the range of 3 to 1350.

  • Page 140: Ipv6 Nd Ra Prefix

    Parameters None Description Use ipv6 nd ra no-advlinkmtu to turn off the MTU option in RA messages. Use undo ipv6 nd ra no-advlinkmtu to restore the default. By default, RA messages contain the MTU option. Examples # Turn off the MTU option in RA messages on VLAN-interface 100. <Sysname>...

  • Page 141: Ipv6 Nd Ra Router-lifetime

    <Sysname> system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] ipv6 nd ra prefix 2001:10::100/64 100 10 ipv6 nd ra router-lifetime Syntax ipv6 nd ra router-lifetime value undo ipv6 nd ra router-lifetime View Interface view Default level 2: System level Parameters value: Specifies the router lifetime in seconds, in the range of 0 to 9000. When it is set to 0, the device does not serve as the default router.

  • Page 142: Ipv6 Neighbor Stale-aging

    mac-address: Specifies the MAC address of the static neighbor entry (48 bits long, in the format of H-H-H). vlan-id: Specifies the VLAN ID of the static neighbor entry, in the range of 1 to 4094. port-type port-number: Specifies a Layer 2 port of the static neighbor entry by its type and number . interface interface-type interface-number: Specifies a Layer 3 interface of the static neighbor entry by its type and number.

  • Page 143: Ipv6 Neighbors Max-learning-num

    Examples # Set the age timer for ND entries in stale state to two hours. <Sysname> system-view [Sysname] ipv6 neighbor stale-aging 2 ipv6 neighbors max-learning-num Syntax ipv6 neighbors max-learning-num number undo ipv6 neighbors max-learning-num View Layer 2 Ethernet port view, VLAN interface view, Layer 2 aggregate interface view Default level 2: System level Parameters...

  • Page 144: Ipv6 Pathmtu Age

    Description Use ipv6 pathmtu to configure a static path MTU for a specified IPv6 address. Use undo ipv6 pathmtu to remove the path MTU configuration for a specified IPv6 address. By default, no static path MTU is configured. Examples # Configure a static path MTU for a specified IPv6 address. <Sysname>...

  • Page 145: Reset Ipv6 Neighbors

    Default level 2: System level Parameters None Description Use ipv6 unreachables enable to enable sending of ICMPv6 destination unreachable packets. Use undo ipv6 unreachables to disable sending of ICMPv6 destination unreachable packets. By default, sending of ICMPv6 destination unreachable packets is disabled. Examples # Enable sending of ICMPv6 destination unreachable packets.

  • Page 146: Reset Ipv6 Pathmtu

    # Clear all neighbor information on GigabitEthernet 1/0/1. <Sysname> reset ipv6 neighbors interface GigabitEthernet 1/0/1 reset ipv6 pathmtu Syntax reset ipv6 pathmtu { all | static | dynamic } View User view Default level 2: System level Parameters all: Clears all path MTUs. static: Clears all static path MTUs.

  • Page 147: Reset Tcp Ipv6 Statistics

    reset tcp ipv6 statistics Syntax reset tcp ipv6 statistics View User view Default level 1: Monitor level Parameters None Description Use reset tcp ipv6 statistics to clear the statistics of all IPv6 TCP connections. You can use the display tcp ipv6 statistics command to display the statistics of IPv6 TCP connections. Examples # Clear the statistics of all IPv6 TCP connections.

  • Page 148: Tcp Ipv6 Timer Syn-timeout

    View System view Default level 2: System level Parameters wait-time: Specifies the finwait timer for IPv6 TCP connections in seconds, in the range of 76 to 3600. Description Use tcp ipv6 timer fin-timeout to set the finwait timer for IPv6 TCP connections. Use undo tcp ipv6 timer fin-timeout to restore the default.

  • Page 149

    View System view Default level 2: System level Parameters size: Specifies the size of the IPv6 TCP send/receive buffer in KB (kilobyte), in the range of 1 to 32. Description Use tcp ipv6 window to set the size of the IPv6 TCP send/receive buffer. Use undo tcp ipv6 window to restore the default.

  • Page 150: Dhcpv6 Configuration Commands

    DHCPv6 configuration commands DHCPv6 common configuration commands display ipv6 dhcp duid Syntax display ipv6 dhcp duid [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

  • Page 151: Display Ipv6 Dhcp Relay Statistics

    Parameters all: Displays all DHCPv6 server address information. interface interface-type interface-number: Displays DHCPv6 server address information of the specified interface. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.

  • Page 152

    View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.

  • Page 153: Ipv6 Dhcp Dscp

    Field Description Excess of rate limit Number of packets discarded due to excess of rate limit Packets received Number of received packets SOLICIT Number of received solicit packets REQUEST Number of received request packets CONFIRM Number of received confirm packets RENEW Number of received renew packets REBIND...

  • Page 154: Ipv6 Dhcp Relay Server-address

    <Sysname> system-view [Sysname] ipv6 dhcp dscp 30 ipv6 dhcp relay server-address Syntax ipv6 dhcp relay server-address ipv6-address [ interface interface-type interface-number ] undo ipv6 dhcp relay server-address ipv6-address [ interface interface-type interface-number ] View Interface view Default level 2: System level Parameters ipv6-address: Specifies the IPv6 address of the DHCPv6 server.

  • Page 155: Reset Ipv6 Dhcp Relay Statistics

    reset ipv6 dhcp relay statistics Syntax reset ipv6 dhcp relay statistics View User view Default level 1: Monitor level Parameters None Description Use reset ipv6 dhcp relay statistics to clear packets statistics on the DHCPv6 relay agent. After this command is executed, the packets statistics is displayed as 0 when you use the display ipv6 dhcp relay statistics command.

  • Page 156: Display Ipv6 Dhcp Client Statistics

    Description Use display ipv6 dhcp client to display DHCPv6 client information. With no parameters specified, the DHCPv6 client information of all the interfaces is displayed. Examples # Display the DHCPv6 client information of VLAN-interface 2. <Sysname> display ipv6 dhcp client interface vlan-interface 2 Vlan-interface2 is in stateless DHCPv6 client mode State is OPEN Preferred Server:...

  • Page 157

    Default level 1: Monitor level Parameters interface interface-type interface-number: Displays the DHCPv6 client statistics of a specified interface. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.

  • Page 158: Ipv6 Dhcp Client Dscp

    Field Description Packets Sent Number of sent packets Solicit Number of sent solicit packets Request Number of sent request packets Confirm Number of sent confirm packets Renew Number of sent renew packets Rebind Number of sent rebind packets Information-request Number of sent information request packets Release Number of sent release packets Decline...

  • Page 159

    Default level 1: Monitor level Parameters interface interface-type interface-number: Clears DHCPv6 client statistics of a specified interface. Description Use reset ipv6 dhcp client statistics to clear DHCPv6 client statistics. With no parameters specified, DHCPv6 client statistics of all the interfaces is cleared. After this command is executed, the packets statistics is displayed as 0 when you use the display ipv6 dhcp client statistics command.

  • Page 160: Tunneling Configuration Commands

    Tunneling configuration commands default Syntax default View Tunnel interface view Default level 2: System level Parameters None Description CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this command when you perform it on a live network. Use default to restore the default settings for the tunnel interface.

  • Page 161: Destination

    Parameters text: Description of an interface, a string of 1 to 80 characters. Description Use description to configure a description for the current interface. Use undo description to restore the default. By default, the description of a tunnel interface is Tunnelnumber Interface, for example, Tunnel1 Interface.

  • Page 162: Display Interface Tunnel

    <Sysname1> system-view [Sysname1] interface tunnel 0 [Sysname1-Tunnel0] source 193.101.1.1 [Sysname1-Tunnel0] destination 192.100.1.1 <Sysname2> system-view [Sysname2] interface tunnel 1 [Sysname2-Tunnel1] source 192.100.1.1 [Sysname2-Tunnel1] destination 193.101.1.1 display interface tunnel Syntax display interface [ tunnel ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ] display interface tunnel number [ brief ] [ | { begin | exclude | include } regular-expression ] View Any view...

  • Page 163

    Tunnel0 current state: UP Line protocol current state: UP Description: Tunnel0 Interface The Maximum Transmit Unit is 1476 Internet Address is 58.0.0.1/24 Primary Encapsulation is TUNNEL, service-loopback-group ID is 1. Tunnel source 20.0.0.2 (Vlan-interface2000), destination 20.0.0.1 Tunnel bandwidth 64 (kbps) Tunnel protocol/transport IP/IP Last clearing of counters: Never...

  • Page 164

    Field Description Tunnel mode and transport protocol: • IP/IP—IPv4 over IPv4 tunnel mode. • IP/IPv6—IPv4 over IPv6 tunnel mode. • Tunnel protocol/transport IPv6/IP—IPv6 over IPv4 manual tunnel mode. • IPv6/IP 6to4—IPv6 over IPv4 6to4 tunnel mode. • IPv6/IP ISATAP—IPv6 over IPv4 ISATAP tunnel mode. •...

  • Page 165: Display Ipv6 Interface Tunnel

    Field Description Physical link state of the interface: • UP—The link is up. Link • DOWN—The link is down. • ADM—The link has been administratively shut down. To bring it up, perform the undo shutdown command. Protocol state: • Protocol DOWN—The protocol is disabled.

  • Page 166

    IPv6 is enabled, link-local address is FE80::202:201 Global unicast address(es): 3000::1, subnet is 3000::/64 Joined group address(es): FF02::1:FF02:201 FF02::1:FF00:1 FF02::1:FF00:0 FF02::2 FF02::1 MTU is 1480 bytes ND reachable time is 30000 milliseconds ND retransmit interval is 1000 milliseconds Hosts use stateless autoconfig for addresses IPv6 Packet statistics: InReceives: InTooShorts:...

  • Page 167

    Table 40 Command output Field Description Physical state of the tunnel interface: • Administratively DOWN—The interface is administratively down. That is, the interface is shut down with the shutdown command. Tunnel0 current state • DOWN—The interface is administratively up but its physical state is down.

  • Page 168

    Field Description OutRequests Local IPv6 packets sent by IPv6 application protocols. OutForwDatagrams Packets forwarded by the outbound interface. IPv6 packets that were discarded because no matched route can be InNoRoutes found. IPv6 packets that were received normally but discarded before they were InTooBigErrors forwarded because they exceeded the PMTU.

  • Page 169: Encapsulation-limit

    Field Description IPv6 address of the tunnel interface. Only the first of configured IPv6 addresses is IPv6 Address displayed. If no address is configured for the interface, Unassigned is displayed. encapsulation-limit Syntax encapsulation-limit [ number ] undo encapsulation-limit View Tunnel interface view Default level 2: System level Parameters...

  • Page 170: Mtu

    Description Use interface tunnel to create a tunnel interface and enter its view. Use undo interface tunnel to delete a specific tunnel interface. By default, no tunnel interface is created on the device. Use the interface tunnel command to enter the interface view of a specific tunnel. If the specified tunnel interface does not exist, the system will create the interface and enter its view.

  • Page 171: Service-loopback-group

    View User view Default level 2: System level Parameters number: Specifies the tunnel interface number. Description Use reset counters interface to clear the statistics of tunnel interfaces. Before sampling network traffic within a specific period of time on an interface, you need to clear the existing statistics.

  • Page 172: Shutdown

    Examples # Create service loopback group 1 of tunnel type. <Sysname> system-view [Sysname] service-loopback group 1 type tunnel # Add a Layer 2 Ethernet port to service loopback group 1. [Sysname] interface GigabitEthernet 1/0/1 [Sysname-GigabitEthernet1/0/1] undo stp enable [Sysname-GigabitEthernet1/0/1] undo lldp enable [Sysname-GigabitEthernet1/0/1] port service-loopback group 1 [Sysname-GigabitEthernet1/0/1] quit # Reference service loopback group 1 on interface Tunnel 2.

  • Page 173: Tunnel Bandwidth

    Default level 2: System level Parameters ip-address: Specifies the tunnel source IPv4 address. ipv6-address: Specifies the tunnel source IPv6 address. interface-type interface-number: Specifies an source interface by its type and number. Description Use source to specify the source address or interface of the tunnel interface. Use undo source to remove the configured source address or interface of the tunnel interface.

  • Page 174: Tunnel Discard Ipv4-compatible-packet

    Description Use tunnel bandwidth to set the bandwidth of the tunnel interface. Use undo tunnel bandwidth to restore the default. By default, the bandwidth of the tunnel interface is 64 kbps. The tunnel interface bandwidth set with the tunnel bandwidth command is for dynamical routing protocols to calculate the cost of a tunnel path, rather than changes the bandwidth of the tunnel interface.

  • Page 175

    undo tunnel-protocol View Tunnel interface view Default level 2: System level Parameters ipv4-ipv4: Specifies the IPv4 over IPv4 tunnel mode. ipv4-ipv6: Specifies the IPv4 over IPv6 tunnel mode. ipv6-ipv4: Specifies the IPv6 over IPv4 manual tunnel mode. ipv6-ipv4 6to4: Specifies the IPv6 over IPv4 6to4 tunnel mode. ipv6-ipv4 isatap: Specifies the IPv6 over IPv4 ISATAP tunnel mode.

  • Page 176: Support And Other Resources

    Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.com/support Before contacting HP, collect the following information: Product model names and numbers • • Technical support registration number (if applicable) Product serial numbers •...

  • Page 177: Conventions

    Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. Square brackets enclose syntax choices (keywords or arguments) that are optional. Braces enclose a set of required syntax choices separated by vertical bars, from which { x | y | ...

  • Page 178

    Network topology icons Represents a generic network device, such as a router, switch, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features.

  • Page 179: Index

    Index A D E G I L M P R S T U W dhcp-snooping check request-message,52 dhcp-snooping information circuit-id format-type,52 arp check enable,1 dhcp-snooping information circuit-id string,53 max-learning-num,1 dhcp-snooping information enable,54 send-gratuitous-arp,9 dhcp-snooping information format,55 static,2 dhcp-snooping information remote-id format-type,56 arp timer aging,3...

  • Page 180

    display ip interface brief,19 ip forward-broadcast (system view),90 display ip socket,81 host,75 display ip statistics,85 ip redirects enable,91 display ipv6 dhcp client,148 ip ttl-expires enable,91 display ipv6 dhcp client statistics,149 ip unreachables enable,92 display ipv6 dhcp duid,143 ipv6,121 display ipv6 dhcp relay server-address,143 ipv6 address,122...

  • Page 181

    reset arp,8 source,165 reset arp-snooping,16 Subscription service,169 reset counters interface,163 reset dhcp relay statistics,43 tcp ipv6 timer fin-timeout,140 reset dhcp-snooping,64 tcp ipv6 timer syn-timeout,141 reset dhcp-snooping packet statistics,65 tcp ipv6 window,141 reset dns host,75 path-mtu-discovery,94 reset ip statistics,92 tcp timer fin-timeout,94 reset ipv6 dhcp client statistics,151...

Comments to this Manuals

Symbols: 0
Latest comments: