HP 830 Command Reference Manual

HP 830 Command Reference Manual

Unified wired-wlan products
Hide thumbs Also See for 830:
Table of Contents

Advertisement

HP Unified Wired-WLAN Products
Layer 2 Command Reference
HP 830 Unified Wired-WLAN PoE+ Switch Series
HP 850 Unified Wired-WLAN Appliance
HP 870 Unified Wired-WLAN Appliance
HP 11900/10500/7500 20G Unified Wired-WLAN Module
Part number: 5998-6502
Software version:
R3507P26 (HP 830 PoE+ Switch Series)
R2607P26 (HP 850 Appliance)
R2607P26 (HP 870 Appliance)
R2507P27 (HP 11900/10500/7500 20G Module)
Document version: 6W102-20140818

Advertisement

Table of Contents
loading

Summary of Contents for HP 830

  • Page 1 HP Unified Wired-WLAN Products Layer 2 Command Reference HP 830 Unified Wired-WLAN PoE+ Switch Series HP 850 Unified Wired-WLAN Appliance HP 870 Unified Wired-WLAN Appliance HP 11900/10500/7500 20G Unified Wired-WLAN Module Part number: 5998-6502 Software version: R3507P26 (HP 830 PoE+ Switch Series)
  • Page 2 The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an...
  • Page 3: Table Of Contents

    Contents Ethernet interface configuration commands ··············································································································· 1 General Ethernet interface configuration commands ···································································································· 1 combo enable ··························································································································································· 1 default ········································································································································································ 2 description ································································································································································· 2 display interface ······················································································································································· 3 duplex ····································································································································································· 11 flow-interval ···························································································································································· 12 interface ·································································································································································· 12 jumboframe enable ··············································································································································· 13 loopback internal···················································································································································...
  • Page 4 port hybrid pvid ····················································································································································· 47 port hybrid vlan ····················································································································································· 48 port link-type ·························································································································································· 49 port trunk permit vlan ············································································································································ 50 port trunk pvid ······················································································································································· 52 MAC-based VLAN configuration commands ·············································································································· 53 display mac-vlan ···················································································································································· 53 display mac-vlan interface ···································································································································· 54 mac-vlan enable ····················································································································································...
  • Page 5 ·········································································································································· 122 lldp timer tx-delay ················································································································································ 123 lldp timer tx-interval ············································································································································· 124 lldp tlv-enable ······················································································································································· 124 Support and other resources ·································································································································· 127 Contacting HP ······························································································································································ 127 Subscription service ············································································································································ 127 Related information ······················································································································································ 127 Documents ···························································································································································· 127 Websites ······························································································································································· 127 Conventions ··································································································································································...
  • Page 6: Ethernet Interface Configuration Commands

    Support for this command depends on the device model. For more information, see About the Command References for HP Unified Wired-WLAN Products. Examples # Activate the copper combo port of combo interface GigabitEthernet 1/0/1.
  • Page 7: Default

    default Use default to restore the default settings for an Ethernet interface. Syntax default Views Ethernet interface view Default command level 2: System level Usage guidelines CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this command when you use it in a live network.
  • Page 8: Display Interface

    Parameters text: Specifies the interface description, a case-sensitive string of 1 to 80 characters. When you specify a description, follow these guidelines: Each Unicode character takes the space of two regular characters. • To use Unicode characters or symbols in an interface description, install a specific IME and log in •...
  • Page 9 regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Usage guidelines If no interface type is specified, this command displays information about all interfaces. If an interface type is specified but no interface number is specified, this command displays information about all interfaces of the specified type.
  • Page 10 Table 1 Command output Field Description Physical state of the Ethernet interface. For more information, see Table GigabitEthernet1/0/1 current state IP Packet Frame Type Ethernet framing format on the interface. Loopback Loopback testing status of the interface. The interface is operating at 1000 Mbps. This field displays Unknown-speed mode when the interface is 1000Mbps-speed mode disconnected from the peer with which it will automatically negotiate a...
  • Page 11 Field Description Input (total): 21322 packets, Inbound traffic statistics (in packets and bytes) for the interface. All 1748554 bytes inbound normal and abnormal packets (including unicast, broadcast, 68235 unicasts, 4718 and multicast), and pause frames were counted. broadcasts, 7852 multicasts, - pauses Input (normal): 21322 packets, - bytes Inbound normal traffic (including unicast, broadcast, and multicast)
  • Page 12 Field Description Number of inbound frames dropped because the receive buffer of the ignored port ran low. - parity errors Total number of frames with parity errors. Output (total): 1502 packets, Outbound traffic statistics (in packets and bytes) for the port. All 138924 bytes outbound normal and abnormal packets (including unicast, broadcast, - unicasts, 2 broadcasts, 406...
  • Page 13 Field Description DOWN ( OAM connection The interface is down because an OAM connection failed to be established on failure ) it or the OAM connection is disconnected. DOWN ( DLDP connection The interface is down because a DLDP connection failed to be established on failure ) it or the DLDP connection is disconnected.
  • Page 14 XGE1/0/2 auto When you use the begin keyword to filter the output, the system only searches the Layer 2 interface list. # Display brief information about all UP interfaces. <Sysname> display interface brief | include UP The brief information of interface(s) under route mode: Link: ADM - administratively down;...
  • Page 15 Field Description Link layer state of the interface: • Link: ADM - ADM—The interface has been shut down by the network administrator. To administratively down; recover its physical layer state, use the undo shutdown command. Stby - standby • Stby—The interface is a standby interface. You can use the display standby state command to check the corresponding primary interface.
  • Page 16: Duplex

    Field Description Link type of the interface: • A—Access. Type • H—Hybrid. • T—Trunk. PVID Port VLAN ID. Table 4 Causes for the physical state of an interface to be DOWN Field Description No physical connection exists (possibly because the network cable is Not connected disconnected or faulty).
  • Page 17: Flow-Interval

    Sets the interface to operate in full duplex mode. Usage guidelines Support for this command varies with device models. For more information, see About the Command References for HP Unified Wired-WLAN Products. Examples # Configure interface Ten-GigabitEthernet 1/0/1 to operate in autonegotiation mode.
  • Page 18: Jumboframe Enable

    Views System view Default command level 2: System level Parameters interface-type: Specifies an interface type. interface-number: Specifies an interface number. Examples # Enter Ten-GigabitEthernet 1/0/1 interface view (assuming that the interface is a Layer 2 Ethernet interface). <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] jumboframe enable Use jumboframe enable to allow jumbo frames within the specified length to pass through an Ethernet...
  • Page 19: Loopback Internal

    [Sysname-port-group-manual-group1] group-member Ten-gigabitethernet 1/0/1 to Ten-Gig abitEthernet 1/0/2 [Sysname-port-group-manual-group1] jumboframe enable # Enable jumbo frames to pass through Ten-GigabitEthernet 1/0/1. <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] jumboframe enable loopback internal Use loopback internal to perform a loopback test on an Ethernet interface. Use undo loopback to cancel a loopback test on an Ethernet interface.
  • Page 20: Shutdown

    • The internal interface connecting the HP 1 1900/10500/7500 20G unified wired-WLAN module and the switch. The internal interface connecting the HP 830 series PoE+ unified wired-WLAN switch or the HP 870 • unified wired-WLAN appliance and the switching engine.
  • Page 21: Speed

    Support for this command and parameters of the command varies with device models. For more information, see About the Command References for HP Unified Wired-WLAN Products. Examples # Configure interface GigabitEthernet1/0/1 on the HP 830 24-Port PoE+ unified wired-WLAN switch to operate at 1000 Mbps. <Sysname> system-view...
  • Page 22 The value range for the max-pps argument varies by device model. For more information, see About the Command References for HP Unified Wired-WLAN Products. When the pps keyword is specified and the suppression granularity is larger than 1, the suppression •...
  • Page 23: Display Port-Group Manual

    [Sysname-port-group-manual-group1] broadcast-suppression 20 display port-group manual Use display port-group manual to display information about port groups. Syntax display port-group manual [ all | name port-group-name ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 2: System level Parameters...
  • Page 24: Group-Member

    Ten-GigabitEthernet1/0/1 Ten-GigabitEthernet1/0/2 group-member Use group-member to assign Ethernet interfaces to a port group. Use undo group-member to remove Ethernet interfaces from the port group. Syntax group-member interface-list undo group-member interface-list Default A port group does not contain any member ports. Views Port group view Default command level...
  • Page 25 The value range for the max-pps argument varies by device model. For more information, see About the Command References for HP Unified Wired-WLAN Products. When the pps keyword is specified and the suppression granularity is larger than 1, the suppression •...
  • Page 26: Port-Group Manual

    port-group manual Use port-group manual to create a port group and enter port group view. Use undo port-group manual to remove a port group. Syntax port-group manual port-group-name undo port-group manual port-group-name Default No port groups exist. Views System view Default command level 2: System level Parameters...
  • Page 27 The value range for the max-pps argument varies by device model. For more information, see About the Command References for HP Unified Wired-WLAN Products. pps max-pps: Specifies the maximum number of unknown unicast packets that the Ethernet interface can receive per second.
  • Page 28: Loopback And Null Interface Configuration Commands

    Loopback and null interface configuration commands default Use default to restore the default settings for the loopback or null interface. Syntax default Views Loopback interface view, null interface view Default command level 2: System level Usage guidelines CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this command when you use it in a live network.
  • Page 29: Display Interface Loopback

    Default The description of a loopback or null interface is interface name Interface, for example, Loopback0 interface. Views Loopback interface view, null interface view Default command level 2: System level Parameters text: Specifies an interface description, a case-sensitive string of 1 to 80 characters. When you specify an interface description, follow these guidelines: An interface description can be a mixture of English characters and other Unicode characters.
  • Page 30 brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information. down: Displays information about interfaces in down state and the causes. If you do not specify this keyword, the command displays information about interfaces in all states. |: Filters command output by specifying a regular expression.
  • Page 31 Table 5 Command output Field Description Physical layer state of the interface: • Up—The physical layer state of the interface is up. current state • DOWN (Administratively)—The interface has been shut down manually. Data link layer protocol state of the interface. (UP) spoofing means that the data link layer protocol state of the interface is UP, Line protocol current state but the corresponding link might not exist, or the corresponding...
  • Page 32: Display Interface Null

    Field Description Protocol Data link layer protocol state of the interface. Main IP Main IP address of the interface. Description Description of the interface. Cause of a down physical link. If the port has been shut down with the shutdown command, this field displays Administratively. Cause To restore the physical state of the interface, use the undo shutdown command.
  • Page 33: Interface Loopback

    If you specify the null keyword, this command displays information about interface Null 0 with or without the 0 keyword, because the device supports only one null interface. Examples # Display detailed information about null interface Null 0. <Sysname> display interface null 0 NULL0 current state :UP Line protocol current state :UP (spoofing) Description :...
  • Page 34: Interface Null

    Examples # Create interface loopback 0. <Sysname> system-view [Sysname] interface loopback 0 [Sysname-LoopBack0] Related commands display interface loopback interface null Use interface null to enter null interface view. Syntax interface null 0 Views System view Default command level 2: System level Parameters 0: Specifies interface Null 0.
  • Page 35: Reset Counters Interface Null

    Parameters interface-number: Specifies a loopback interface by its number. The loopback interface number is always 0. Usage guidelines Clear the existing statistics on the interface before starting to collect new traffic statistics. If you do not specify the loopback keyword, this command clears the statistics on all interfaces in the system.
  • Page 36 Default A loopback interface is up. Views Loopback interface view Default command level 2: System level Examples # Shut down loopback interface loopback 0. <Sysname> system-view [Sysname] interface loopback 0 [Sysname-Loopback0] shutdown...
  • Page 37: Vlan Configuration Commands

    VLAN configuration commands Basic VLAN configuration commands default Use default to restore the default settings for a VLAN interface. Syntax default Views VLAN interface view Default command level 2: System level Usage guidelines CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this command when you use it on a live network.
  • Page 38 Default The description for a VLAN is VLAN vlan-id, which is the ID of the VLAN. For example, the default description of VLAN 100 is VLAN 0100. The default description for a VLAN interface is the name of the interface. For example, the default description of VLAN-interface 1 is Vlan-interface1 Interface. Views VLAN view, VLAN interface view Default command level...
  • Page 39: Display Interface Vlan-Interface

    Usage guidelines Configure a description to describe the function or connection of a VLAN or VLAN interface for easy management. Examples # Change the description of VLAN 2 to sales-private. <Sysname> system-view [Sysname] vlan 2 [Sysname-vlan2] description sales-private # Change the description of VLAN-interface 2 to linktoPC56. <Sysname>...
  • Page 40 Usage guidelines If you do not provide the vlan-interface keyword, this command displays information about all interfaces. If you provide the vlan-interface keyword but do not specify the VLAN interface number, this command displays information about all VLAN interfaces. Examples # Display information for VLAN-interface 10.
  • Page 41 Field Description The Maximum Transmit Unit MTU of a VLAN interface. Internet protocol processing : The interface is not capable of processing IP packets. This information disabled is displayed when the interface is not configured with an IP address. The primary IP address of the interface is 192.168.1.54/24. This Internet Address is information is displayed only if the primary IP address is configured for 192.168.1.54/24 Primary...
  • Page 42: Display Vlan

    display vlan Use display vlan to display VLAN information. Syntax display vlan [ vlan-id1 [ to vlan-id2 ] | all | dynamic | reserved | static ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters...
  • Page 43 WLAN-ESS0 WLAN-ESS1 WLAN-MESH1 # Display VLAN 3 information. <Sysname> display vlan 3 VLAN ID: 3 VLAN Type: static Route Interface: configured IPv4 address: 1.1.1.1 IPv4 subnet mask: 255.255.255.0 IPv6 global unicast address(es): 2001::1, subnet is 2001::/64 [TENTATIVE] 2002::1, subnet is 2002::/64 [TENTATIVE] 2003::1, subnet is 2003::/32 [TENTATIVE] IPv6 joined group address(es): FF02::1:FF00:0...
  • Page 44: Interface Vlan-Interface

    interface vlan-interface Use interface vlan-interface to create a VLAN interface and enter its view or enter the view of an existing VLAN interface. Use undo interface vlan-interface to remove the specified VLAN interface. Syntax interface vlan-interface vlan-interface-id undo interface vlan-interface vlan-interface-id Views System view Default command level...
  • Page 45: Mtu

    Default command level 2: System level Parameters ip-address: Specifies an IP address in dotted decimal notation. mask: Specifies a subnet mask in dotted decimal notation. mask-length: Sets the number of consecutive 1s in the subnet mask, in the range of 0 to 32. sub: Indicates the address is a secondary IP address.
  • Page 46: Name

    Default command level 2: System level Parameters size: Sets the MTU in bytes. The value range for this argument is 46 to 1748. Examples # Set the MTU to 1492 bytes for VLAN-interface 1. <Sysname> system-view [Sysname] interface vlan-interface 1 [Sysname-Vlan-interface1] mtu 1492 Related commands display interface vlan-interface...
  • Page 47: Reset Counters Interface Vlan-Interface

    Related commands display vlan reset counters interface vlan-interface Use reset counters interface vlan-interface to clear statistics on a VLAN interface. Syntax reset counters interface vlan-interface [ vlan-interface-id ] Views User view Default command level 2: System level Parameters vlan-interface-id: Specifies a VLAN interface number. Usage guidelines Use this command to clear the history statistics if you want to collect statistics within a period.
  • Page 48: Vlan

    Usage guidelines A VLAN interface shut down with the shutdown command is in DOWN (Administratively) state until you bring it up. In this case, the VLAN interface state is not affected by the state of the ports in the VLAN. Before configuring parameters for a VLAN interface, shut down the VLAN interface with the shutdown command to prevent the configurations from affecting the network.
  • Page 49: Port-Based Vlan Configuration Commands

    You cannot use the undo vlan command to delete VLANs reserved for protocols, management VLANs, dynamic VLANs, and VLANs configured with QoS policies. To delete one of these VLANs, first remove the configuration from the VLAN. Examples # Create VLAN 2, and enter VLAN 2 view. <Sysname>...
  • Page 50: Port

    Untagged:1, XGE1/0/1 Tagged: none Untagged:1, XGE1/0/2 Tagged: none Untagged:1, # Display information about the trunk ports. <Sysname> display port trunk Interface PVID VLAN passing BAGG1 XGE1/0/1 XGE1/0/2 Table 9 Command output Field Description Interface Port name. PVID Port VLAN ID. VLAN passing VLANs for which the port allows packets to pass through.
  • Page 51: Port Access Vlan

    You cannot assign Layer 2 aggregate interfaces to a VLAN. Examples # Assign Ten-GigabitEthernet 1/0/1 through Ten-GigabitEthernet 1/0/3 to VLAN 2. <Sysname> system-view [Sysname] vlan 2 [Sysname-vlan2] port Ten-GigabitEthernet1/0/1 to Ten-GigabitEthernet1/0/3 Related commands display vlan port access vlan Use port access vlan to assign an access port to the specified VLAN. Use undo port access vlan to restore the default.
  • Page 52: Port Hybrid Pvid

    PVID of a hybrid port, it does not affect the PVID setting on the port. HP recommends that you set the same PVID for the local and remote hybrid ports. You must use the port hybrid vlan command to configure the hybrid port to permit the packets from the PVID to pass through.
  • Page 53: Port Hybrid Vlan

    [Sysname] vlan 100 [Sysname-vlan100] quit [Sysname] interface WLAN-ESS1 [Sysname-WLAN-ESS1] port link-type hybrid [Sysname-WLAN-ESS1] port hybrid pvid vlan 100 # Configure VLAN 100 as the PVID of the hybrid Layer 2 aggregate interface Bridge-Aggregation 1. <Sysname> system-view [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] port link-type hybrid [Sysname-Bridge-Aggregation1] port hybrid pvid vlan 100 Related commands...
  • Page 54: Port Link-Type

    If the system fails to apply the configuration to the aggregate interface, it stops applying the • configuration to aggregation member ports. If the system fails to apply the configuration to an aggregation member port, it skips the port and •...
  • Page 55: Port Trunk Permit Vlan

    Views WLAN-ESS interface view, Ethernet interface view, port group view, Layer 2 aggregate interface view Default command level 2: System level Parameters access: Configures the link type of a port as access. hybrid: Configures the link type of a port as hybrid. trunk: Configures the link type of a port as trunk.
  • Page 56 Syntax port trunk permit vlan { vlan-list | all } undo port trunk permit vlan { vlan-list | all } Default A trunk port allows only packets from VLAN 1 to pass through. Views Ethernet interface view, port group view, Layer 2 aggregate interface view Default command level 2: System level Parameters...
  • Page 57: Port Trunk Pvid

    [Sysname-Bridge-Aggregation1] port trunk permit vlan 2 Please wait... Done. Configuring Ten-GigabitEthernet1/0/1... Done. Configuring Ten-GigabitEthernet1/0/2... Done. The output shows that Ten-GigabitEthernet 1/0/1 and Ten-GigabitEthernet 1/0/2 are the member ports of the aggregation group corresponding to Bridge-Aggregation 1. Related commands port link-type port trunk pvid Use port trunk pvid to configure the PVID for the trunk port.
  • Page 58: Mac-Based Vlan Configuration Commands

    Examples # Configure VLAN 100 as the PVID of the trunk port Ten-GigabitEthernet 1/0/1, and assign Ten-GigabitEthernet 1/0/1 to VLAN 100. <Sysname> system-view [Sysname] interface Ten-GigabitEthernet1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] port link-type trunk [Sysname-Ten-GigabitEthernet1/0/1] port trunk pvid vlan 100 [Sysname-Ten-GigabitEthernet1/0/1] port trunk permit vlan 100 # Configure VLAN 100 as the PVID of the trunk Layer 2 aggregate interface Bridge-Aggregation 1, and assign Bridge-Aggregation 1 to VLAN 100.
  • Page 59: Display Mac-Vlan 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. include: Displays all lines that match the specified regular expression.
  • Page 60: Mac-Vlan Enable

    Syntax display mac-vlan interface [ | { begin | exclude | include } regular-expression ] Views Any view Default command 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.
  • Page 61: Mac-Vlan Mac-Address

    Examples # Enable the MAC-based VLAN feature on WLAN-ESS 1. <Sysname> system-view [Sysname] interface WLAN-ESS1 [Sysname–WLAN-ESS1] mac-vlan enable mac-vlan mac-address Use mac-vlan mac-address to associate the specified VLAN and priority value with the specified MAC addresses. Use undo mac-vlan to remove the association. Syntax mac-vlan mac-address mac-address [ mask mac-mask ] vlan vlan-id [ priority pri ] undo mac-vlan { all | mac-address mac-address [ mask mac-mask ] | vlan vlan-id }...
  • Page 62 # Associate the MAC addresses with the high-order six hexadecimal digits being 121 122 with VLAN 100 and 802.1p priority 4. <Sysname> system-view [Sysname] mac-vlan mac-address 1211-2222-3333 mask ffff-ff00-0000 vlan 100 priority 4...
  • Page 63: Mac Address Table Commands

    MAC address table commands The MAC address table contains only Layer 2 Ethernet interfaces and Layer 2 aggregate interfaces. This document covers only the configuration of unicast MAC address entries, including static, dynamic, and destination blackhole MAC address entries. display mac-address Use display mac-address to display MAC address entries.
  • Page 64: Display Mac-Address Aging-Time

    Examples # Display the MAC address entry for MAC address 000f-e201-0101. <Sysname> display mac-address 000f-e201-0101 MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s) 000f-e201-0101 Learned Ten-GigabitEthernet1/0/1 AGING 1 mac address(es) found Table 11 Command output Field Description MAC ADDR MAC address.
  • Page 65: Display Mac-Address Mac-Learning

    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. Examples # Display the aging timer for dynamic entries in the MAC address table. <Sysname> display mac-address aging-time Mac address aging time: 300s The output shows that the aging timer for dynamic entries in the MAC address table is 300 seconds.
  • Page 66: Display Mac-Address Statistics

    Ten-GigabitEthernet1/0/2 enable WLAN-ESS1 enable WLAN-DBSS1:2 enable Table 12 Command output Field Description Mac-address learning status of the switch Global MAC address learning status (enabled or disabled). MAC address learning status (enabled or disabled) for an Learning Status interface. display mac-address statistics Use display mac-address statistics to display the statistics of the MAC address table.
  • Page 67: Mac-Address (Interface View)

    Table 13 Command output Field Description MAC address type: • Dynamic Unicast. MAC TYPE • Static Unicast. • Total Unicast. LEARNED Dynamically learned MAC addresses. USER-DEFINED User defined MAC addresses (dynamic and static). MAC addresses generated by the system (for example, 802.1X and MAC SYSTEM-DEFINED authentication).
  • Page 68: Mac-Address (System View)

    Examples # Add a static entry for MAC address 000f-e201-0101 on Ten-GigabitEthernet 1/0/1 that belongs to VLAN 2. <Sysname> system-view [Sysname] interface Ten-GigabitEthernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] mac-address static 000f-e201-0101 vlan 2 # Add a static entry for MAC address 000f-e201-0102 on Bridge-Aggregation 1 that belongs to VLAN <Sysname>...
  • Page 69: Mac-Address Mac-Learning Disable

    vlan vlan-id: Specifies an existing VLAN to which the Ethernet interface belongs, in the range of 1 to 4094. dynamic: Specifies dynamic MAC address entries, which can be aged. static: Specifies static MAC address entries. These entries do not age, but you can add or remove them. interface interface-type interface-number: Specifies an outbound interface by its type and number.
  • Page 70: Mac-Address Max-Mac-Count

    You might need to disable MAC address learning to prevent the MAC address table from being • saturated. For example, when your device is being attacked by many packets with different source MAC addresses, it affects the update of the MAC address table. •...
  • Page 71: Mac-Address Timer

    Sets the maximum number of MAC addresses that can be learned on an interface. When the argument is set to 0, the interface cannot learn MAC addresses. The value range for this argument varies with devices. For more information, see About the Command References for HP Unified Wired-WLAN Products.
  • Page 72 no-aging: Sets dynamic MAC address entries not to age. Usage guidelines Follow these guidelines to set the aging timer: A long aging interval might cause the MAC address table to retain outdated entries and fail to • accommodate the latest network changes. A short aging interval might result in removal of valid entries and unnecessary broadcasts that •...
  • Page 73: Ethernet Link Aggregation Configuration Commands

    Ethernet link aggregation configuration commands Support for this feature depends on the device model. For more information, see About the Command References for HP Unified Wired-WLAN Products. default Use default to restore the default settings for an aggregate interface. Syntax...
  • Page 74: Display Interface

    Displays information about Layer 2 aggregate interfaces. interface-number: Specifies an existing Layer 2 aggregate interface by its number. The value range varies by device model. For more information, see About the Command References for HP Unified Wired-WLAN Products. brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information.
  • Page 75 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. Usage guidelines If you do not specify the bridge-aggregation keyword, the command displays information about all interfaces.
  • Page 76: Display Link-Aggregation Load-Sharing Mode

    Table 14 Command output Field Description Layer 2 aggregate interface status: • DOWN (Administratively)—The interface is administratively shut down with the shutdown command. Bridge-Aggregation1 current state • DOWN—The interface is administratively up but physically down (possibly because no physical link is present or the link is faulty). •...
  • Page 77 Layer 2 aggregate interface. interface-number: Specifies an existing Layer 2 aggregate interface by its number. The value range varies by the device model. For more information, see About the Command References for HP Unified Wired-WLAN Products. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 78: Display Link-Aggregation Member-Port

    Field Description Link-aggregation load sharing mode of Layer 2 aggregation group 1. • By default, this field displays the global link-aggregation load sharing Bridge-Aggregation1 modes. Load-Sharing Mode • If you have configured a link-aggregation load sharing mode specifically for this aggregation group, this field displays the configured mode.
  • Page 79: Display Link-Aggregation Summary

    Port Priority: 32768 Oper-Key: 1 Table 16 Command output Field Description Aggregation Interface Aggregate interface to which the member port belongs. Port Priority Aggregation priority of the port. Oper-key Operational key. display link-aggregation summary Use display link-aggregation summary to display summary information about all aggregation groups. Syntax display link-aggregation summary [ | { begin | exclude | include } regular-expression ] Views...
  • Page 80: Display Link-Aggregation Verbose

    Layer 2 aggregate interfaces. interface-number: Specifies an existing Layer 2 aggregate interface by its number. The value range varies by device model. For more information, see About the Command References for HP Unified Wired-WLAN Products. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 81: Enable Snmp Trap Updown

    The bridge-aggregation keyword is available only when Layer 2 aggregate interfaces exist on the device. Examples # Display detailed information about Layer 2 aggregation group 1, which is a static aggregation group. <Sysname> display link-aggregation verbose bridge-aggregation 1 Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing Port Status: S -- Selected, U -- Unselected Aggregation Interface: Bridge-Aggregation1 Aggregation Mode: Static...
  • Page 82: Interface Bridge-Aggregation

    2: System level Parameters interface-number: Specifies a Layer 2 aggregate interface by its number. The value range varies by device model. For more information, see About the Command References for HP Unified Wired-WLAN Products. Usage guidelines When you create a Layer 2 aggregate interface, a Layer 2 aggregation group with the same number is automatically created.
  • Page 83: Lacp Period Short

    lacp period short Use lacp period short to set the LACP timeout interval to the short timeout interval (1 second) on a port. Use undo lacp period to restore the default. Syntax lacp period short undo lacp period Default The LACP timeout interval is the long timeout interval (30 seconds). Views Ethernet interface view Default command level...
  • Page 84: Link-Aggregation Load-Sharing Mode

    link-aggregation load-sharing mode Use link-aggregation load-sharing mode to configure the global or group-specific link-aggregation load sharing mode. Use undo link-aggregation load-sharing mode to restore the default. Syntax link-aggregation load-sharing mode { destination-ip | destination-mac | source-ip | source-mac } * undo link-aggregation load-sharing mode Default The global or group-specific link-aggregation load sharing mode is source and destination MAC...
  • Page 85: Link-Aggregation Port-Priority

    Default An aggregation group operates in static aggregation mode. Views Layer 2 aggregate interface view Default command level 2: System level Usage guidelines To change the aggregation mode of an aggregation group that contains member ports, remove all the member ports from the aggregation group first. Examples # Configure Layer 2 aggregation group 1 to operate in dynamic aggregation mode.
  • Page 86: Port Link-Aggregation Group

    Parameters bridge-aggregation: Clears statistics for Layer 2 aggregate interfaces. interface-number: Specifies an existing Layer 2 aggregate interface by its number. The value range varies by device model. For more information, see About the Command References for HP Unified Wired-WLAN Products.
  • Page 87: Reset Lacp Statistics

    Usage guidelines Use this command to clear history statistics before you collect traffic statistics for a time period. If you do not specify the bridge-aggregation keyword and the interface-number argument, the command clears statistics for all interfaces in the system. If you specify only the bridge-aggregation keyword, the command clears statistics for all Layer 2 aggregate interfaces.
  • Page 88 Views Layer 2 aggregate interface view Default command level 2: System level Examples # Shut down Layer 2 aggregate interface Bridge-Aggregation 1. <Sysname> system-view [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] shutdown...
  • Page 89: Layer 2 Forwarding Configuration Commands

    Layer 2 forwarding configuration commands Normal Layer 2 forwarding configuration commands display mac-forwarding statistics Use display mac-forwarding statistics to display Layer 2 forwarding statistics. Syntax display mac-forwarding statistics [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] Views Any view...
  • Page 90: Reset Mac-Forwarding Statistics

    Blackhole dropped:0 Total sent: Filtered:0 STP discarded:0 # Display forwarding statistics of Bridge-Aggregation 1. <Sysname> display mac-forwarding statistics interface Bridge-Aggregation 1 Bridge-Aggregation1: Input frames:0 Input bytes:0 Output frames:48 Output bytes:2208 Filtered:0 Invalid Tag:0 Table 19 Command output Field Description Total received Total number of received Ethernet frames.
  • Page 91: Fast Layer 2 Forwarding Configuration Commands

    Syntax reset mac-forwarding statistics Views User view Default command level 1: Monitor level Examples # Clear all Layer 2 forwarding statistics. <Sysname> reset mac-forwarding statistics Fast Layer 2 forwarding configuration commands display mac-fast-forwarding cache Use display mac-fast-forwarding cache to display fast Layer 2 forwarding entries. Syntax display mac-fast-forwarding cache { all | { destination-mac mac-address | source-mac mac-address | vlan vlan-id }* } [ verbose ] [ | { begin | exclude | include } regular-expression ]...
  • Page 92 Usage guidelines If you specify the verbose keyword, the detailed information of the specified fast Layer 2 forwarding entry or all fast Layer 2 forwarding entries is displayed. Examples # Display the brief information of all fast Layer 2 forwarding entries. <Sysname>...
  • Page 93 ----------------------------------------------------------------------- # Display the brief information of fast Layer 2 forwarding entries of source MAC address 001B- 1 1 1D-B192. <Sysname> display mac-fast-forwarding cache source-mac 001B-111D-B192 ----------------------------------------------------------------------- Fast Forward Cache Table ----------------------------------------------------------------------- Number of entries in the table : 1 ----------------------------------------------------------------------- Source MAC Destination MAC...
  • Page 94: Mac-Fast-Forwarding

    Field Description Cache Context Fast forwarding information. mac-fast-forwarding Use mac-fast-forwarding to enable fast Layer 2 forwarding. Use undo mac-fast-forwarding to disable fast Layer 2 forwarding. Syntax mac-fast-forwarding undo mac-fast-forwarding Default Fast Layer 2 forwarding is enabled. Views System view Default command level 2: System level Examples # Enable fast Layer 2 forwarding.
  • Page 95 Examples # Clear all fast Layer 2 forwarding entries. <Sysname> reset mac-fast-forwarding cache all...
  • Page 96: Pppoe Server Commands

    PPPoE server commands Support for the commands in this chapter depends on the device model. For more information, see About the Command References for HP Unified Wired-WLAN Products. display pppoe-server session Use display pppoe-server session to display information about PPPoE sessions on a device operating as a PPPoE server.
  • Page 97: Pppoe-Server Abnormal-Offline-Count Threshold

    Field Description OIntf Corresponding VLAN interface. RemMAC Peer MAC address. LocMAC Local MAC address. pppoe-server abnormal-offline-count threshold Use pppoe-server abnormal-offline-count threshold to set the upper threshold for the PPPoE abnormal offline event count in 5 minutes. Use undo pppoe-server abnormal-offline-count threshold to restore the default. Syntax pppoe-server abnormal-offline-count threshold number undo pppoe-server abnormal-offline-count threshold...
  • Page 98: Pppoe-Server Bind

    Default The upper threshold for the PPPoE abnormal offline event percentage in 5 minutes is 100. Views System view Default command level 2: System level Parameters number: Specifies the upper threshold for the PPPoE abnormal offline event percentage, in the range of 0 to 100.
  • Page 99: Pppoe-Server Log-Information Off

    <Sysname> system-view [Sysname] interface Vlan-interface 1 [Sysname-Vlan-interface1] pppoe-server bind virtual-template 1 pppoe-server log-information off Use pppoe-server log-information off to disable PPP log displaying on a device operating as a PPPoE server. Use undo pppoe-server log-information off to restore the default. Syntax pppoe-server log-information off undo pppoe-server log-information off...
  • Page 100: Pppoe-Server Max-Sessions Remote-Mac

    Default command level 2: System level Parameters number: Specifies the maximum number of sessions allowed with regard to the local MAC address, in the range of 1 to 20480. Examples # Set the maximum number of PPPoE sessions allowed with regard to the local MAC address to 50. (Assume the device is operating as a PPPoE server.) <Sysname>...
  • Page 101: Pppoe-Server Normal-Offline-Percent Threshold

    Default The maximum number of PPPoE sessions allowed is 4096. Views System view Default command level 2: System level Parameters number: Specifies the maximum number of PPPoE sessions allowed, in the range of 1 to 20480. Examples # Set the maximum number of PPPoE sessions allowed to 3000 in the system. <Sysname>...
  • Page 102: Reset Pppoe-Server

    Related commands pppoe-server abnormal-offline-percent threshold reset pppoe-server Use reset pppoe-server to terminate a PPPoE session on the PPPoE server side. Syntax reset pppoe-server { all | interface interface-type interface-number | virtual-template number } Views User view Default command level 2: System level Parameters all: Terminates all the PPPoE sessions.
  • Page 103: Fpga Fast Forwarding Configuration Commands

    FPGA fast forwarding configuration commands Support for the commands depends on the device model. For more information, see About the Command References for HP Unified Wired-WLAN Products. fpga portal-statistics enable Use fpga portal-statistics enable to enable portal user traffic statistics for FPGA fast forwarding.
  • Page 104 Examples # Enable FPGA fast forwarding on an AC. <Sysname> system-view [Sysname] fpga work-mode fast-forwarding...
  • Page 105: Lldp Configuration Commands

    Global LLDP local-information: Chassis ID : 000f-1123-0e11 System name : HP System description : HP Comware Platform Software HP 870. Product Version Rele ase 2607P19 Copyright (c) 2010-2014 Hewlett-Packard Development Company, L.P. System capabilities supported : Bridge,Router System capabilities enabled : Bridge,Router...
  • Page 106 SoftwareRev : Release 2607P19 SerialNum : CN11G5N111 Manufacturer name : HP Model name : HP 870 Asset tracking identifier : Unknown LLDP local-information of port 2[Ten-GigabitEthernet1/0/1]: Port ID subtype : Interface name Port ID : Ten-GigabitEthernet1/0/1 Port description : Ten-GigabitEthernet1/0/1 Interface...
  • Page 107 LLDP local-information of port 3[Ten-GigabitEthernet1/0/2]: Port ID subtype : Interface name Port ID : Ten-GigabitEthernet1/0/2 Port description : Ten-GigabitEthernet1/0/2 Interface Management address type : ipv4 Management address : 192.168.100.132 Management address interface type : IfIndex Management address interface ID Management address OID Port VLAN ID(PVID): 1 Port and protocol VLAN ID(PPVID) : 0 Port and protocol VLAN supported : No...
  • Page 108 Management address OID Port VLAN ID(PVID): 1 Port and protocol VLAN ID(PPVID) : 0 Port and protocol VLAN supported : No Port and protocol VLAN enabled : No VLAN name of VLAN 1: VLAN 0001 Auto-negotiation supported : Yes Auto-negotiation enabled : No OperMau : speed(10000)/duplex(Full)
  • Page 109 Auto-negotiation supported : Yes Auto-negotiation enabled : No OperMau : speed(10000)/duplex(Full) PoE supported: No Link aggregation supported : Yes Link aggregation enabled : Yes Aggregation port ID Maximum frame Size: 4096 MED information Media policy type : Unknown Unknown Policy : Yes VLAN tagged : No...
  • Page 110 Field Description LLDP local-information of port 1 LLDP information to be sent out of port 1. Port ID subtype Port ID type, which can be MAC address or interface name. Port ID Port ID, the value of which depends on the port ID subtype. Management address interface Numbering type of the interface identified by the management address.
  • Page 111: Display Lldp Neighbor-Information

    Port ID type : Interface name Port ID : Ten-GigabitEthernet1/0/29 Port description : Ten-GigabitEthernet1/0/29 Interface System name : HP System description : HP Comware Platform Software, Software Version 5.20.105, Release 2607P18 HP 870 LSW Copyright (c) 2010-2014 Hewlett-Packard Development C...
  • Page 112 ompany, L.P. System capabilities supported : Bridge,Router System capabilities enabled : Bridge,Router Management address type : ipv4 Management address : 192.168.100.142 Management address interface type : IfIndex Management address interface ID : 35 Management address OID Port VLAN ID(PVID): 1 Port and protocol VLAN ID(PPVID) : 0 Port and protocol VLAN supported : Yes Port and protocol VLAN enabled...
  • Page 113 Table 23 Command output Field Description LLDP neighbor-information of port 1 LLDP information received through port 1. Time when LLDP information about a neighboring device was last Update time updated. Chassis ID representation: • Chassis component. • Interface alias. • Port component.
  • Page 114 Field Description Auto-negotiation enabled Indicates whether auto-negotiation is enabled on the port. OperMau Speed and duplex state on the port. PoE device type: • Power port class PSE—Power sourcing equipment. • PD—Powered device. PSE power supported Indicates whether the device can operate as a PSE. PSE power enabled Indicates whether the device is operating as a PSE.
  • Page 115: Display Lldp Statistics

    Field Description PoE power receiving priority of PD ports: • Unknown. • Port PD Priority Critical. • High. • Low. Available PoE power on PSE ports, or power needed on PD ports, in Port available power value watts. TLV type Unknown basic TLV type.
  • Page 116: Display Lldp Status

    Examples # Display the global LLDP statistics and the LLDP statistics of all ports. <Sysname> display lldp statistics <Sysname>display lldp statistics LLDP statistics global information: LLDP neighbor information last change time:0 days,7 hours,14 minutes,43 seconds The number of LLDP neighbor information inserted : 4 The number of LLDP neighbor information deleted The number of LLDP neighbor information dropped The number of LLDP neighbor information aged out : 0...
  • Page 117 Views Any view Default command level 1: Monitor level Parameters interface interface-type interface-number: Specifies a port by its type and number. |: 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.
  • Page 118: Display Lldp Tlv-Config

    Table 25 Command output Field Description Global status of LLDP Indicates whether LLDP is globally enabled. LLDP neighbor information last Time when the neighbor information was last updated. changed time Transmit interval LLDP frame transmission interval. Hold multiplier TTL multiplier. Reinit delay LLDP re-initialization delay.
  • Page 119 Parameters interface interface-type interface-number: Specifies a port by its type and number. |: 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 120: Lldp Admin-Status

    Field Description DEFAULT Indicates whether a type of TLV is sent through a port by default. Basic TLVs: • Port description TLV. • System name TLV. Basic optional TLV • System description TLV. • System capabilities TLV. • Management address TLV. IEEE 802.1 organizationally specific TLVs: •...
  • Page 121: Lldp Check-Change-Interval

    rx: Specifies the Rx mode. A port in this mode only receives LLDP frames. tx: Specifies the Tx mode. A port in this mode only sends LLDP frames. txrx: Specifies the TxRx mode. A port in this mode sends and receives LLDP frames. Examples # Configure the LLDP operating mode as Rx for Ten-GigabitEthernet 1/0/1.
  • Page 122: Lldp Compliance Cdp

    Views Layer 2 Ethernet interface view, port group view Default command level 2: System level Parameters disable: Specifies the disable mode, where CDP-compatible LLDP cannot receive or transmit CDP packets. txrx: Specifies the TxRx mode, where CDP-compatible LLDP can send and receive CDP packets. Usage guidelines For your device to work with Cisco IP phones, you must perform the following tasks: Enable CDP-compatible LLDP globally.
  • Page 123: Lldp Enable

    <Sysname> system-view [Sysname] lldp compliance cdp Related commands lldp hold-multiplier • lldp timer tx-interval • lldp enable Use lldp enable to enable LLDP. Use undo lldp enable to disable LLDP. Syntax lldp enable undo lldp enable Default LLDP is enabled on a port and disabled globally. Views System view, Layer 2 Ethernet interface view, port group view Default command level...
  • Page 124: Lldp Fast-Count

    Default command level 2: System level Usage guidelines The command does not apply to LLDP-CDP packets, which use only SNAP encapsulation. Examples # Configure the encapsulation format for LLDP frames as SNAP on Ten-GigabitEthernet 1/0/1. <Sysname> system-view [Sysname] interface ten-gigabitethernet1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] lldp encapsulation snap lldp fast-count Use lldp fast-count to set the number of the LLDP frames sent each time fast LLDP frame transmission is...
  • Page 125: Lldp Management-Address-Format String

    Default The TTL multiplier is 4. Views System view Default command level 2: System level Parameters value: Sets the TTL multiplier, ranging from 2 to 10. Usage guidelines You can set the TTL of the local device information by configuring the TTL multiplier. The TTL configuration of a device is determined by the expression: TTL multiplier ×...
  • Page 126: Lldp Management-Address-Tlv

    [Sysname-Ten-GigabitEthernet1/0/1] lldp management-address-format string lldp management-address-tlv Use lldp management-address-tlv to enable management address advertising and set the management address. Use undo lldp management-address-tlv to disable management address advertising in LLDP frames. Syntax lldp management-address-tlv [ ip-address ] undo lldp management-address-tlv Default The management address is advertised through LLDP frames.
  • Page 127: Lldp Timer Notification-Interval

    Default LLDP trapping is disabled on ports. Views Layer 2 Ethernet interface view, port group view Default command level 2: System level Examples # Enable LLDP trapping for Ten-GigabitEthernet 1/0/1. <Sysname> system-view [Sysname] interface ten-gigabitethernet1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] lldp notification remote-change enable lldp timer notification-interval Use lldp timer notification-interval to set the LLDP trap transmission interval.
  • Page 128: Lldp Timer Tx-Delay

    Default The LLDP re-initialization delay is 2 seconds. Views System view Default command level 2: System level Parameters delay: Sets the LLDP re-initialization delay, ranging from 1 to 10 seconds. Examples # Set the LLDP re-initialization delay to 4 seconds. <Sysname>...
  • Page 129: Lldp Timer Tx-Interval

    lldp timer tx-interval Use lldp timer tx-interval to set the LLDP frame transmission interval. Use undo lldp timer tx-interval to restore the default. Syntax lldp timer tx-interval interval undo lldp timer tx-interval Default The LLDP frame transmission interval is 30 seconds. Views System view Default command level...
  • Page 130 link-aggregation | mac-physic | max-frame-size | power } | med-tlv { all | capability | inventory | location-id | network-policy | power-over-ethernet } } Default A Layer 2 Ethernet port advertises all types of LLDP TLVs, except location identification TLVs. Views Layer 2 Ethernet interface view, port group view Default command level...
  • Page 131 device-type: Sets a device type value, ranging from 0 to 2. Value 0 specifies a DHCP server. Value 1 specifies a switch. Value 2 specifies an LLDP-MED endpoint. country-code: Sets a country code, corresponding to ISO 3166. { ca-type ca-value }&<1- 1 0>: Configures address information, where ca-type represents the address information type, ranging from 0 to 255, ca-value represents address information, a string of 1 to 250 characters, and &<1- 1 0>...
  • Page 132: Support And Other Resources

    Related information Documents To find related documents, browse to the Manuals page of the HP Business Support Center website: http://www.hp.com/support/manuals For related documentation, navigate to the Networking section, and select a networking category. •...
  • Page 133: 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 134 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 135: Index

    Index B C D E F G I J L M N P R S U V W display pppoe-server session,91 display vlan,37 broadcast-suppression,16 Documents,127 duplex,1 1 combo enable,1 enable snmp trap updown,76 default,2 default,32 flow-interval,12 default,68 fpga portal-statistics enable,98 default,23 fpga work-mode fast-forwarding,98...
  • Page 136 lldp management-address-format string,120 pppoe-server abnormal-offline-count threshold,92 lldp management-address-tlv,121 pppoe-server abnormal-offline-percent threshold,92 lldp notification remote-change enable,121 pppoe-server bind,93 lldp timer notification-interval,122 pppoe-server log-information off,94 lldp timer reinit-delay,122 pppoe-server max-sessions local-mac,94 lldp timer tx-delay,123 pppoe-server max-sessions remote-mac,95 lldp timer tx-interval,124 pppoe-server max-sessions total,95 lldp tlv-enable,124...

This manual is also suitable for:

85087011900105007500

Table of Contents