Download Print this page

Advertisement

HP 12500 Routing Switch Series
Layer 2 - LAN Switching
Command Reference
Part number: 5998-3424
Software version: 12500-CMW710-R7128
Document version: 6W710-20121130

Advertisement

   Related Manuals for HP 12500 Series

   Summary of Contents for HP 12500 Series

  • Page 1: Command Reference

    HP 12500 Routing Switch Series Layer 2 - LAN Switching Command Reference Part number: 5998-3424 Software version: 12500-CMW710-R7128 Document version: 6W710-20121130...

  • 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 additional warranty.

  • Page 3: Table Of Contents

    Contents MAC address table commands ···························································································································································· 1   display mac-address ········································································································································································· 1   display mac-address aging-time ················································································································································· 2   display mac-address mac-learning ············································································································································· 3   mac-address (interface view) ························································································································································· 4   mac-address (system view) ···························································································································································· 5   mac-address mac-learning enable ·············································································································································· 7  ...

  • Page 4

    display stp history ············································································································································································ 52   display stp ignored-vlan ································································································································································ 54   display stp region-configuration ··············································································································································· 54   display stp root ················································································································································································· 55   display stp tc ······················································································································································································ 56   instance ································································································································································································ 57   region-name ······················································································································································································· 58   reset stp ································································································································································································ 59  ...

  • Page 5

    default ··································································································································································································· 95   description ·························································································································································································· 95   display interface vlan-interface ·················································································································································· 96   display vlan ························································································································································································· 99   interface vlan-interface ······························································································································································· 101   mtu ······································································································································································································ 101   name ··································································································································································································· 102   reset counters interface vlan-interface ································································································································· 103   shutdown ·························································································································································································· 103  ...

  • Page 6: 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 the configuration of unicast MAC address entries, including static, dynamic, blackhole, and multiport unicast MAC address entries. For more information about MAC address table configuration in VPLS, see MPLS Configuration Guide.

  • Page 7: Display Mac-address Aging-time

    If you execute this command without specifying any parameters, it displays all MAC address entries. Examples # Display MAC address entries for VLAN 100. <Sysname> display mac-address vlan 100 MAC Address VLAN ID State Port/NickName Aging 0001-0101-0101 Multiport GE3/0/1 GE3/0/2 0033-0033-0033 Blackhole 0000-0000-0002...

  • Page 8: Display Mac-address Mac-learning

    Predefined user roles network-admin network-operator mdc-admin mdc-operator Examples # Display the aging timer for dynamic MAC address entries. <Sysname> display mac-address aging-time MAC address aging time: 300s. Related commands mac-address timer display mac-address mac-learning Use display mac-address mac-learning to verify whether MAC address learning has been enabled on interfaces.

  • Page 9: Mac-address (interface View)

    Table 2 Command output Field Description Global MAC address learning status: • Global MAC address learning status Enabled. • Disabled. MAC address learning status of an interface: Learning Status • Enabled. • Disabled. Related commands mac-address mac-learning enable mac-address (interface view) Use mac-address to add or modify a MAC address entry on a specified interface.

  • Page 10: Mac-address (system View)

    The multiport unicast MAC address entries on an Ethernet interface may not take effect after the Ethernet interface joins an aggregate group. Therefore, HP recommends configuring multiport unicast MAC address entries on aggregate interfaces in Layer 2 aggregate interface view.

  • Page 11

    undo mac-address [ [ dynamic | static ] mac-address interface interface-type interface-number vlan vlan-id ] undo mac-address [ blackhole | dynamic | static ] [ mac-address ] vlan vlan-id undo mac-address [ dynamic | static ] interface interface-type interface-number undo mac-address multiport mac-address interface interface-list vlan vlan-id undo mac-address [ multiport ] [ [ mac-address ] vlan vlan-id ] Default The system is not configured with any MAC address entry.

  • Page 12: Mac-address Mac-learning Enable

    Layer 3—IP Services Configuration Guide. The multiport unicast MAC entries on an Ethernet interface may not take effect after the Ethernet interface joins an aggregate group. Therefore, HP recommends configuring multiport unicast MAC address entries on aggregate interfaces in Layer 2 aggregate interface view.

  • Page 13: Mac-address Max-mac-count (interface View)

    undo mac-address mac-learning enable Default MAC address learning is enabled. Views Layer 2 Ethernet interface view, VLAN view, Layer 2 aggregate interface view Predefined user roles network-admin mdc-admin Usage guidelines To prevent the MAC address table from becoming saturated, you can disable MAC address learning. For example, a number of frames with different source MAC addresses reaching a device can affect the MAC address table update.

  • Page 14: Mac-address Max-mac-count (vlan View)

    Syntax mac-address max-mac-count count undo mac-address max-mac-count Default The maximum number of MAC addresses that can be learned on an interface varies with the card model. Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view Predefined user roles network-admin mdc-admin Parameters...

  • Page 15: Mac-address Max-mac-count Enable-forwarding (interface View)

    Views VLAN view Predefined user roles network-admin mdc-admin Parameters count: Sets the maximum number of MAC addresses that can be learned on a VLAN. The value range is 0 to 1048576. When the argument takes 0, the VLAN is not allowed to learn MAC addresses.

  • Page 16: Mac-address Max-mac-count Enable-forwarding (vlan View)

    mdc-admin Examples # Configure GigabitEthernet 3/0/1 to learn up to 600 MAC address entries. Disable the device from forwarding frames with unknown source MAC addresses after the number of learned MAC addresses reaches the upper limit. <Sysname> system-view [Sysname] interface GigabitEthernet 3/0/1 [Sysname-GigabitEthernet3/0/1] mac-address max-mac-count 600 [Sysname-GigabitEthernet3/0/1] undo mac-address max-mac-count enable-forwarding Related commands...

  • Page 17: Mac-address Timer

    Related commands mac-address • mac-address max-mac-count (VLAN view) • mac-address timer Use mac-address timer to configure the aging timer for dynamic MAC address entries. Use undo mac-address timer to restore the default. Syntax mac-address timer { aging seconds | no-aging } undo mac-address timer Default The aging timer is 300 seconds.

  • Page 18: Ethernet Link Aggregation Commands

    Ethernet link aggregation commands The device does not support Layer 3 Ethernet interfaces/subinterfaces or Layer 3 aggregate interfaces/subinterfaces when the system is operating in standard mode. For information about commands for system operating modes, see Fundamentals Command Reference. When the device operating in IRF mode is enabled with enhanced IRF mode, it does not support creating Layer 3 Ethernet interfaces/subinterfaces or Layer 3 aggregate interfaces/subinterfaces.

  • Page 19: Display Interface

    Syntax description text undo description Default The description of an interface is the interface-name plus Interface. For example, the default description of Bridge-Aggregation1 is Bridge-Aggregation1 Interface. Views Layer 2 aggregate interface view, Layer 3 aggregate interface view, Layer 3 aggregate subinterface view Predefined user roles network-admin...

  • Page 20

    brief: Displays brief interface information. If you do not specify this keyword, this command displays detailed interface information. description: Displays all of the interface description. Without this keyword, this command displays only the first 27 characters of a description if the description contains more than 27 characters. Usage guidelines If neither bridge-aggregation nor route-aggregation is specified, this command displays information about all interfaces.

  • Page 21

    Internet protocol processing: disabled IP Packet Frame Type:PKTFMT_ETHNT_2, Hardware Address: 00e0-fc00-c618 IPV6 Packet Frame Type:PKTFMT_ETHNT_2, Hardware Address: 00e0-fc00-c618 Last clearing of counters: Never Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 drops 0 packets output, 0 bytes, 0 drops # Display brief information about Layer 2 aggregate interface Bridge-Aggregation 1.

  • Page 22

    Field Description Unknown-speed mode, unknown-duplex The interface speed and duplex mode are unknown. mode PVID Port VLAN ID (PVID). Port link-type Port link type: access, trunk, or hybrid. VLAN whose packets are sent out of this interface with a Tagged Vlan tag.

  • Page 23: Display Lacp System-id

    Field Description If the network layer protocol state of an interface is shown as UP, but its link is an on-demand link or not Protocol: (s) - spoofing present, its protocol attribute includes the spoofing flag (an s in parentheses). Interface Abbreviated interface name.

  • Page 24: Display Link-aggregation Load-sharing Mode

    display link-aggregation load-sharing mode Use display link-aggregation load-sharing mode to display global link-aggregation load sharing criteria. Syntax display link-aggregation load-sharing mode Views Any view Predefined user roles network-admin network-operator mdc-admin mdc-operator Examples # Display the default global link-aggregation load sharing criteria. <Sysname>...

  • Page 25: Display Link-aggregation Member-port

    Field Description Default link-aggregation load sharing criteria for MPLS traffic. In MPLS traffic : mpls-label1, this sample output, the criteria are the Layer 1 through Layer 3 mpls-label2, mpls-label3 MPLS labels of packets. User-configured link-aggregation load sharing criteria. In this destination-mac address, source-mac sample output, the criteria are the source and destination MAC address...

  • Page 26

    # Display detailed link aggregation information for GigabitEthernet 3/0/2, which is a member port of a dynamic aggregation group. <Sysname> display link-aggregation member-port GigabitEthernet 3/0/2 Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation, D -- Synchronization, E -- Collecting, F -- Distributing, G -- Defaulted, H -- Expired GigabitEthernet3/0/2: Aggregate Interface: Bridge-Aggregation10...

  • Page 27: Display Link-aggregation Summary

    Field Description Flag LACP protocol state flag. Remote Information about the remote end. Remote end system ID, comprising the system LACP priority and the system System ID MAC address. Received LACP Packets Total number of LACP packets received. Illegal Total number of illegal packets. Sent LACP Packets Total number of LACP packets sent.

  • Page 28: Display Link-aggregation Verbose

    Table 7 Command output Field Description Aggregate interface type: Aggregate Interface Type • BAGG—Layer 2 aggregate interface. • RAGG—Layer 3 aggregate interface. Aggregation group type: • Aggregation Mode S—Static link aggregation. • D—Dynamic aggregation. Load-sharing type: Loadsharing Type • Shar—Load sharing. •...

  • Page 29

    interface-number: Specifies an existing aggregate interface by its number. Usage guidelines If you specify only bridge-aggregation or route-aggregation, this command displays information about all Layer 2 or Layer 3 aggregation groups. If no aggregate interface type is specified, this command displays information about all aggregation groups.

  • Page 30

    GE5/0/2 32768 GE5/0/3 32768 GE5/0/4 32768 Table 8 Command output Field Description Load-sharing type: • Loadsharing Type Shar—Load sharing. • NonS—Non-load sharing. Port Status Port state: Selected or Unselected. LACP state flags. This field is 1 byte long, represented by ABCDEFGH from the least significant bit to the most significant bit.

  • Page 31: Interface Bridge-aggregation

    Field Description Information about the remote end: • Actor—Port type and number of the local end. • Partner—Port index of the remote end. • Remote Priority—Port priority of the remote end. • Oper-Key—Operational key of the remote port. • System ID—System ID of the remote end. •...

  • Page 32: Lacp Period Short

    Use undo interface route-aggregation to remove a Layer 3 aggregate interface or subinterface. Syntax interface route-aggregation { interface-number | interface-number.subnumber } undo interface route-aggregation { interface-number | interface-number.subnumber } Default No Layer 3 aggregate interface or subinterface is created. Views System view Predefined user roles network-admin...

  • Page 33: Lacp System-priority

    undo lacp period Default The LACP timeout interval is the long timeout interval (90 seconds). Views Layer 2 Ethernet interface view, Layer 3 Ethernet interface view Predefined user roles network-admin mdc-admin Usage guidelines If you configure the short timeout interval, the peer sends LACPDUs quickly (one LACPDU per second);...

  • Page 34: Link-aggregation Global Load-sharing Mode

    Examples # Set the system LACP priority to 64. <Sysname> system-view [Sysname] lacp system-priority 64 Related commands link-aggregation port-priority link-aggregation global load-sharing mode Use link-aggregation global load-sharing mode to configure the global link-aggregation load sharing criteria. Use undo link-aggregation global load-sharing mode to restore the default setting. Syntax link-aggregation global load-sharing mode { destination-ip | destination-mac | destination-port | ingress-port | mpls-label1 | mpls-label2 | mpls-label3 | source-ip | source-mac | source-port } *...

  • Page 35: Link-aggregation Irf-enhanced

    Examples # Configure the destination MAC address as the global link-aggregation load sharing criterion. <Sysname> system-view [Sysname] link-aggregation global load-sharing mode destination-mac link-aggregation irf-enhanced Use link-aggregation irf-enhanced to enhance the Selected port capacity for link aggregation in IRF mode. Use undo link-aggregation irf-enhanced to restore the default. Syntax link-aggregation irf-enhanced undo link-aggregation irf-enhanced...

  • Page 36: Link-aggregation Port-priority

    Syntax link-aggregation mode dynamic undo link-aggregation mode Default An aggregation group operates in static aggregation mode. Views Layer 2 aggregate interface view, Layer 3 aggregate interface view Predefined user roles network-admin mdc-admin Examples # Configure the aggregation group that corresponds to Bridge-Aggregation 1 to operate in dynamic aggregation mode.

  • Page 37: Link-aggregation Selected-port Maximum

    # Set the port priority of Layer 3 Ethernet interface GigabitEthernet 3/0/2 to 64. <Sysname> system-view [Sysname] interface GigabitEthernet 3/0/2 [Sysname-GigabitEthernet3/0/2] link-aggregation port-priority 64 Related commands lacp system-priority link-aggregation selected-port maximum Use link-aggregation selected-port maximum to configure the maximum number of Selected ports allowed in the aggregation group.

  • Page 38: Link-aggregation Selected-port Minimum

    <Sysname> system-view [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] link-aggregation selected-port maximum 5 Related commands link-aggregation selected-port minimum link-aggregation selected-port minimum Use link-aggregation selected-port minimum to configure the minimum number of Selected ports in the aggregation group. Use undo link-aggregation selected-port minimum to restore the default setting. Syntax link-aggregation selected-port minimum number undo link-aggregation selected-port minimum...

  • Page 39: Port Link-aggregation Group

    Use undo mtu to restore the default setting. Syntax mtu size undo mtu Default The MTU for Layer 3 aggregate interfaces and subinterfaces is 1500 bytes. Views Layer 3 aggregate interface view, Layer 3 aggregate subinterface view Predefined user roles network-admin mdc-admin Parameters...

  • Page 40: Reset Counters Interface

    Parameters number: Specifies the number of the aggregate interface that corresponds to an aggregation group, in the range of 1 to 1024. The switch supports a maximum of 240 aggregation groups. Usage guidelines A Layer 2 Ethernet interface can be assigned to a Layer 2 aggregation group only, and a Layer 3 Ethernet interface can be assigned to a Layer 3 aggregation group only.

  • Page 41: Reset Lacp Statistics

    The bridge-aggregation or route-aggregation keyword becomes available only after you create Layer 2 or Layer 3 aggregate interfaces on the device. Examples # Clear the statistics for Layer 2 aggregate interface Bridge-Aggregation 1. <Sysname> reset counters interface bridge-aggregation 1 reset lacp statistics Use reset lacp statistics to clear the LACP statistics on the specified member ports or all member ports.

  • Page 42

    Predefined user roles network-admin mdc-admin Usage guidelines Shutting down or bringing up a Layer 3 aggregate interface shuts down or brings up its subinterfaces. Shutting down or bringing up a Layer 3 aggregate subinterface does not affect its main interface. Examples # Bring up Layer 2 aggregate interface Bridge-Aggregation 1.

  • Page 43: Port Isolation Commands

    Port isolation commands display port-isolate group Use display port-isolate group to display port isolation group information. Syntax display port-isolate group [ group-number ] Views Any view Predefined user roles network-admin network-operator mdc-admin mdc-operator Parameters group-number: Specifies an isolation group number in the range of 1 to 16. Examples # Display information about all isolation groups.

  • Page 44: Port-isolate Enable

    Related commands port-isolate enable port-isolate enable Use port-isolate enable to assign a port to an isolation group. Use undo port-isolate enable to remove a port from an isolation group. Syntax port-isolate enable group group-number undo port-isolate enable Default No ports are assigned to an isolation group. Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view Predefined user roles...

  • Page 45

    Use undo port-isolate group to remove isolation groups. Syntax port-isolate group group-number undo port-isolate group { group-number | all } Default No isolation group exists. Views System view Predefined user roles network-admin mdc-admin Parameters group-number: Specifies an isolation group number in the range of 1 to 16. all: Deletes all isolation groups.

  • Page 46: Spanning Tree Commands

    HP recommends that you use the check region-configuration command to determine whether the MST region configurations to be activated are correct. Run this command only when they are correct.

  • Page 47

    VLAN-to-instance mapping entries in the MST region; and are connected through a physical link. HP recommends that you use this command to determine whether the MST region configurations to be activated are correct. Activate them only when they are correct.

  • Page 48: Display Stp

    display stp Use display stp to display the spanning tree status and statistics information. Based on the information, you can analyze and maintain the network topology or determine whether the spanning tree is working correctly. Syntax In standalone mode: display stp [ instance instance-list ] [ interface interface-list | slot slot-number ] [ brief ] In IRF mode: display stp [ instance instance-list ] [ interface interface-list | chassis chassis-number slot slot-number ] [ brief ]...

  • Page 49

    If you specify a port list, this command displays the spanning tree information for the • specified ports. The displayed information is sorted by port name. In MSTP mode: If you do not specify any MSTI or port, this command displays the spanning tree information •...

  • Page 50

    Field Description Protection type on the port: • ROOT—Root guard. • LOOP—Loop guard. Protection • BPDU—BPDU guard. • NONE—No protection. # In MSTP mode, display the detailed spanning tree status and statistics of all MSTIs on all ports. <Sysname> display stp -------[CIST Global Info][Mode MSTP]------- Bridge ID : 32768.000f-e200-2200...

  • Page 51

    RootPort ID : 0.0 Root type : Primary root Master bridge : 32768.000f-e23e-9ca4 Cost to master TC received # Display the spanning tree status and statistics when the spanning tree feature is disabled. <Sysname> display stp Protocol status : Disabled Protocol Std.

  • Page 52

    Field Description Port role: • Alternate. • Backup. • Root. Port role • Designated. • Master. • Disabled. (Boundary) The port is a regional boundary port. Path cost of the port. The field in parentheses indicates the standard (legacy, dot1d-1998, or dot1t) used for port path cost calculation. Port cost(Legacy) •...

  • Page 53: Display Stp Abnormal-port

    Field Description Major parameters for the port: • Hello—Hello timer. • MaxAge—Maximum age timer. Port times • FWDly—Forward delay timer. • MsgAge—Message age timer. • RemHop—Remaining hops. BPDU sent Statistics on sent BPDUs. BPDU received Statistics on received BPDUs. RegRoot ID/IRPC MSTI regional root/internal path cost.

  • Page 54: Display Stp Bpdu-statistics

    mdc-admin mdc-operator Examples # In MSTP mode, display information about ports that are blocked by spanning tree protection functions. <Sysname> display stp abnormal-port MSTID Blocked Port Reason GigabitEthernet3/0/1 Root-Protected GigabitEthernet3/0/2 Loop-Protected GigabitEthernet3/0/3 Loopback-Protected Table 13 Command output Field Description MSTID MSTI of the blocked port.

  • Page 55

    that you can specify up to 10 instances or instance ranges. The instance-id argument is in the range of 0 to 4094, and the value 0 represents the CIST. Usage guidelines In MSTP mode: If you do not specify any MSTI or port, this command displays the BPDU statistics of all MSTIs •...

  • Page 56: Display Stp Down-port

    Table 14 Command output Field Description Port Port name. Instance-Independent Statistics not related to any particular MSTI. Type Statistical item. Looped-back BPDUs BPDUs sent and then received by the same port. MAX-aged BPDUs BPDUs whose max age was exceeded. TCN sent TCN BPDUs sent.

  • Page 57: Display Stp History

    Examples # Display information about ports that were shut down by spanning tree protection functions. <Sysname> display stp down-port Down Port Reason GigabitEthernet3/0/1 BPDU-Protected Table 15 Command output Field Description Down Port Name of a port that was shut down by the spanning tree protection functions. Reason that the port was shut down.

  • Page 58

    historical port role calculation information on all cards of all member devices in the IRF fabric. (In IRF mode.) Usage guidelines In STP or RSTP mode, the displayed information is sorted by port role calculation time. In MSTP mode: If you do not specify any MSTI, this command displays the historical port role calculation •...

  • Page 59: Display Stp Ignored-vlan

    display stp ignored-vlan Use display stp ignored-vlan to display VLAN Ignore-enabled VLANs. Syntax display stp ignored-vlan Views Any view Predefined user roles network-admin network-operator mdc-admin mdc-operator Examples # Display VLAN Ignore-enabled VLANs. <Sysname> display stp ignored-vlan STP-Ignored VLANs: 1 to 2, 4 Table 17 Command output Field Description...

  • Page 60: Display Stp Root

    Format selector Region name : hello Revision level Configuration digest : 0x5f762d9a46311effb7a488a3267fca9f Instance VLANs Mapped 21 to 4094 1 to 10 11 to 20 Table 18 Command output Field Description Format selector that is defined by the spanning tree protocol. The default Format selector value is 0, and the selector cannot be configured.

  • Page 61: Display Stp Tc

    Table 19 Command output Field Description External path cost. The device automatically calculates the default path cost of a ExtPathCost port. Or, you can use the stp cost command to configure the path cost of a port. Internal path cost. The device automatically calculates the default path cost of a IntPathCost port.

  • Page 62: Instance

    Usage guidelines In STP or RSTP mode, the displayed information is sorted by port name. In MSTP mode: If you do not specify any MSTI, this command displays the statistics of TC/TCN BPDUs that are • received and sent by all ports in all MSTIs. The displayed information is sorted by instance ID and by port name in each MSTI.

  • Page 63: Region-name

    Predefined user roles network-admin mdc-admin Parameters instance-id: Specifies an MSTI ID. The minimum value is 0, representing the CIST, and the maximum value is 4094. vlan vlan-list: Specifies a VLAN list in the format of vlan-list = { vlan-id [ to vlan-id ] }&<1-10>, where the vlan-id argument represents the VLAN ID in the range of 1 to 4094, and &<1-10>...

  • Page 64: Reset Stp

    Views MST region view Predefined user roles network-admin mdc-admin Parameters name: Specifies the MST region name, a string of 1 to 32 characters. Usage guidelines The MST region name, the VLAN-to-instance mapping table, and the MSTP revision level of a device determine the device's MST region.

  • Page 65: Revision-level

    interface-number ] }&<1-10>, where &<1-10> indicates that you can specify up to 10 ports or port ranges. If you don't specify this option, this command clears the spanning tree-related statistics information on all ports. Examples # Clear the spanning tree-related statistics on ports GigabitEthernet 3/0/1 and GigabitEthernet 3/0/3.

  • Page 66: Stp Bpdu-protection

    check region-configuration • display stp region-configuration • instance • region-name • vlan-mapping modulo • stp bpdu-protection Use stp bpdu-protection to enable the BPDU guard function. Use undo stp bpdu-protection to disable the BPDU guard function. Syntax stp bpdu-protection undo stp bpdu-protection Default The BPDU guard function is disabled.

  • Page 67: Stp Compliance

    mdc-admin Parameters diameter: Specifies the switched network diameter in the range of 2 to 7. Usage guidelines An appropriate setting of hello time, forward delay, and max age can speed up network convergence. The values of these timers are related to the network size, and you can set the timers by setting the network diameter.

  • Page 68: Stp Config-digest-snooping

    legacy: Configures the ports to receive and send only compatible-format MSTP BPDUs. Usage guidelines When the setting is configured in Layer 2 Ethernet interface view, it takes effect on only that interface. When the setting is configured in Layer 2 aggregate interface view, it takes effect on only the aggregate interface.

  • Page 69: Stp Cost

    [Sysname] interface GigabitEthernet 3/0/1 [Sysname-GigabitEthernet3/0/1] stp config-digest-snooping [Sysname-GigabitEthernet3/0/1] quit [Sysname] stp global config-digest-snooping Related commands display stp • stp global config-digest-snooping • stp cost Use stp cost to set the path cost of the port or ports. Use undo stp cost to restore the default. Syntax stp [ instance instance-list ] cost cost undo stp [ instance instance-list ] cost...

  • Page 70: Stp Edged-port

    When the network topology changes, an edge port does not cause a temporary loop. You can enable the port to transition to the forwarding state rapidly by configuring it as an edge port. HP recommends that you configure ports that directly connect to user terminals as edge ports.

  • Page 71: Stp Enable

    When the setting is configured in Layer 2 Ethernet interface view, it takes effect on only that interface. When the setting is configured in Layer 2 aggregate interface view, it takes effect on only the aggregate interface. When the setting is configured on a member port in an aggregation group, it takes effect only after the port leaves the aggregation group.

  • Page 72: Stp Global Config-digest-snooping

    When the setting is configured on a member port in an aggregation group, it takes effect only after the port leaves the aggregation group. Examples # In MSTP mode, disable the spanning tree feature on port GigabitEthernet 3/0/1. <Sysname> system-view [Sysname] interface GigabitEthernet 3/0/1 [Sysname-GigabitEthernet3/0/1] undo stp enable Related commands...

  • Page 73: Stp Global Enable

    stp global enable Use stp global enable to enable the spanning tree feature globally. Use undo stp global enable to disable the spanning tree feature globally. Syntax stp global enable undo stp global enable Default The spanning tree feature is enabled globally. Views System view Predefined user roles...

  • Page 74: Stp Ignored Vlan

    Usage guidelines If a port on a device running MSTP or RSTP connects to an STP device, this port automatically transitions to the STP mode when the port receives STP BPDUs. However, if the peer STP device is shut down or removed and the local device cannot detect the change, the local device cannot automatically transition back to the original mode.

  • Page 75: Stp Loop-protection

    Related commands display stp ignored-vlan stp loop-protection Use stp loop-protection to enable the loop guard function on the ports. Use undo stp loop-protection to disable the loop guard function on the ports. Syntax stp loop-protection undo stp loop-protection Default The loop guard function is disabled. Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view Predefined user roles...

  • Page 76: Stp Mcheck

    Syntax stp max-hops hops undo stp max-hops Default The maximum number of hops for an MST region is 20. Views System view Predefined user roles network-admin mdc-admin Parameters hops: Sets the maximum hops in the range of 1 to 40. Examples # Set the maximum hops of the MST region to 35.

  • Page 77: Stp Mode

    The device operates in STP, RSTP, or MSTP mode depending on the spanning tree mode setting. The stp mcheck command is effective only when the device operates in MSTP or RSTP mode. When the setting is configured in Layer 2 Ethernet interface view, it takes effect on only that interface.

  • Page 78: Stp No-agreement-check

    <Sysname> system-view [Sysname] stp mode stp Related commands stp enable • stp global enable • stp global mcheck • stp mcheck • stp no-agreement-check Use stp no-agreement-check to enable No Agreement Check on the ports. Use undo stp no-agreement-check to disable No Agreement Check on the ports. Syntax stp no-agreement-check undo stp no-agreement-check...

  • Page 79: Stp Point-to-point

    Syntax stp pathcost-standard { dot1d-1998 | dot1t | legacy } undo stp pathcost-standard Default The standard used by the device is legacy. Views System view Predefined user roles network-admin mdc-admin Parameters dot1d-1998: Configures the device to calculate the default path cost for ports based on IEEE 802.1d-1998.

  • Page 80: Stp Port Priority

    You can configure the link type as point-to-point for a Layer 2 aggregate interface or a port that operates in full duplex mode. HP recommends that you use the default setting, which lets the device automatically detect the port link type.

  • Page 81: Stp Port-log

    Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view Predefined user roles network-admin mdc-admin Parameters instance instance-list: Sets the priority of the ports in the MSTIs that are specified by an instance list, in the format of instance-list = { instance-id [ to instance-id ] }&<1-10>, where &<1-10> indicates that you can specify up to 10 instances or instance ranges.

  • Page 82: Stp Priority

    Predefined user roles network-admin mdc-admin Parameters all: Specifies all MSTIs. instance instance-list: Specifies the MSTIs by an instance list, in the format of instance-list = { instance-id [ to instance-id ] }&<1-10>, where &<1-10> indicates that you can specify up to 10 instances or instance ranges.

  • Page 83: Stp Region-configuration

    Examples # In MSTP mode, set the device priority to 4096 in MSTI 1. <Sysname> system-view [Sysname] stp instance 1 priority 4096 stp region-configuration Use stp region-configuration to enter MST region view. Use undo stp region-configuration to restore the default MST region configurations. Syntax stp region-configuration undo stp region-configuration...

  • Page 84: Stp Root Primary

    Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view Predefined user roles network-admin mdc-admin Usage guidelines When port role restriction is enabled on a port, the port cannot become a root port. When the setting is configured in Layer 2 Ethernet interface view, it takes effect on only that interface.

  • Page 85: Stp Root Secondary

    Usage guidelines Once you specify the device as the root bridge, you cannot change the priority of the device. Examples # In MSTP mode, specify the device as the root bridge of MSTI 1. <Sysname> system-view [Sysname] stp instance 1 root primary Related commands stp priority •...

  • Page 86: Stp Root-protection

    stp root primary • stp root-protection Use stp root-protection to enable the root guard function on the ports. Use undo stp root-protection to disable the root guard function on the ports. Syntax stp root-protection undo stp root-protection Default The root guard function is disabled. Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view Predefined user roles...

  • Page 87: Stp Tc-protection Threshold

    undo stp tc-protection Default The TC-BPDU attack guard function is enabled. Views System view Predefined user roles network-admin mdc-admin Usage guidelines With the TC-BPDU guard function, you can set the maximum number of immediate forwarding address entry flushes that the device can perform within a certain interval (every 10 seconds). For TC-BPDUs received that exceed the limit, the device performs a forwarding address entry flush when the interval elapses.

  • Page 88: Stp Tc-restriction

    Examples # Configure the device to perform up to 10 forwarding address entry flushes every 10 seconds. <Sysname> system-view [Sysname] stp tc-protection threshold 10 Related commands stp tc-protection stp tc-restriction Use stp tc-restriction to enable TC-BPDU transmission restriction. Use undo stp tc-restriction to disable TC-BPDU transmission restriction. Syntax stp tc-restriction undo stp tc-restriction...

  • Page 89: Stp Timer Hello

    HP recommends not setting the forward delay with this command. Instead, you can specify the network diameter of the switched network by using the stp bridge-diameter command and let the spanning tree protocols automatically calculate the optimal settings for the forward delay timer.

  • Page 90: Stp Timer Max-age

    HP recommends not setting the hello time with this command. Instead, you can specify the network diameter of the switched network by using the stp bridge-diameter command and let the spanning tree protocols automatically calculate the optimal settings for the hello timer.

  • Page 91: Stp Timer-factor

    The max age timer is ineffective for MSTIs. HP recommends not setting the max age timer with this command. Instead, you can specify the network diameter of the switched network by using the stp bridge-diameter command and let the spanning tree protocols automatically calculate the optimal settings for the max age timer.

  • Page 92: Stp Transmit-limit

    You can avoid such unwanted spanning tree calculations by lengthening the timeout interval (by setting the timeout factor to 4 or more), thus saving network resources. HP recommends that you set the timeout factor to 5, 6, or 7 for a stable network.

  • Page 93: Vlan-mapping Modulo

    When the setting is configured in Layer 2 aggregate interface view, it takes effect on only the aggregate interface. When the setting is configured on a member port in an aggregation group, it takes effect only after the port leaves the aggregation group. Examples # Set the maximum transmission rate of port GigabitEthernet 3/0/1 to 5.

  • Page 94

    revision-level •...

  • Page 95: Loop Detection Commands

    Loop detection commands display loopback-detection Use display loopback-detection to display the loop detection configuration and status. Syntax display loopback-detection Views Any view Predefined user roles network-admin network-operator mdc-admin mdc-operator Example # Display the loop detection configuration and status. <Sysname> display loopback-detection Loopback detection is enabled.

  • Page 96: Loopback-detection Enable

    undo loopback-detection action Default When the device detects a loop on a port, it generates a log but performs no action on the port. Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view Predefined user roles network-admin mdc-admin Parameters shutdown: Enables the shutdown mode.

  • Page 97: Loopback-detection Global Action

    Parameters vlan-list: Specifies a VLAN list, in the format of { vlan-id [ to vlan-id ] }&<1-10>, where vlan-id represents the VLAN ID in the range of 1 to 4094, and &<1-10> indicates that you can specify up to 10 vlan-id [ to vlan-id ] parameters. all: Specifies all existing VLANs.

  • Page 98: Loopback-detection Global Enable

    Example # Set the global loop protection action to shutdown. <Sysname> system-view [System] loopback-detection global action shutdown Related commands display loopback-detection • loopback-detection action • loopback-detection global enable Use loopback-detection global enable to enable loop detection globally. Use undo loopback-detection global enable to disable loop detection globally. Syntax loopback-detection global enable vlan { vlan-list | all } undo loopback-detection global enable vlan { vlan-list | all }...

  • Page 99: Loopback-detection Interval-time

    loopback-detection interval-time Use loopback-detection interval-time to set the loop detection interval. Use undo loopback-detection interval-time to restore the default. Syntax loopback-detection interval-time interval undo loopback-detection interval-time Default The loop detection interval is 30 seconds. Views System view Predefined user roles network-admin mdc-admin Parameters...

  • Page 100: Vlan Commands

    VLAN commands Basic VLAN commands default Use default to restore the default settings for a VLAN interface. Syntax default Views VLAN interface view Predefined user roles network-admin mdc-admin 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 101: Display Interface Vlan-interface

    Default For a VLAN, the description is VLAN vlan-id, which specifies the ID of the VLAN. For example, the default description of VLAN 100 is VLAN 0100. For a VLAN interface, the description is the name of the interface. For example, Vlan-interface1 Interface.

  • Page 102

    Syntax display interface vlan-interface [ vlan-interface-id ] [ brief [ description ] ] Views Any view Predefined user roles network-admin network-operator mdc-admin mdc-operator Parameters vlan-interface-id: Specifies a VLAN interface number. If you do not specify this argument, this command displays information about all VLAN interfaces. brief: Displays brief interface information.

  • Page 103

    Table 22 Command output Field Description Physical state of a VLAN interface: • DOWN ( Administratively )—The administrative state of the VLAN interface is down, because it has been shut down with the shutdown command. • DOWN—The administrative state of the VLAN interface is Vlan-interface2 current state up, but its physical state is down.

  • Page 104: Display Vlan

    Field Description Physical link state of the interface: • UP—The link is up. Link • ADM—The link has been administratively shut down. To recover its physical state, run the undo shutdown command. Protocol connection state of the interface: • Protocol •...

  • Page 105

    Examples # Display VLAN 2 information. <Sysname> display vlan 2 VLAN ID: 2 VLAN type: Static Route interface: Not configured Description: VLAN 0002 Name: VLAN 0002 Tagged ports: None Untagged ports: GigabitEthernet3/0/1 GigabitEthernet3/0/2 GigabitEthernet3/0/3 # Display VLAN 3 information. <Sysname> display vlan 3 VLAN ID: 3 VLAN type: static Route interface: Configured...

  • Page 106: Interface Vlan-interface

    interface vlan-interface Use interface vlan-interface to create a VLAN interface and enter its view or to enter the view of an existing VLAN interface. Use undo interface vlan-interface to delete the specified VLAN interface. Syntax interface vlan-interface vlan-interface-id undo interface vlan-interface vlan-interface-id Views System view Predefined user roles...

  • Page 107: Name

    Predefined user roles network-admin mdc-admin Parameters size: Sets the MTU in bytes, which is in the range of 64 to 9198. Usage guidelines If both the mtu command and the ip mtu command are supported and configured on the VLAN interface, the MTU set by using the ip mtu command is used for fragmenting packets.

  • Page 108: Reset Counters Interface Vlan-interface

    Usage guidelines Some servers can send IDs or names of the issued VLANs to the switch. You can use VLAN names, rather than VLAN IDs, to distinguish a large number of VLANs. Examples # Configure the name of VLAN 2 as test vlan. <Sysname>...

  • Page 109: Vlan

    Syntax shutdown undo shutdown Default A VLAN interface is manually shut down. After you cancel the action of manually shutting down a VLAN interface, the VLAN interface is up if one or more ports in the VLAN is up, and it goes down if all ports in the VLAN go down.

  • Page 110: Port-based Vlan Commands

    Default VLAN 1 (the default VLAN) exists. Views System view Predefined user roles network-admin mdc-admin Parameters vlan-id1, vlan-id2: Specifies a VLAN ID in the range of 1 to 4094. vlan-id1 to vlan-id2: Specifies a VLAN range. The vlan-id1 and vlan-id2 arguments specify VLAN IDs and are in the range of 1 to 4094.

  • Page 111: Port

    Predefined user roles network-admin network-operator mdc-admin mdc-operator Parameters hybrid: Displays hybrid ports. trunk: Displays trunk ports. Examples # Display information about the hybrid ports in the system. <Sysname> display port hybrid Interface PVID VLAN Passing Eth3/0/4 Tagged: 1000, 1002, 1500, 1600-1611, 2000, 2555-2558, 3000, 4000 Untagged:1, 10, 15, 18, 20-30, 44, 55, 67, 100, 150-160, 200, 255, 286, 300-302...

  • Page 112: Port Access Vlan

    Views VLAN view Predefined user roles network-admin mdc-admin Parameters interface-list: Specifies an interface list, in the format of interface-list = { interface-type interface-number [ to interface-type interface-number ] }&<1-10>, where interface-type interface-number represents the interface type and interface number, and &<1-10> indicates that you can specify up to 10 interface-type interface-number [ to interface-type interface-number ] parameters.

  • Page 113: Port Hybrid Pvid

    PVID on the port is not affected. HP recommends that you set the same PVID for the local and remote hybrid ports. You must configure the hybrid port to allow and forward packets from the PVID by using the port hybrid vlan command.

  • Page 114: Port Hybrid Vlan

    The configuration made in Layer 2 aggregate interface view applies to the aggregate interface • and its aggregation member ports. 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 moves to the next member port.

  • Page 115: Port Link-type

    untagged: Configures the ports to send the packets of the specified VLANs after removing VLAN tags. Usage guidelines A hybrid port can carry multiple VLANs. If you execute the port hybrid vlan command multiple times, the VLANs that the hybrid port allows are the VLANs that are specified by vlan-list in each execution.

  • Page 116: Port Trunk Permit Vlan

    Usage guidelines To change the link type of a port from trunk to hybrid or vice versa, first set the link type to access. The configuration made in Layer 2 Ethernet interface view applies only to the port. • The configuration made in Layer 2 aggregate interface view applies to the aggregate interface •...

  • Page 117: Port Trunk Pvid

    The configuration made in Layer 2 aggregate interface view applies to the aggregate interface • and its aggregation member ports. 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 moves to the next member port.

  • Page 118

    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 moves to the next member port. Examples # Configure VLAN 100 as the PVID of the trunk port GigabitEthernet 3/0/1, and assign GigabitEthernet 3/0/1 to VLAN 100.

  • Page 119: Qinq Commands

    QinQ commands This document uses the following terms: CVLAN—Customer network VLANs, also called inner VLANs, refer to the VLANs that a • customer uses on the private network. SVLAN—Service provider network VLANs, also called outer VLANs, refer to the VLANs that a •...

  • Page 120: Qinq Enable

    [Sysname-GigabitEthernet3/0/1] quit [Sysname] interface GigabitEthernet 3/0/3 [Sysname-GigabitEthernet3/0/3] qinq enable [Sysname-GigabitEthernet3/0/3] display qinq Interface GigabitEthernet3/0/1 GigabitEthernet3/0/3 Table 25 Command output Field Description Interface Interface name. GigabitEthernet3/0/1 QinQ-enabled interface. Related commands qinq enable qinq enable Use qinq enable to enable QinQ on an Ethernet interface. Use undo qinq enable to restore the default.

  • Page 121

    Syntax qinq ethernet-type service-tag hex-value undo qinq ethernet-type service-tag Default The TPID value in SVLAN tags is 0x8100. Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view Predefined user roles network-admin mdc-admin Parameters service-tag: Sets the TPID value in the SVLAN tag. hex-value: Sets a hexadecimal TPID value, which is in the range of 0x0001 to 0xFFFF and excludes the common protocol type values listed in Table...

  • Page 123: Vlan Mapping Commands

    VLAN mapping commands display vlan translation Use display vlan translation to display VLAN mappings. Syntax In standalone mode: display vlan translation [ interface interface-type interface-number | slot slot-number ] In IRF mode: display vlan translation [ interface interface-type interface-number | chassis chassis-number slot slot-number ] Views Any view...

  • Page 124: Nest Top-most

    Dot1p : Inner Outer VLAN : 100 Inner VLAN Table 27 Command output Field Description Interface Name of the interface with VLAN mapping enabled. The action type is Nest, which indicates the action of adding VLAN Action tags to packets. 802.1p priority in the outer VLAN tag of packets.

  • Page 125

    [Sysname-behavior-b1] nest top-most vlan 123...

  • Page 126: Lldp Configuration Commands

    Global LLDP local-information: Chassis ID : b8af-6730-3200 System name : Sysname System description : HP Comware Software. HP 12508 Product Version 12500-CMW71 0-R7127. Copyright (c) 2010-2012 Hewlett-Packard Developm ent Company, L.P. System capabilities supported : Bridge, Router System capabilities enabled...

  • Page 127: Display Lldp Neighbor-information

    SoftwareRev : 7.1.034 R7127 SerialNum : Unknown Manufacturer name : HP Model name : 12508 Asset tracking identifier : Unknown Table 28 Command output Field Description Global LLDP local-information Global LLDP information to be sent. Chassis ID Bridge MAC address of the device.

  • Page 128

    Time to live : 120 Port description : GigabitEthernet3/0/1 Interface System name : Sysname System description : HP Comware Platform Software System capabilities supported : Bridge, Router System capabilities enabled : Bridge, Router Management address type : IPv4 Management address : 192.168.1.55...

  • Page 129

    Sequence number Acknowledge number : 0 DCBX ETS subTLV info: Local priority Percentage DCBX PFC subTLV info: P0-0 P1-0 P2-1 P3-1 P4-0 P5-0 P6-0 P7-0 DCBX APP subTLV info: CoS map: 0x10 Auto-negotiation supported : Yes Auto-negotiation enabled : Yes OperMau : Speed(1000)/Duplex(Full) Power port class...

  • Page 130

    Manufacturer name : Unknown Model name : Unknown Asset tracking identifier : Unknown Unknown basic TLV: TLV type : 23 TLV information : 0x00140014 Unknown organizationally-defined TLV: TLV OUI : 00-12-bb TLV subtype : 21 Index TLV information : 0x556e6b6e 6f776e CDP neighbor-information of port 1[GigabitEthernet3/0/1]: CDP neighbor index Chassis ID...

  • Page 131

    System name Local interface Chassis ID Port ID System1 GE3/0/1 000f-e25d-ee91 GigabitEthernet3/0/5 System2 GE3/0/2 000f-e25d-ee92 GigabitEthernet3/0/6 System3 GE3/0/3 000f-e25d-ee93 GigabitEthernet3/0/7 Table 29 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.

  • Page 132

    Field Description Capabilities supported on the neighboring device: • Repeater—Signal repeating is supported. • Bridge—Switching is supported. • WlanAccessPoint—The neighboring device can serve as a wireless access point. • Router—Routing is supported. System capabilities supported • Telephone—The neighboring device can serve as a telephone. •...

  • Page 133

    Field Description Application protocol–to-CoS mapping. DCBX APP subTLV info This field is not displayed, and only the following CoS map information is displayed in DCBX Rev 1.00. Application protocol number type: • ID type APP protocol. • TCP or UDP port. Protocol ID Application protocol number.

  • Page 134

    Field Description Media policy type: • unknown. • voice. • voiceSignaling. • guestVoice. Media policy type • guestVoiceSignaling. • softPhoneVoice. • videoconferencing. • streamingVideo. • videoSignaling. Unknown policy Indicates whether the media policy is unknown. VLAN tagged Indicates whether packets of the media VLAN are tagged. Media policy VLAN ID ID of the media VLAN.

  • Page 135: Display Lldp Statistics

    Field Description HardwareRev Hardware version. FirmwareRev Firmware version. SoftwareRev Software version. SerialNum Serial number. Manufacturer name Device manufacturer. Model name Device model. TLV type Unknown basic TLV type. TLV information Information contained in the unknown basic TLV type. Unknown organizationally-defined Unknown organizationally specific TLV.

  • Page 136: Display Lldp Status

    mdc-operator Parameters global: Displays the global LLDP statistics. interface interface-type interface-number: Specifies a port by its type and number. Usage guidelines If no keyword or argument is specified, this command displays the global LLDP statistics and the LLDP statistics of all ports. Examples # Display the global LLDP statistics and the LLDP statistics of all ports.

  • Page 137

    Syntax display lldp status [ interface interface-type interface-number ] Views Any view Predefined user roles network-admin network-operator mdc-admin mdc-operator Parameters interface interface-type interface-number: Specifies a port by its type and number. Usage guidelines If no port is specified, this command displays the global LLDP status and the LLDP status information of all ports.

  • Page 138: Display Lldp Tlv-config

    Field Description LLDP neighbor information last Time when the neighbor information was last updated. changed time Transmit interval LLDPDU transmit interval. Hold multiplier TTL multiplier. Reinit delay LLDP re-initialization delay. Transmit delay LLDPDU transmit delay. Trap interval Trap transmit interval. Number of LLDPDUs sent each time fast LLDPDU transmission is Fast start times triggered.

  • Page 139

    Parameters interface interface-type interface-number: Specifies a port by its type and number. Usage guidelines If no port is specified, this command displays the types of advertisable optional TLVs of all ports. Examples # Display the types of advertisable optional LLDP TLVs of interface GigabitEthernet 3/0/1. <Sysname>...

  • Page 140: Lldp Admin-status

    Field Description IEEE 802.1 organizationally specific TLVs: • Port VLAN ID TLV. • IEEE 802.1 extended TLV Port and protocol VLAN ID TLV. • VLAN name TLV. • DCBX TLV (not supported). IEEE 802.3 organizationally specific TLVs: • MAC-Physic TLV. The switch cannot send this type of TLVs but can receive them.

  • Page 141: Lldp Check-change-interval

    <Sysname> system-view [Sysname] interface GigabitEthernet 3/0/1 [Sysname-GigabitEthernet3/0/1] lldp admin-status rx lldp check-change-interval Use lldp check-change-interval to enable LLDP polling and set the polling interval. Use undo lldp check-change-interval to disable LLDP polling. Syntax lldp check-change-interval interval undo lldp check-change-interval Default LLDP polling is disabled.

  • Page 142: Lldp Compliance Cdp

    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 enable CDP-compatible LLDP globally and then configure CDP-compatible LLDP to operate in TxRx mode on the specified ports.

  • Page 143: Lldp Enable

    Related commands lldp hold-multiplier • lldp timer tx-interval • lldp enable Use lldp enable to enable LLDP on a port. Use undo lldp enable to disable LLDP on a port. Syntax lldp enable undo lldp enable Default LLDP is enabled on a port. Views Layer 2 Ethernet interface view, Layer 3 Ethernet interface view Predefined user roles...

  • Page 144: Lldp Fast-count

    Predefined user roles network-admin mdc-admin Usage guidelines LLDP-CDP packets use only SNAP encapsulation. Examples # Configure the encapsulation format for LLDPDUs as SNAP on GigabitEthernet 3/0/1. <Sysname> system-view [Sysname] interface GigabitEthernet 3/0/1 [Sysname-GigabitEthernet3/0/1] lldp encapsulation snap lldp fast-count Use lldp fast-count to set the number of LLDPDUs sent each time fast LLDPDU transmission is triggered.

  • Page 145: Lldp Hold-multiplier

    Use undo lldp global enable to disable LLDP globally. Syntax lldp global enable undo lldp global enable Default LLDP is globally disabled. Views System view Predefined user roles network-admin mdc-admin Usage guidelines LLDP takes effect only when LLDP is enabled both globally and on the port. Examples # Disable LLDP globally.

  • Page 146: Lldp Management-address-format String

    Usage guidelines The TTL TLV carried in an LLDPDU determines how long the device information carried in the LLDPDU can be saved on a recipient device. By setting the TTL multiplier, you can configure the TTL of locally sent LLDPDUs, which determines how long information about the local device can be saved on a neighboring device.

  • Page 147: Lldp Notification Med-topology-change Enable

    lldp notification med-topology-change enable Use lldp notification med-topology-change enable to enable LLDP-MED trapping. Use undo lldp notification med-topology-change enable to disable LLDP-MED trapping. Syntax lldp notification med-topology-change enable undo lldp notification med-topology-change enable Default LLDP-MED trapping is disabled on ports. Views Layer 2 Ethernet interface view, Layer 3 Ethernet interface view Predefined user roles...

  • Page 148: Lldp Timer Notification-interval

    lldp timer notification-interval Use lldp timer notification-interval to set the LLDP trap transmit interval and LLDP-MED trap transmit interval. Use undo lldp timer notification-interval to restore the default. Syntax lldp timer notification-interval interval undo lldp timer notification-interval Default The LLDP trap transmit interval and LLDP-MED trap transmit interval are both 5 seconds. Views System view Predefined user roles...

  • Page 149: Lldp Timer Tx-delay

    Examples # Set the LLDP re-initialization delay to 4 seconds. <Sysname> system-view [Sysname] lldp timer reinit-delay 4 lldp timer tx-delay Use lldp timer tx-delay to set the LLDPDU transmit delay. Use undo lldp timer tx-delay to restore the default. Syntax lldp timer tx-delay delay undo lldp timer tx-delay Default...

  • Page 150: Lldp Tlv-enable

    Default The LLDPDU transmit interval is 30 seconds. Views System view Predefined user roles network-admin mdc-admin Parameters interval: Sets the LLDPDU transmit interval in the range of 5 to 32768 seconds. Usage guidelines It is a good practice to set the LLDPDU transmit interval to be no less than four times the LLDPDU transmit delay.

  • Page 151

    mac-physic | max-frame-size | power } | med-tlv { all | capability | inventory | location-id { civic-address device-type country-code { ca-type ca-value }&<1-10> | elin-address tel-number } | power-over-ethernet } } undo lldp tlv-enable { basic-tlv { all | management-address-tlv [ ip-address ] | port-description | system-capability | system-description | system-name } | dot3-tlv { all | link-aggregation | mac-physic | max-frame-size | power } | med-tlv { all | capability | inventory | location-id | power-over-ethernet } }...

  • Page 152

    vlan-name [ vlan-id ]: Advertises VLAN name TLVs. The vlan-id argument specifies a VLAN ID in the TLVs to be advertised, is in the range of 1 to 4094, and defaults to the lowest VLAN ID on the port. dot3-tlv: Advertises IEEE 802.3 organizationally specific LLDP TLVs. link-aggregation: Advertises link aggregation TLVs.

  • Page 153: Index

    Index A C D I L M N P Q R S V display stp tc,56 display vlan,99 active region-configuration,41 display vlan translation,118 check region-configuration,41 instance,57 interface bridge-aggregation,26 interface route-aggregation,26 default,95 interface vlan-interface,101 default,13 description,95 description,13 lacp period short,27 display interface,14 lacp system-priority,28...

  • Page 154

    loopback-detection global enable,93 loopback-detection interval-time,94 shutdown,36 shutdown,103 bpdu-protection,61 mac-address (interface view),4 bridge-diameter,61 mac-address (system view),5 compliance,62 mac-address mac-learning enable,7 config-digest-snooping,63 mac-address max-mac-count (interface view),8 cost,64 mac-address max-mac-count (VLAN view),9 edged-port,65 mac-address max-mac-count enable-forwarding enable,66 (interface view),10 stp global config-digest-snooping,67 mac-address max-mac-count enable-forwarding (VLAN view),11 stp global...

Comments to this Manuals

Symbols: 0
Latest comments: