H3C S7500E Series Command Reference Manual

H3C S7500E Series Command Reference Manual

Lan switching
Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

H3C S7500E Series Ethernet Switches
Layer 2 - LAN Switching
Command Reference
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Document Version: 20100930-C-1.01
Product Version: Release 6613 and Later

Advertisement

Table of Contents
loading

Summary of Contents for H3C S7500E Series

  • Page 1 H3C S7500E Series Ethernet Switches Layer 2 - LAN Switching Command Reference Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Document Version: 20100930-C-1.01 Product Version: Release 6613 and Later...
  • Page 2 SecPro, SecPoint, SecEngine, SecPath, Comware, Secware, Storware, NQA, VVG, V G, V G, PSPT, XGbus, N-Bus, TiGem, InnoVision and HUASAN are trademarks of Hangzhou H3C Technologies Co., Ltd. All other trademarks that may be mentioned in this manual are the property of their respective owners.
  • Page 3 Preface The H3C S7500E documentation set includes 12 command references, which describe the commands and command syntax options for the S7500E Release 6610 Series. The Layer 2 – LAN Switching Command Reference describes LAN switching configuration commands. It covers commands for implementing flow control and load balancing, isolating users in the same VLAN, eliminating Layer 2 loops, dividing VLANs, transmitting customer network frames through the public network, modifying VLAN tags of packets, remote managing the ONU device, and so on.
  • Page 4 Means reader be extremely careful. Improper operation may cause bodily injury. Means reader be careful. Improper operation may cause data loss or damage to equipment. Means a complementary description. About the H3C S7500E Documentation Set The H3C S7500E documentation set includes: Category Documents Purposes Marketing brochures Describe product specifications and benefits.
  • Page 5 H3C PSR6000-ACV Module User Manual power module. H3C PWR-SPA Power Describes the functions and appearance of the H3C Module Adapter User PWR-SPA power module adapter, and how to use it Manual with the PSR650 power module.
  • Page 6 Required software version Pluggable modules supported by the card Obtaining Documentation You can access the most up-to-date H3C product documentation on the World Wide Web at http://www.h3c.com. Click the links on the top navigation bar to obtain different categories of product documentation: [Technical Support &...
  • Page 7: Table Of Contents

    Table of Contents 1 Ethernet Interface Configuration Commands·························································································1-1 Ethernet Interface Configuration Commands ·························································································1-1 broadcast-suppression ····················································································································1-1 description ·······································································································································1-2 display interface brief·······················································································································1-3 display counters·······························································································································1-7 display counters rate ·······················································································································1-8 display interface·····························································································································1-10 display loopback-detection ············································································································1-15 display packet-drop interface ········································································································1-15 display packet-drop summary ·······································································································1-16 display port combo ························································································································1-17 display port-group manual ·············································································································1-18 display storm-constrain··················································································································1-19 duplex ············································································································································1-20...
  • Page 8 unicast-suppression·······················································································································1-42 virtual-cable-test ····························································································································1-43 2 OLT Configuration Commands ················································································································2-1 OLT Configuration Commands ···············································································································2-1 dba-algorithm enable·······················································································································2-1 dba-algorithm update·······················································································································2-2 dba-parameters ·······························································································································2-3 display epon-capability interface ·····································································································2-4 display epon-oam interface ·············································································································2-5 display epon-parameter slot ············································································································2-7 display epon-version interface·········································································································2-8 display epon-workmode interface····································································································2-9 display epon statistics interface·····································································································2-10 display fiber-backup group ············································································································2-11 display onu-event interface ···········································································································2-12 display onuinfo·······························································································································2-13...
  • Page 9 forward-error-correction enable·····································································································3-13 ip address ······································································································································3-14 linktest ···········································································································································3-15 loopback enable ····························································································································3-16 management-vlan··························································································································3-16 multicast-control host-aging-time ··································································································3-17 multicast-mode ······························································································································3-17 onu bind auto·································································································································3-18 onu bind batch ·······························································································································3-19 onu-event·······································································································································3-19 onu port-isolate enable ··················································································································3-20 onu-protocol enable·······················································································································3-21 onu-protocol igmp-snooping··········································································································3-22 port access vlan·····························································································································3-23 port link-type ··································································································································3-24 port trunk pvid vlan ························································································································3-24 reboot onu ·····································································································································3-25 reset counters uni ··························································································································3-25 shutdown management-vlan-interface ··························································································3-26...
  • Page 10 alarm frame-error-rate enable ·········································································································4-3 alarm llid-mismatch enable··············································································································4-4 alarm llid-mismatch threshold··········································································································4-4 alarm local-stable enable ················································································································4-5 alarm oam critical-event enable ······································································································4-6 alarm oam dying-gasp enable ·········································································································4-6 alarm oam error-symbol-period ·······································································································4-7 alarm oam error-symbol-period enable ···························································································4-8 alarm oam error-frame-period ·········································································································4-9 alarm oam error-frame-period enable ·····························································································4-9 alarm oam error-frame···················································································································4-10 alarm oam error-frame enable·······································································································4-11 alarm oam error-frame-seconds-summary····················································································4-12...
  • Page 11 mac-address max-mac-count (Interface view) ················································································7-9 mac-address timer·························································································································7-10 8 MAC Information Configuration Commands ··························································································8-1 MAC Information Configuration Commands ···························································································8-1 mac-address information enable (Ethernet interface view)·····························································8-1 mac-address information enable (system view)··············································································8-2 mac-address information interval ····································································································8-2 mac-address information mode·······································································································8-3 mac-address information queue-length···························································································8-3 9 Ethernet Link Aggregation Configuration Commands ··········································································9-1 Ethernet Link Aggregation Configuration Commands ············································································9-1 description ·······································································································································9-1 display interface bridge-aggregation ·······························································································9-1...
  • Page 12 display stp root ····························································································································11-16 display stp tc································································································································11-17 instance ·······································································································································11-19 region-name ································································································································11-20 reset stp·······································································································································11-20 revision-level································································································································11-21 stp bpdu-protection······················································································································11-22 stp bridge-diameter······················································································································11-22 stp compliance·····························································································································11-23 stp config-digest-snooping ··········································································································11-24 stp cost ········································································································································11-24 stp edged-port ·····························································································································11-25 stp enable ····································································································································11-26 stp loop-protection ·······················································································································11-27 stp max-hops ·······························································································································11-28 stp mcheck ··································································································································11-29 stp mode······································································································································11-29 stp no-agreement-check··············································································································11-30 stp pathcost-standard ··················································································································11-31...
  • Page 13 reset counters interface vlan-interface ··························································································13-8 shutdown ·······································································································································13-9 vlan ················································································································································13-9 Port-Based VLAN Configuration Commands······················································································13-11 display port ··································································································································13-11 port···············································································································································13-12 port access vlan···························································································································13-12 port hybrid pvid ····························································································································13-13 port hybrid vlan ····························································································································13-14 port link-type ································································································································13-16 port trunk permit vlan···················································································································13-17 port trunk pvid······························································································································13-19 MAC Address-Based VLAN Configuration Commands ······································································13-20 display mac-vlan··························································································································13-20 display mac-vlan interface···········································································································13-22 mac-vlan enable ··························································································································13-22...
  • Page 14 voice vlan enable···························································································································16-4 voice vlan mac-address·················································································································16-4 voice vlan mode auto·····················································································································16-5 voice vlan qos································································································································16-6 voice vlan qos trust························································································································16-7 voice vlan security enable ·············································································································16-8 17 GVRP Configuration Commands ·········································································································17-1 GVRP Configuration Commands ··········································································································17-1 display garp statistics ····················································································································17-1 display garp timer ··························································································································17-2 display gvrp local-vlan ···················································································································17-3 display gvrp state···························································································································17-3 display gvrp statistics·····················································································································17-5 display gvrp status·························································································································17-6...
  • Page 15 lldp fast-count ······························································································································20-21 lldp hold-multiplier························································································································20-21 lldp management-address-format string······················································································20-22 lldp management-address-tlv ······································································································20-23 lldp notification remote-change enable························································································20-23 lldp timer notification-interval·······································································································20-24 lldp timer reinit-delay ···················································································································20-24 lldp timer tx-delay ························································································································20-25 lldp timer tx-interval ·····················································································································20-25 lldp tlv-enable ······························································································································20-26 21 Service Loopback Group Configuration Commands·········································································21-1 Service Loopback Group Configuration Commands ············································································21-1 display service-loopback group ·····································································································21-1 port service-loopback group ··········································································································21-2 service-loopback group ·················································································································21-3...
  • Page 16: Ethernet Interface Configuration Commands

    Ethernet Interface Configuration Commands Ethernet Interface Configuration Commands broadcast-suppression Syntax broadcast-suppression { ratio | pps max-pps | kbps max-kbps } undo broadcast-suppression View Ethernet interface view, port group view Default Level 2: System level Parameters ratio: Sets the broadcast suppression threshold as a percentage of the port transmission capability, in the range 1 to 100.
  • Page 17: Description

    If you set different broadcast suppression thresholds in Ethernet interface view or port-group view multiple times, the one configured last takes effect. For a particular type of traffic, configure either storm suppression or storm control, but not both. If both of them are configured, you may fail to achieve the expected storm control effect. Examples # Set the broadcast suppression threshold to 20% on Ethernet interface GigabitEthernet 2/0/1.
  • Page 18: Display Interface Brief

    Description Use the description command to change the description of the current interface. Use the undo description command to restore the default. The default description of an interface is the interface name plus Interface, GigabitEthernet2/0/1 Interface for example. Related commands: display interface. Examples # Change the description of interface GigabitEthernet 2/0/1 to lanswitch-interface.
  • Page 19 <Sysname> display interface brief The brief information of interface(s) under route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface Link Protocol Main IP Description GE2/0/10 DOWN DOWN NULL0 UP(s) Vlan1 192.168.0.102 The brief information of interface(s) under bridge mode: Link: ADM - administratively down;...
  • Page 20 GE2/0/3 GE2/0/4 100M(a) F(a) # Display the brief information about all but Ethernet interfaces. <Sysname> display interface brief | exclude GE The brief information of interface(s) under route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface Link Protocol Main IP Description...
  • Page 21 Field Description Physical link state of the interface: UP: The link is up. DOWN: The link is physically down. Link ADM: The link has been administratively shut down. To recover its physical state, perform the undo shutdown command. Stby: The interface is a standby interface. Protocol Protocol connection state of the interface, which can be UP, DOWN, or UP(s).
  • Page 22: Display Counters

    Field Description The port was brought down with the shutdown command. To restore the Administratively physical state of the interface, use the undo shutdown command. Link-Aggregation interface The aggregate interface corresponding to the aggregation group to which the down current interface belongs was shut down with the shutdown command. OAM connection fails (possibly because the connection fails to be OAM connection failure established or the current connection is disconnected).
  • Page 23: Display Counters Rate

    If no interface type is specified, this command displays traffic statistics for all interfaces that have traffic counters. Examples # Display inbound traffic statistics for all GigabitEthernet interfaces. <Sysname> display counters inbound interface gigabitethernet Interface Total(pkts) Broadcast(pkts) Multicast(pkts) Err(pkts) GE2/0/1 GE2/0/2 GE2/0/3 Overflow...
  • Page 24 outbound: Displays outbound traffic rate statistics. interface-type: Specifies an interface type. |: Filters command output by specifying a regular expression. For more information about regular expressions, see CLI Configuration in the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays the lines that do not match the specified regular expression.
  • Page 25: Display Interface

    Field Description --: not supported. The statistical item is not supported. display interface Syntax display interface [ interface-type [ interface-number ] ] [ | { begin | exclude | include } regular-expression ] View Any view Default Level 1: Monitor level Parameters interface-type: Specifies an interface type.
  • Page 26 Flow-control is not enabled The Maximum Frame Length is 9216 Broadcast MAX-ratio: 100% Unicast MAX-ratio: 100% Multicast MAX-ratio: 100% Allow jumbo frame to pass PVID: 1 Mdi type: auto Link delay is 0(sec) Port link-type: access Tagged VLAN ID : none Untagged VLAN ID : 1 Port priority: 0 Peak value of input: 0 bytes/sec, at 2000-04-26 17:18:22...
  • Page 27 Field Description Unknown unicast suppression threshold as a percentage of the port Unicast MAX-ratio transmission capability. When the threshold is exceeded, the port drops unknown unicast packets. Multicast suppression threshold as a percentage of the port transmission capability. When the threshold is exceeded, the port Multicast MAX-ratio drops multicast packets.
  • Page 28 Field Description Total number of inbound frames that contained checksum errors and frame a non-integer number of bytes. Number of packet drops because the input rate of the port exceeded - overruns the queuing capability. Total number of illegal packets received, including: Fragment frames: Frames that were shorter than 64 bytes (with an integral or non-integral length) and contained checksum errors Jabber frames: Frames that were longer than the maximum frame...
  • Page 29 Field Description Number of frames that the port deferred to transmit because of deferred detected collisions. Number of frames that the port stopped transmitting because Ethernet collisions collisions were detected during transmission. Number of frames that the port deferred to transmit after transmitting late collisions their first 512 bits, because of detected collisions.
  • Page 30: Display Loopback-Detection

    display loopback-detection Syntax display loopback-detection [ | { begin | exclude | include } regular-expression ] View Any view Default Level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see CLI Configuration in the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
  • Page 31: Display Packet-Drop Summary

    |: Filters command output by specifying a regular expression. For more information about regular expressions, see CLI Configuration in the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays the lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
  • Page 32: Display Port Combo

    Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see CLI Configuration in the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays the lines that do not match the specified regular expression.
  • Page 33: Display Port-Group Manual

    GigabitEthernet2/0/12 GigabitEthernet2/0/26 GigabitEthernet2/0/23 GigabitEthernet2/0/27 GigabitEthernet2/0/24 GigabitEthernet2/0/28 Table 1-8 display port combo command output description Field Description Combo interfaces of the device, represented by Combo interface numbers, which Combo-group are generated by the system. Active Ports of the Combo interfaces that are active Inactive Ports of the Combo interfaces that are inactive As for the optical port and the electrical port of a Combo interface, the one with the smaller port...
  • Page 34: Display Storm-Constrain

    <Sysname> display port-group manual The following manual port group exist(s): group1 group2 # Display detailed information about all port groups. <Sysname> display port-group manual all Member of group1: GigabitEthernet2/0/3 GigabitEthernet2/0/4 GigabitEthernet2/0/5 GigabitEthernet2/0/6 GigabitEthernet2/0/7 Member of group2: None # Display detailed information about port group group1. <Sysname>...
  • Page 35: Duplex

    If you provide no argument or keyword, this command displays all storm control settings on all storm control-enabled interfaces. Examples # Display the storm control settings on all storm control-enabled ports. <Sysname> display storm-constrain Abbreviation: BC - broadcast; MC - multicast; UC - unicast Flow Statistic Interval: 5(second) PortName Type LowerLimit UpperLimit CtrMode Status Trap Log SwiNum Unit...
  • Page 36: Flow-Control

    View Ethernet interface view Default Level 2: System level Parameters auto: Sets the interface to operate in auto-negotiation mode. full: Sets the interface to operate in full duplex mode. half: Sets the interface to operate in half-duplex mode. This keyword is not available for the optical port of an SFP port and the electrical port of an Ethernet port whose port rate is configured as 1000 Mbps.
  • Page 37: Flow-Interval

    When congested, the interface sends a flow control frame to its peer. Upon receiving a flow control frame from the peer, the interface suspends sending packets. To implement flow control on a link, you must enable the generic flow control function at both ends of the link.
  • Page 38: Interface

    Description Use the group-member command to assign Ethernet interfaces to a port group. Use the undo group-member command to remove Ethernet interfaces from the port group. By default, there is no Ethernet interface in a manual port group. When you assign multiple Ethernet interfaces to a specific manual port group with the group-member interface-type interface-start-number to interface-type interface-end-number command, make sure that: All specified Ethernet interfaces are on the same card and of the same type.
  • Page 39: Link-Delay

    Parameters value: Maximum length of Ethernet frames that are allowed to pass through, in the range of 1536 to 9216 bytes. Description Use the jumboframe enable command to allow jumbo frames with the specified length to pass through an Ethernet interface. Use the undo jumboframe enable command to prevent frames longer than 1518 bytes from passing through an Ethernet port.
  • Page 40: Link-Delay Mode

    For an Ethernet port, the link-delay command cannot take effect on ports that are manually disabled using the shutdown command. It is recommended that you do not use this command on ports that are not enabled with RRPP, SMTP, or Smart Link. Examples # Set the down suppression time of the physical connection of an Ethernet port to 8 seconds.
  • Page 41: Loopback

    loopback Syntax loopback { external | internal } undo loopback View Ethernet interface view Default Level 2: System level Parameters external: Enables external loopback testing on the Ethernet port. External loopback testing is also called remote loopback testing. internal: Enables internal loopback testing on the Ethernet port. Description Use the loopback command to enable loopback testing on an Ethernet interface.
  • Page 42: Loopback-Detection Control Enable

    Parameters no-learning: Disables MAC address learning on the interface. semi-block: Blocks all packets but STP BPDUs. shutdown: Shuts down the Ethernet interface. To bring up the interface again, use the undo shutdown command. Description Use the loopback-detection action command to configure the action for loop protection on Ethernet interfaces.
  • Page 43: Loopback-Detection Enable

    Description Use the loopback-detection control enable command to enable loopback detection control on trunk or hybrid ports. Use the undo loopback-detection control enable command to restore the default. By default, loopback detection control is disabled on trunk and hybrid ports. When a hybrid or trunk port detects a loop condition, it sends traps, whether loopback detection control is enabled or not.
  • Page 44: Loopback-Detection Interval-Time

    Table 1-11 Actions taken upon detection of a loop condition Actions Port type No protective action configured A protective action configured Put the port in controlled mode. The Perform configured protective port discards all incoming packets, action. but still forwards outgoing traffic. Access port Create traps and log messages.
  • Page 45: Loopback-Detection Multi-Port-Mode Enable

    Examples # Set the loopback detection interval to 10 seconds. <Sysname> system-view [Sysname] loopback-detection interval-time 10 loopback-detection multi-port-mode enable Syntax loopback-detection multi-port-mode enable undo loopback-detection multi-port-mode enable View System view Default Level 2: System level Parameters None Description Use the loopback-detection multi-port-mode enable command to enable multi-port loopback detection mode.
  • Page 46: Loopback-Detection Per-Vlan Enable

    [Sysname] loopback-detection multi-port-mode enable [Sysname] interface gigabitethernet 2/0/1 [Sysname-GigabitEthernet2/0/1] loopback-detection enable [Sysname] interface gigabitethernet 2/0/2 [Sysname-GigabitEthernet2/0/2] loopback-detection enable loopback-detection per-vlan enable Syntax loopback-detection per-vlan enable undo loopback-detection per-vlan enable View Ethernet interface view, port group view Default Level 2: System level Parameters None Description...
  • Page 47: Multicast-Suppression

    auto: Sets the MDI mode to auto. In this mode, the port negotiates pin roles with its peer. normal: Sets the MDI mode to normal. In normal mode, pins 1 and 2 of the port are transmit pins, and pins 3 and 6 are receive pins. Description Use the mdi command to configure the MDI mode of a copper Ethernet interface.
  • Page 48: Port Connection-Mode

    Description Use the multicast-suppression command to set the multicast suppression threshold on an Ethernet interface in interface view or a group of Ethernet interfaces in port group view. Use the undo multicast-suppression command to restore the default. By default, Ethernet interfaces do not suppress multicast traffic. If you execute this command in Ethernet interface view, the configurations take effect only on the current interface.
  • Page 49: Port-Group Manual

    Use the undo port connection-mode command to restore the default. The default connection mode of an interface is normal. However, when you configure an OAA application, to ensure the normal communication between the switch and the OAP card, you need to set the connection mode of the interfaces connecting the switch and the card to extended.
  • Page 50: Reset Packet-Drop Interface

    View User view Default Level 2: System level Parameters interface-type: Specifies an interface type. interface-number: Specifies an interface number. Description Use the reset counters interface command to clear the statistics of an interface. Before collecting traffic statistics for a specific period of time on an interface, clear the old statistics first.
  • Page 51: Shutdown

    Examples # Clear statistics of dropped packets on GigabitEthernet 2/0/1. <Sysname> reset packet-drop interface GigabitEthernet 2/0/1 # Clear statistics of dropped packets on all interfaces. <Sysname> reset packet-drop interface shutdown Syntax shutdown undo shutdown View Ethernet interface view, management Ethernet interface view, manual port group view Default Level 2: System level Parameters...
  • Page 52: Speed

    <Sysname> system-view [Sysname] port-group manual group1 [Sysname-port-group-manual-group1] group-member GigabitEthernet2/0/1 [Sysname-port-group-manual-group1] group-member GigabitEthernet2/0/2 [Sysname-port-group-manual-group1] shutdown speed Syntax speed { 10 | 100 | 1000 | auto } undo speed View Ethernet interface view Default Level 2: System level Parameters 10: Sets the interface speed to 10 Mbps. The optical interface does not support the 10 keyword 100: Sets the interface speed to 100 Mbps.
  • Page 53: Speed Auto

    speed auto Syntax speed auto [ 10 | 100 | 1000 ] * undo speed View Ethernet interface view Default Level 2: System level Parameters 10: Sets 10 Mbps as an option for speed auto negotiation. 100: Sets 100 Mbps as an option for speed auto negotiation. 1000: Sets 1000 Mbps as an option for speed auto negotiation.
  • Page 54: Unicast-Suppression·······················································································································1

    View Ethernet interface view Default Level 2: System level Parameters all: Disables storm control for all types of packets: broadcast, multicast, and unknown unicast. broadcast: Enables or disables broadcast storm control. multicast: Enables or disables multicast storm control. unicast: Enables or disables unknown unicast storm control. pps: Sets storm control thresholds in pps.
  • Page 55: Storm-Constrain Control

    <Sysname> system-view [Sysname] interface gigabitEthernet 2/0/1 [Sysname-GigabitEthernet2/0/1] storm-constrain multicast ratio 80 15 storm-constrain control Syntax storm-constrain control { block | shutdown } undo storm-constrain control View Ethernet interface view Default Level 2: System level Parameters block: Blocks the traffic detected crossing the upper storm control threshold. This action does not affect the forwarding of other types of traffic.
  • Page 56: Storm-Constrain Enable Trap

    Description Use the storm-constrain enable log command to enable an Ethernet interface to log storm control threshold events. Logged events include traffic exceeding the upper threshold and traffic falling below the lower threshold from the upper threshold. Use the undo storm-constrain enable log command to disable log sending. By default, a storm control-enabled port sends out log messages when monitored traffic exceeds the upper threshold or falls below the lower threshold from the upper threshold.
  • Page 57: Unicast-Suppression

    Default Level 2: System level Parameters seconds: Traffic polling interval (in seconds) of the storm control module. The value range is 1 to 300. Description Use the storm-constrain interval command to set the traffic polling interval of the storm control module.
  • Page 58: Virtual-Cable-Test

    For a Gigabit port, the value range is 1 to 1000000. For a 10-Gigabit port, the value range is 1 to 10000000. Description Use the unicast-suppression command to set the unknown unicast suppression threshold on an Ethernet interface view or a group of Ethernet interfaces in port group view. Use the undo unicast-suppression command to restore the default.
  • Page 59 Description Use the virtual-cable-test command to test the cable connection of an Ethernet interface. The test results are displayed within five seconds. The cable status can be: normal, if the cable is in good condition. abnormal, if any fault other than a short or open circuit is detected. abnormal (open), if an open circuit is detected.
  • Page 60: Olt Configuration Commands

    OLT Configuration Commands After an EPON card is installed in an S7500E switch, the switch can work as an OLT device in an EPON system. Note that: When the switch operates in standalone mode (that is, IRF is not enabled on the switch), the OLT function can operate normally;...
  • Page 61: Dba-Algorithm Update

    intdba: Enables the internal DBA algorithm, which is implemented through the chips of the device. Description Use the dba-algorithm enable command to specify that the OLT use the internal or external DBA algorithm to change the uplink bandwidth of each ONU in real time. Use the undo dba-algorithm update command to remove the loaded external DBA algorithm file and restore the use of the internal DBA algorithm.
  • Page 62: Dba-Parameters

    Description Use the dba-algorithm update command to load the specified external DBA algorithm file. Related commands: dba-algorithm enable. Examples # Load the external DBA algorithm file plato2.app. <Sysname> system-view [Sysname] interface olt 3/0/1 [Sysname-Olt3/0/1] dba-algorithm update plato2.app Updating external DBA-algorithm..dba-parameters Syntax dba-parameters { discovery-frequency value | discovery-length value | cycle-length value } *...
  • Page 63: Display Epon-Capability Interface

    [Sysname] interface olt 3/0/1 [Sysname-Olt3/0/1] dba-parameters discovery-frequency 30 display epon-capability interface Syntax display epon-capability interface interface-type interface-number View Any view Default Level 2: System level Parameters interface-type: Port type, which can be OLT or ONU. interface-number: OLT/ONU port number. As for the interface-number argument, the format of LPU slot number/sub-LPU slot number/OLT port number is used for OLT ports;...
  • Page 64: Display Epon-Oam Interface

    Because location distance and external conditions of each ONU are different, the received signal maybe strong or weak. AGC time is the time used by the OLT to automatically restore the strength of the received signal to an acceptable level. CDR time is the time used by the OLT to synchronize the phase and frequency of received signals.
  • Page 65 Description Use the display epon-oam interface command to display the operation, administration, and maintenance (OAM) information about an ONU. To display the OAM information about an ONU, make sure the ONU is online. Examples # Display the OAM information about an ONU. <Sysname>...
  • Page 66: Display Epon-Parameter Slot

    Field Description Maximal PDU size(byte) Maximum PDU size (in bytes) Enterprise number Enterprise identifier display epon-parameter slot Syntax display epon-parameter slot slot-number View Any view Default Level 1: Monitor level Parameters slot-number: Slot number of the EPON service board. Description Use the display epon-parameter slot command to display related information of EPON parameters, such as message timeout time in extended OAM discovery, OUI and extended OAM version number list, and encrypted parameters.
  • Page 67: Display Epon-Version Interface

    Field Description eoam-discovery-timeout : 3.0s Extended OAM discovery timeout time, in seconds display epon-version interface Syntax display epon-version interface interface-type interface-number View Any view Default Level 2: System level Parameters interface-type: Port type, which can be OLT or ONU. interface-number: OLT/ONU port number. Description Use the display epon-version interface command to display OLT or ONU version information.
  • Page 68: Display Epon-Workmode Interface

    A Logical Link Identifier (LLID) uniquely identifies an ONU. It is dynamically allocated by an OLT. display epon-workmode interface Syntax display epon-workmode interface interface-type interface-number View Any view Default Level 2: System level Parameters interface-type: Port type, which can be OLT or ONU. interface-number: OLT/ONU port number.
  • Page 69: Display Epon Statistics Interface

    Working status: open FEC mode : disable Table 2-6 display epon-workmode command output description Field Description Status: open The OLT is open. The MAC address the OLT resides is 000f-e2a1-1027. MAC ADDR: 000f-e2a1-1027 All the OLT ports under a switch use the same MAC address. DBA mode: internal Internal DBA algorithm is adopted.
  • Page 70: Display Fiber-Backup Group

    CNI Bit error rate(in 1e-9 unit): 0 # Display the statistics of an ONU port. <Sysname> display epon statistics interface onu 3/0/1:1 ONU statistics: Bit error rate(in 1e-9 unit) : 0 Frame error rate(in 1e-9 unit): 0 Table 2-7 display epon statistics interface command output description Field Description PON Bit error rate(in 1e-9 unit)
  • Page 71: Display Onu-Event Interface

    Field Description Role of the OLT port in the backup group: Role MASTER: master port SLAVE: slave port OLT port state: ACTIVE: The master port is active (the chip is active and the optical module is plugged in). State READY: The slave port is ready and a master-slave switchover can be performed.
  • Page 72: Display Onuinfo

    Table 2-9 display onu-event interface command output description Field Description Date Date of the ONU event Time Time of the ONU event ONU event: ONU Event Registration Deregistration ONU status when an ONU event occurs: ONU Status Up: when the ONU status is up, the ONU is deregistered. Down: when the ONU status is down, the ONU is registered.
  • Page 73 000f-e276-4b93 Onu4/0/1:2 ET704-A-L/B 110/100 --- 1 entry found --- # Display the information about all the ONUs on the EPON card in slot 4. <Sysname> display onuinfo slot 4 -------------------------------- Olt4/0/1 ------------------------------- ONU Mac Address LLID Dist(M) Port Board/Ver Sft/Epm State Aging 000f-e276-4b93 Onu4/0/1:2 ET704-A-L/B 110/100...
  • Page 74: Display Onuinfo Mac-Address

    display onuinfo mac-address Syntax display onuinfo mac-address mac-address View Any view Default Level 2: System level Parameters mac-address: MAC address of the ONU. Description Use the display onuinfo mac-address command to display the information about the legal ONU with the specified MAC address. Examples # Display the information about the legal ONU with the specified MAC address.
  • Page 75: Display Optics-Parameters Interface

    ONU Mac Address LLID Dist(M) Port Board/Ver Sft/Epm State Aging 000f-e276-4b91 N/A Silent 252s -------------------------------- Olt4/0/3 ------------------------------ Error: The port's state should be up! -------------------------------- Olt4/0/4 ------------------------------ ONU Mac Address LLID Dist(M) Port Board/Ver Sft/Epm State Aging 000f-e276-4b93 N/A Silent 300s --- 3 entries found --- # Display the information about all the silent ONUs connected to OLT 4/0/1.
  • Page 76 Optics end of grant duration: Optics end of grant polarity: Discovery re-locking: disable Laser Rx loss signal polarity: EPON optics transmission signal polarity: low Optics dead zone: Use optics signal loss: false EPON port link indication polarity: CNI port link indication polarity: high EPON tbc polarity: Discovery laser on time:...
  • Page 77: Display Transceiver Diagnosis Interface Onu

    Field Description End of grant reset activation offset Optics end of grant gate offset: (Optics) End of grant reset pulse duration Optics end of grant duration: (Optics) End of grant reset pulse duration Optics end of grant polarity: (Optics) Discovery re-locking: Whether to disable or enable the Rx PHY re-locking disable mechanism during discovery window...
  • Page 78 Default Level 1: Monitor level Parameters interface-number: ONU port number. Description Use the display transceiver diagnosis interface onu command to display information about the ONU connected to the specified ONU port, including its temperature, receive optical power, and transmit optical power. Currently, the LSQ4PT4PSC, LSQ4PT8PSC, and LSQ4PT16PSC line cards support this command.
  • Page 79: Encryption Timer

    encryption timer Syntax encryption timer { update-time update-time | no-reply-timeout timeout }* slot slot-number undo encryption timer slot slot-number View FTTH view Default Level 2: System level Parameters update-time: Key update time, in seconds. It is in the range 1 to 255 and defaults to 10. timeout: Encryption reply timeout time, in a unit of 100 ms.
  • Page 80: Fiber-Backup Group

    By default, the OUI and extended OAM version number are 111111 and 1 respectively. After this configuration, an H3C ONU attached to an OLT goes online after being bound with the specified ONU port (The OUI and extended OAM version number for an H3C ONU are 111111 and 1 respectively).
  • Page 81: Grant-Filtering Enable

    You can only delete a fiber backup group without any member ports. Examples # Create fiber backup group 1 and enter fiber backup group view. <Sysname> system-view [Sysname] ftth [Sysname-ftth] fiber-backup group 1 Create group 1 successfully. [Sysname-fiber-group1] grant-filtering enable Syntax grant-filtering enable undo grant-filtering enable...
  • Page 82: Max-Rtt

    Parameters interface-type: Port type. It is OLT interface-number: OLT port number. Description Use the group member command to add an OLT port to a fiber backup group (the group must exist). Use the undo group member command to remove an OLT port from a fiber backup group. Related commands: fiber-backup group.
  • Page 83: Multicast Vlan-Id Dest

    multicast vlan-id dest-ip Syntax multicast vlan-id vlan-id dest-ip ip-address-list undo multicast vlan-id vlan-id dest-ip ip-address-list View FTTH view Default Level 1: Monitor level Parameters vlan-id: Multicast VLAN ID, in the range 1 to 4094. ip-address-list: Multicast IP address(es). ip-address-list = { ip-address | ip-address to ip-address } &<1-10>.
  • Page 84: Port Hybrid Pvid Vlan

    Examples # In OLT port view, add OLT 3/0/1 to fiber backup group 1. <Sysname> system-view [Sysname] ftth [Sysname-ftth] fiber-backup group 1 Create group ID successfully. [Sysname-fiber-group1] quit [Sysname] interface olt 3/0/1 [Sysname-Olt3/0/1] port fiber-backup group 1 port hybrid pvid vlan Syntax port hybrid pvid vlan vlan-id undo port hybrid pvid...
  • Page 85: Port Link-Type Hybrid

    View OLT port view Default Level 2: System level Parameters vlan-id-list: VLANs that the hybrid ports will be assigned to. This argument is expressed in the format of [ vlan-id1 [ to vlan-id2 ] ]&<1-10>, where vlan-id ranges from 1 to 4094 and &<1-10> indicates that you can specify up to 10 VLAN IDs or VLAN ID ranges.
  • Page 86: Port Switch-Over

    Default Level 2: System level Parameters None Description Use the port link-type hybrid command to configure the OLT port as a hybrid port. By default, any OLT port is an hybrid port. Related commands: port hybrid vlan, port hybrid pvid vlan. Examples # Configure OLT 3/0/1 as a hybrid port.
  • Page 87: Using Onu

    Examples # Enable Layer-2 communication between the ONUs attached to OLT 3/0/1. <Sysname> system-view [Sysname] interface olt 3/0/1 [H3C-Olt3/0/1] sme enable using onu Syntax using onu { onu-number1 [ to onu-number2 ] } &<1-10> undo using onu { onu-number1 [ to onu-number2 ] } &<1-10>...
  • Page 88 To use the interface command to enter ONU port view, use the using onu command to create the corresponding ONU port first. Examples # Create ONU 3/0/1:5 whose sub-channel number is 5 for OLT 3/0/1. <Sysname> system-view [Sysname] interface olt 3/0/1 [Sysname-Olt3/0/1] using onu 5 Please wait…Done.
  • Page 89: Onu Remote Management Configuration Commands

    ONU Remote Management Configuration Commands ONU Remote Management Configuration Commands bind onuid Syntax bind onuid onuid undo bind onuid View ONU port view Default Level 2: System level Parameters onuid: MAC address of the ONU to be bound, in the H-H-H format. Description Use the bind onuid command to bind the current ONU port to an ONU by associating the ONU port with the MAC address of the ONU.
  • Page 90: Dba-Report Queue-Set-Number

    Use the dba-report queue-set-number command to configure the number of queue sets supported by ONU Report frames. Use the undo dba-report queue-set-number command to restore the default number of queue sets supported by ONU Report frames. H3C's ONU Report frames support up to two queue sets.
  • Page 91: Deregister Onu

    Examples # Configure the number of queue sets supported by ONU Report frames as 2. <Sysname> system-view [Sysname] interface onu 3/0/1:1 [Sysname-Onu3/0/1:1] dba-report queue-set-number 2 deregister onu Syntax deregister onu View ONU port view Default Level 2: System level Parameters None Description Use the deregister onu command to deregister the ONU under the ONU port.
  • Page 92: Display Epon-Multicast Information

    Current machine state : BOUND Allocated IP : 192.168.0.7 255.255.255.0 Gateway IP : 192.168.0.2 Server IP : 192.168.0.1 Allocated lease : 86400 seconds T1 to renew : 43200 seconds T2 to rebind : 75600 seconds T1 left : 43197 seconds T2 left : 75597 seconds This displays shows that the allocated IP address is 192.168.0.7, with subnet mask 255.255.255.0,...
  • Page 93 [Sysname-Onu3/0/1:1] display epon-multicast information Multicast-control information: None. # Display multicast control information when the multicast mode of the ONU is multicast control mode and multicast control information is generated. [Sysname-Onu3/0/1:1] display epon-multicast information Multicast-control information: ------------------------------- UNI number 1: Multicast vlan 10 Current channel list: multicast ip:225.0.0.2 status:permit...
  • Page 94: Display Onu-Protocol

    If no parameter is specified, the information about all the protocols that the ONU supports is displayed. This command takes effect on H3C ONUs only. STP runs normally only when all attached ONUs are H3C ONUs. The output of this command may vary with ONU models.
  • Page 95: Display Vendor-Specific Information

    # Display the detailed ONU information of ONU 3/0/1:1. <Sysname> system-view [Sysname] interface onu 3/0/1:1 [Sysname-Onu3/0/1:1] display vendor-specific information serial number vendor id : H3C onu mac address : 000f-e276-4b93 onu model : 0x704 onu hardware version : A onu software version : 110...
  • Page 96 fast ethernet ports : pots ports number : 0 e1 ports number : 0 upstream queues number : 4 Maximum queues per port upstream : 4 downstream queues number : 4 Maximum queues per port downstream : 4 battery backup : not support forward error correction ability : support forward error correction mode : disable DBA-Report parameters :...
  • Page 97: Display Uni-Information

    UNI number, in the range 1 to the number of UNI ports of the current ONU. The number of UNIs can be up to 80. Description Use the display uni-information command to display the state information about the current UNI. This command takes effect on H3C ONUs only.
  • Page 98 Examples # Display the state information about UNI 1 of the ONU. <Sysname> system-view [Sysname] interface onu 3/0/1:1 [Sysname-Onu3/0/1:1] display uni-information 1 uni-number : 1 ========================================================= Configuration : PHY admin state for ethernet port : UP Flow-control : closed Auto-negotiation state : enable Port-isolate : disable Mid-type : auto Port-policy :...
  • Page 99 Field Description Administrative state of the port, which can be: UP: The port is brought up with the undo shutdown PHY admin state for ethernet port : UP command. DOWN: The port is manually shut down. Flow control state, which can be: Flow-control : closed open: Flow control is enabled.
  • Page 100: Encrypt Enable

    Field Description Input(total): 202 packets, 15270 bytes Totally, 202 packets (15270 bytes) are received. Among these packets, there are eight broadcast packets, 0 multicast packets, 8 broadcasts, 0 multicasts, 194 194 unicast packets, and 0 pause frames. unicasts, 0 pauses Input: 0 input errors, 0 runts, 0 giants, 0 0 error frames, 0 runts, and 0 giants are received.
  • Page 101: Encrypt Key

    Description Use the encrypt key command to configure the encryption key. Use the undo encrypt command to restore the default encryption key. This command takes effect on H3C ONUs only. Currently, the encrypt key command is not supported. Examples # Configure the encryption key as test.
  • Page 102: Ip Address

    undo forward-error-correction enable View ONU port view Default Level 2: System level Parameters None Description Use the forward-error-correction enable command to enable forward error correction (FEC) on the OLT and ONUs. Use the undo forward-error-correction enable command to disable this function. This function is disabled by default.
  • Page 103: Linktest

    linktest Syntax linktest [ frame-number value | frame-size value | delay { on | off } | vlan-tag { on [ vlan-priority value | vlan-id value ] | off } ] * View ONU port view Default Level 2: System level Parameters frame-number value: Specifies the number of test frames.
  • Page 104: Loopback Enable

    loopback enable Syntax loopback enable undo loopback enable View ONU port view Default Level 2: System level Parameters None Description Use the loopback enable command to enable MAC loopback for the ONU. Use the undo loopback enable command to cancel loopback. By default, MAC loopback is not enabled for an ONU.
  • Page 105: Multicast-Control Host-Aging-Time

    Parameters vlan-id: Specifies the management VLAN ID, in the range 1 to 4094. Description Use the management-vlan command to configure the management VLAN of the ONU. Use the undo management-vlan command to restore the default management VLAN ID of the ONU. By default, VLAN 1 operates as the management VLAN of the ONU.
  • Page 106: Onu Bind Auto

    Default Level 2: System level Parameters igmp-snooping: Specifies the IGMP Snooping mode. multicast-control: Specifies the multicast control mode. Description Use the multicast-mode command to configure the multicast mode of the ONU. Use the undo multicast-mode command to restore the default. By default, the multicast mode of the ONU is IGMP Snooping.
  • Page 107: Onu Bind Batch

    onu bind batch Syntax onu bind batch [ slot slot-id ] View FTTH view Default Level 2: System level Parameters slot slot-id: Specifies a slot by its ID. Description Use the onu bind batch command to enable batch ONU binding. By default, batch ONU binding is disabled.
  • Page 108: Onu Port-Isolate Enable

    Description Use the onu-event { debug | log | trap } enable level command to specify the ONU to report log, debugging, or trap information to the OLT. Use the undo onu-event { debug | log | trap } command to restore the default. By default, an ONU reports no information to the OLT.
  • Page 109: Onu-Protocol Enable

    undo onu port-isolate enable View ONU port view Default Level 2: System level Parameters None Description Use the onu port-isolate enable command to isolate all UNI ports of the ONU. Use the undo onu port-isolate enable command to disable UNI port isolation. By default, UNI port isolation is disabled.
  • Page 110: Onu-Protocol Igmp-Snooping

    PPPoE+ are disabled for the ONU. This command takes effect on H3C ONUs only. STP runs normally only when all attached ONUs are H3C ONUs. When STP is enabled globally on the S7500E switch, make sure all the ONUs are enabled with STP and no ONU acts as an STP root bridge to avoid network anomalies.
  • Page 111: Port Access Vlan

    The aging time of the router port should be a value about 2.5 times of the general query interval. This command takes effect on H3C ONUs only. Examples # Enable IGMP join suppression on the ONU.
  • Page 112: Port Link-Type

    Examples # Add port ONU3/0/1:1 to VLAN 3. <Sysname> system-view [Sysname] vlan 3 [Sysname-vlan3] quit [Sysname] interface onu 3/0/1:1 [Sysname-Onu3/0/1:1] port access vlan 3 port link-type Syntax port link-type { access | trunk } undo port link-type View ONU port view Default Level 2: System level Parameters...
  • Page 113: Reboot Onu

    Default Level 2: System level Parameters vlan-id: VLAN ID, in the range of 1 to 4,094 Description Use the port trunk pvid vlan command to set the default VLAN ID of the ONU port configured as a trunk port. Use the undo port trunk pvid command to restore the default. By default, the default VLAN on a Trunk port is VLAN 1.
  • Page 114: Shutdown Management-Vlan-Interface

    Use the reset counters uni command to clear the counter information of the specified UNI port. If no UNI is specified, the counter information of all the UNIs of the ONU is cleared. This command takes effect on H3C ONUs only. To use this command, make sure the ONU is up.
  • Page 115: Uni Auto-Negotiation

    A management VLAN interface is down if all the Ethernet ports in the management VLAN of the ONU are down; A management VLAN interface is up if one or more Ethernet ports in the management VLAN of the ONU are up. Examples # Bring up the management VLAN interface of the ONU.
  • Page 116: Uni Duplex

    Use the uni duplex command to set the duplex mode for UNIs. Use the undo uni duplex command to restore the duplex mode on the current port to the default value. By default, the duplex mode on UNIs is full. This command takes effect on H3C ONUs only. 3-28...
  • Page 117: Uni Flow-Control

    Examples # Configure UNI 1 to operate in the auto-negotiation mode. <Sysname> system-view [Sysname] interface onu 3/0/1:1 [Sysname-Onu3/0/1:1] uni 1 duplex auto uni flow-control Syntax uni uni-number flow-control undo uni uni-number flow-control View ONU port view Default Level 2: System level Parameters uni-number: UNI number, in the range 1 to the number of UNI ports of the current ONU.
  • Page 118: Uni Mdi

    By default, the MDI mode for UNIs is auto, that is, the UNIs of the ONU can recognize the cable type automatically. This command takes effect on H3C ONUs only. Examples # Set the MDI mode of UNI 1 to auto.
  • Page 119: Uni Multicast-Control Multicast-Address

    undo uni-number multicast vlan { { vlan-id } & <1-50> | all } View ONU port view Default Level 2: System level Parameters uni-number: UNI number, in the range 1 to the number of UNI ports of the current ONU. The number of UNIs can be up to 80.
  • Page 120 rule: Specifies the access right of users connected to the specified UNI port to the specified multicast channel, which can be deny, permit, or preview time-slice. deny: Denies users access to the specified multicast channels. permit: Grants users access to the specified multicast channels. channel-number: Number of channels that can be accessed at the same time when the permit keyword is used, in the range 1 to 5.
  • Page 121: Uni Multicast-Group-Number

    This command takes effect only when the ONU works in the IGMP snooping mode. Related commands: multicast-mode. The maximum number of multicast channels supported by the UNI ports of an H3C ONU varies with ONU type, as shown in the following table.
  • Page 122: Uni Multicast-Strip-Tag Enable

    maximum number of multicast channels supported on the UNI ports of an ET704 series ONU is 64, the ONU will support 64 multicast channels. Examples # Allow the users connected to UNI 1 of the ONU to access up to 32 multicast channels at the same time.
  • Page 123: Uni Restart Auto-Negotiation

    Only one isolation group can be created on an ONU device. By default, a UNI is not in any isolation group. This command takes effect on H3C ONUs only. A UNI port of an ET254-L ONU can be added to an isolation group only when the UNI port's VLAN operation mode is the transparent transmission mode.
  • Page 124: Uni Speed

    Use the uni uni-number speed command to set the operating speed for a UNI. Use the undo uni uni-number speed command to restore the default operating speed for a UNI. By default, the operating speed of a UNI port is 100Mbps. This command takes effect on H3C ONUs only. 3-36...
  • Page 125: Uni Virtual-Cable-Test

    Examples Specify the speed for UNI 1 to 10 Mbps. <Sysname> system-view [Sysname] interface onu 3/0/1:1 [Sysname-Onu3/0/1:1] uni 1 speed 10 uni virtual-cable-test Syntax uni uni-number virtual-cable-test View ONU port view Default Level 2: System level Parameters uni-number: Number of an UNI on the ONU, in the range 1 to number of current ONU UNIs. The number of UNIs can be up to 80.
  • Page 126: Uni Vlan-Mode Tag Pvid

    Pair polarity: - Insertion loss: - db Return loss: - db Near-end crosstalk: - db Table 3-8 uni virtual-cable-test command output description Field Description Cable state, which can be normal, abnormal, abnormal(open), Cable status abnormal(short), or failure. Pair impedance mismatch. The hyphen “-” indicates that the test item is not Pair Impedance mismatch supported.
  • Page 127: Uni Vlan-Mode Translation Pvid

    If a UNI of an ET254-L ONU is added to an isolation group, the operation mode of the UNI port can be set to the transparent transmission mode only, but not VLAN tag mode or VLAN translation mode. If all ONU ports under an OLT port are access ports, to make sure that the packets received on the ONU port and PC are untagged packets, the VLAN operation mode of a UNI can only be configured as the transparent transmission mode.
  • Page 128: Uni Vlan-Mode Transparent

    If a UNI port of an ET254-L ONU is added to an isolation group, the operation mode of the UNI port can be set to the transparent transmission mode only, but not VLAN tag mode or VLAN Translation mode. When all the ONU ports under an OLT port are Access ports, the operation mode of the UNI port can be set to the transparent transmission mode only to ensure the ONU ports and user PCs receive untagged packets.
  • Page 129: Update Onu Filename

    If a UNI port of an ET254-L ONU is added to an isolation group, the operation mode of the UNI port can be set to the transparent transmission mode only, but not VLAN tag mode or VLAN Translation mode. If all ONU ports under an OLT port are access ports, to make sure that the packets received on the ONU port and PC are untagged packets, the VLAN operation mode of a UNI can only be configured as the transparent mode.
  • Page 130: Update Onu Onu-Type

    If the ONU corresponding to the ONU port is not online (because the ONU port is not bound with any ONU or the extended OAM connection fails on the bound ONU), the update process will not start until the ONU goes online. After the update command is issued, the OLT will wait 15 to 20 seconds before executing the command.
  • Page 131 Description Use the update onu onu-type command to update ONUs by type. Use the undo update onu onu-type command to cancel ONU update configuration by type. Note that this is a configuration command. It takes effect only on the specified type of ONUs on which no update command is configured under the ONU port.
  • Page 132: Upstream-Sla

    upstream-sla Syntax upstream-sla { minimum-bandwidth value1 | maximum-bandwidth value2 | delay { low | high } } * undo upstream-sla View ONU port view Default Level 2: System level Parameters minimum-bandwidth value1: Specifies the minimum uplink bandwidth, in the unit of 64 kbps. value1 is in the range 8 to 15200 and defaults to 32.
  • Page 133: Upstream-Sla Service

    Default Level 2: System level Parameters None Description Use the upstream-sla service-mode enable command to enable the ONU to allocate uplink bandwidth based on priority queues. Packets with 802.1p priority 0 or 1 belong to priority queue 0, packets with 802.1p priority 2 or 3 belong to priority queue 1, packets with 802.1p priorities 4 or 5 belong to priority queue 2, and packets with priorities 6 or 7 belong to priority queue 3.
  • Page 134 0, packets with 802.1p priority 2 or 3 belong to priority queue 1, packets with 802.1p priorities 4 or 5 belong to priority queue 2, and packets with priorities 6 or 7 belong to priority queue 3. Use the undo upstream-sla service command to restore the default uplink bandwidth for a priority queue.
  • Page 135: Alarm Configuration Commands

    Alarm Configuration Commands An alarm command executed in FTTH view takes effect on all the OLT ports of the system or all the ONUs under the OLT. An alarm command executed in OLT port view takes effect on the current port and all the ONUs under it.
  • Page 136: Alarm Bit-Error-Rate Enable

    Examples # Configure OLT 1/0/1 to monitor only the uplink data between OLT and ONU, and set the alarm threshold of bit error rate to 20. <Sysname> system-view [Sysname] interface olt 1/0/1 [Sysname-Olt1/0/1] alarm bit-error-rate direction uplink threshold 20 alarm bit-error-rate enable Syntax alarm bit-error-rate enable undo alarm bit-error-rate enable...
  • Page 137: Alarm Frame-Error-Rate

    When fatal errors occur to the device, the device fatal error alarm is generated. If the device does not detect the same error again within two minutes, the device fatal error alarm is removed. Examples # Enable the device fatal error alarm on OLT 3/0/1. <Sysname>...
  • Page 138: Alarm Llid-Mismatch Enable

    View OLT port view, FTTH view Default Level 2: System level Parameters None Description Use the alarm frame-error-rate enable command to enable the frame error rate alarm. Use the undo alarm frame-error-rate enable command to disable the frame error rate alarm. By default, the frame error rate alarm is enabled.
  • Page 139: Alarm Local-Stable Enable

    View OLT port view, FTTH view Default Level 2: System level Parameters threshold threshold: Specifies the alarm threshold of the LLID mismatch frame alarm. It ranges from 1000 to 10 frames and defaults to 5000 frames. Description Use the alarm llid-mismatch threshold command to configure the alarm threshold of LLID mismatch frame.
  • Page 140: Alarm Oam Critical-Event Enable

    Examples # Enable the local stable alarm OLT 3/0/1. <Sysname> system-view [Sysname] interface olt 3/0/1 [Sysname-Olt3/0/1] alarm local-stable enable alarm oam critical-event enable Syntax alarm oam critical-event enable undo alarm oam critical-event enable View OLT port view, FTTH view Default Level 2: System level Parameters None...
  • Page 141: Alarm Oam Error-Symbol-Period

    By default, the dying gasp alarm is enabled. The system generates a dying gasp alarm when a system error, a data loading error or any other nonreversible errors occurs. Examples # Enable the dying gasp alarm on OLT 3/0/1. <Sysname> system-view [Sysname] interface olt 3/0/1 [Sysname-Olt3/0/1] alarm oam dying-gasp enable alarm oam error-symbol-period...
  • Page 142: Alarm Oam Error-Symbol-Period Enable

    Related commands: alarm oam error-symbol-period enable. When the upper limit and the lower limit of the alarm threshold are set to 0, large amount of alarms are generated immediately. Since alarm events are carried in the OAM packets, large amount of OAM packets are generated.
  • Page 143: Alarm Oam Error-Frame-Period

    [Sysname-Onu3/0/1:1] alarm oam error-symbol-period enable alarm oam error-frame-period Syntax alarm oam error-frame-period { window window | threshold threshold } * undo alarm oam error-frame-period { window | threshold } * View OLT port view, ONU port view, FTTH view Default Level 2: System level Parameters window window: Specifies the window size, in the range 0 to 4294967295 (2...
  • Page 144: Alarm Oam Error-Frame

    View OLT port view, ONU port view, FTTH view Default Level 2: System level Parameters None Description Use the alarm oam error-frame-period enable command to enable the error frame period alarm. Use the undo alarm oam error-frame-period enable command to disable the error frame period alarm.
  • Page 145: Alarm Oam Error-Frame Enable

    Related commands: alarm oam error-frame enable. When the alarm threshold is set to 0, large amount of alarms are generated immediately. Since alarm events are carried in the OAM packets, large amount of OAM packets are generated. In this case, OAM packets may be lost. The commands here take effect only for OAM 2.0 and above.
  • Page 146: Alarm Oam Error-Frame-Seconds-Summary

    alarm oam error-frame-seconds-summary Syntax alarm oam error-frame-seconds-summary { window window | threshold threshold } * undo alarm oam error-frame-seconds-summary { window | threshold } * View OLT port view, ONU port view, FTTH view Default Level 2: System level Parameters window window: Specifies the window size, in the range 100 to 9000 (in 100 ms).
  • Page 147: Alarm Oam Local-Link-Fault Enable

    Default Level 2: System level Parameters None Description Use the alarm oam error-frame-seconds-summary enable command to enable the error frame seconds summary alarm. Use the undo alarm oam error-frame-seconds-summary enable command to disable the error frame seconds summary alarm. By default, the error frame seconds summary alarm is enabled. The commands here take effect only for OAM 2.0 and above.
  • Page 148: Alarm Oam-Vendor-Specific Enable

    [Sysname-Olt3/0/1] alarm oam local-link-fault enable alarm oam-vendor-specific enable Syntax alarm oam-vendor-specific enable undo alarm oam-vendor-specific enable View OLT port view, FTTH view Default Level 2: System level Parameters None Description Use the alarm oam-vendor-specific enable command to enable the oam vendor specific alarm. Use the undo alarm oam-vendor-specific enable command to disable the oam vendor specific alarm.
  • Page 149: Alarm Port Bit-Error-Rate Enable

    <Sysname> system-view [Sysname] interface olt 3/0/1 [Sysname-Olt3/0/1] alarm onu-over-limitation enable alarm port bit-error-rate enable Syntax alarm port bit-error-rate enable undo alarm port bit-error-rate enable View ONU port view, OLT port view, FTTH view Default Level 2: System level Parameters None Description Use the alarm port bit-error-rate enable command to enable the port bit error rate alarm.
  • Page 150: Alarm Remote-Stable Enable

    The system generates a registration error alarm when an error occurs during the registration of an ONU. By default, the registration error alarm is enabled. Examples # Enable the registration error alarm on OLT 3/0/1. <Sysname> system-view [Sysname] interface olt3/0/1 [Sysname-Olt3/0/1] alarm registration-error enable alarm remote-stable enable Syntax...
  • Page 151: Monitor Enable

    Default Level 2: System level Parameters None Description Use the alarm software-error enable command to enable the software error alarm of the system. Use the undo alarm software-error enable command to disable the software error alarm of the system. The system generates a software error alarm when a signal error, DA abnormity (that is, data access abnormity) error, or memory allocation failure occurs.
  • Page 152: Timer Monitor

    View FTTH view Default Level 3: Manage level Parameters None Description Use the sample enable command to enable system statistics sampling. Use the undo sample enable command to disable system statistics sampling. By default, system statistics sampling is enabled. Examples # Enable statistics sampling in the EPON system.
  • Page 153 View FTTH view Default Level 3: Manage level Parameters seconds: Sampling interval (in seconds). It is in the range 1 to 3600 and defaults to 4. Description Use the timer sample command to set the sampling interval for the system. Use the undo timer sample command to restore the default sampling interval for the system.
  • Page 154: Switch Feature-Related Configuration Commands

    Switch Feature-Related Configuration Commands OLT Port Configuration Commands Table 5-1 OLT port features Feature Command Related section description Ethernet Port Configuration shutdown Basic parameters Commands in the Layer 2 - LAN interface Switching Command Reference display interface Ethernet Port Configuration Flow control Commands in the Layer 2 - LAN flow-control...
  • Page 155 Feature Command Related section display mirroring-group mirroring-group mirroring-port Port Mirroring Configuration mirroring-group monitor-port Commands in the Network Port mirroring mirroring-group Management and Monitoring monitor-egress Command Reference mirroring-port monitor-port display ip check source IP Source Guard Configuration display user-bind IP Source Guard Commands in the Security ip check source Command Reference...
  • Page 156 When an up OLT port goes down (because the shutdown is executed on it or the fiber is unplugged), wait at least five seconds before bringing up the port again (by using the undo shutdown command or plugging in the fiber). This will prevent the anomalies caused by frequent ONU registrations and deregistrations.
  • Page 157: Onu Port Configuration Commands

    ONU Port Configuration Commands Table 5-2 ONU port features Feature Command Related section description shutdown Ethernet Port Configuration link-delay Basic parameters Commands in the Layer 2 - LAN interface Switching Command Reference display interface reset counters interface Ethernet Port Configuration Loopback test Commands in the Layer 2 - LAN loopback...
  • Page 158 Feature Command Related section igmp-snooping fast-leave igmp-snooping group-limit igmp-snooping group-policy GMP Snooping Configuration igmp-snooping host-join IGMP Snooping Commands in the IP Multicast igmp-snooping Command Reference overflow-replace igmp-snooping static-group igmp-snooping static-router-port mld-snooping fast-leave mld-snooping group-limit mld-snooping group-policy MLD Snooping Configuration mld-snooping host-join MLD Snooping Commands in the IP Multicast mld-snooping...
  • Page 159 In an EPON system, users and the multicast source can exchange multicast traffic with each other only if the corresponding multicast table entries exist on the ONUs and OLT: In FTTH view, bind multicast IP addresses with multicast VLANs. Then, the multicast table entries will be created on the ONUs and OLT when users send IGMP report messages.
  • Page 160: Loopback And Null Interface Configuration Commands

    Loopback and Null Interface Configuration Commands Loopback and Null Interface Configuration Commands description Syntax description text undo description View Loopback interface view, Null 0 interface view Default Level 2: System level Parameters text: Description of the interface, a string of 1 to 80 characters. Currently, the device supports the following types of characters or symbols: standard English characters (numbers and case-sensitive letters), special English characters, spaces, and other characters or symbols that conform to the Unicode standard.
  • Page 161: Display Interface Loopback

    Related commands: display interface. Examples # Configure the description of loopback interface Loopback 1 as loopback1. <Sysname> system-view [Sysname] interface loopback 1 [Sysname- loopback1] description loopback1 display interface loopback Syntax display interface loopback [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ] display interface loopback interface-number [ brief ] [ | { begin | exclude | include } regular-expression ] View...
  • Page 162 LoopBack0 current state: UP Line protocol current state: UP (spoofing) Description: LoopBack0 Interface The Maximum Transmit Unit is 1536 Internet protocol processing : disabled Physical is Loopback Last clearing of counters: Never Last 300 seconds input: 0 bytes/sec, 0 bits/sec, 0 packets/sec Last 300 seconds output: 0 bytes/sec, 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 drops 0 packets output, 0 bytes, 0 drops...
  • Page 163 Field Description Time when statistics on the logical interface were last cleared by using the reset counters interface command. Last clearing of counters If the statistics of the interface have never been cleared by using the reset counters interface command since the device starts, Never is displayed for this field.
  • Page 164: Display Interface Null

    The average input/output rate or input/output packets of a loopback interface are displayed as “0” in the display interface loopback command output because the S7500E series Ethernet switches do not count these fields. display interface null...
  • Page 165: Interface Loopback

    The average input/output rate or input/output packets of interface Null 0 are displayed as “0” in the display interface null command output because the S7500E series Ethernet switches do not count these fields.
  • Page 166: Interface Null 0

    undo interface loopback interface-number View System view Default Level 2: System level Parameters interface-number: Loopback interface number, ranging from 0 to 1023. Description Use the interface loopback command to create a loopback interface or enter loopback interface view. Use the undo interface loopback command to remove a loopback interface. Related commands: display interface loopback.
  • Page 167: Reset Counters Interface Loopback

    reset counters interface loopback Syntax reset counters interface [ loopback [ interface-number ] ] View User view Default Level 2: System level Parameters interface-number: Number of the loopback interface, which can be the number of any existing loopback interface. With this argument, the command clears statistics on a specified loopback interface.
  • Page 168: Shutdown

    If you specify the null keyword, this command clears the statistics on interface Null 0 with or without the 0 keyword, because the device supports only one interface Null 0. Examples # Clear statistics on interface Null 0. <Sysname> reset counters interface null 0 shutdown Syntax shutdown...
  • Page 169: Mac Address Table Configuration Commands

    MAC Address Table Configuration Commands Currently, MAC address table configuration applies to Layer 2 Ethernet port, and Layer 2 aggregate interfaces only. This document covers only the configuration of static, dynamic, and blackhole unicast MAC address table entries. For more information about the configuration of static multicast MAC address table entries, see Multicast Routing and Forwarding Configuration and IPv6 Multicast Routing and Forwarding Configuration in the IP Multicast Configuration Guide.
  • Page 170: Mac-Address Timer·························································································································7

    interface interface-type interface-number: Displays MAC address learning status of the specified interface. interface-type interface-number specifies an interface by its type and number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see CLI Configuration in the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
  • Page 171: Display Mac-Address Aging-Time

    Field Description State of a MAC address entry, includes: Config static: static entry manually configured by the user Config dynamic: dynamic entry manually configured by the user Learned: entry learned by the device Blackhole: destination blackhole entry AUTH: entry generated after a user passes the MAC authentication. For more information about MAC authentication, see MAC Authentication Configuration in the Security Configuration Guide.
  • Page 172: Display Mac-Address Mac-Learning

    regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters. Description Use the display mac-address aging-time command to display the aging time of dynamic entries in the MAC address table. Related commands: mac-address (system view), mac-address (Ethernet interface view), mac-address timer, and display mac-address.
  • Page 173: Display Mac-Address Statistics

    GigabitEthernet2/0/1 enable GigabitEthernet2/0/2 enable GigabitEthernet2/0/3 enable GigabitEthernet2/0/4 enable Table 7-2 display mac-address mac-learning command output description Field Description Global MAC address learning status, enabled or Mac-address learning status of the switch disabled PortName Port name MAC address learning status for a port, enabled or Learning Status disabled display mac-address statistics...
  • Page 174: Mac-Address (Interface View)

    Total Multicast 1024 Table 7-3 display mac-address statistics command output description Field Description MAC address type: Dynamic Unicast Static Unicast MAC TYPE Total Unicast Dynamic Multicast Static Multicast Total Multicast 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 175: Mac-Address (System View)

    Note that, as your MAC address entries configuration cannot survive a reboot, save it after completing the configuration. The dynamic MAC address table entries however will be lost whether you save the configuration or not. Related commands: display mac-address. Examples # Add a static entry for MAC address 000f-e201-0101 on port Ethernet 1/1 that belongs to VLAN 2.
  • Page 176: Mac-Address Mac-Learning Disable

    Description Use the mac-address command to add or modify a MAC address entry. Use the undo mac-address command to remove one or all MAC address entries. Note that: A static or blackhole MAC address entry will not be overwritten by a dynamic MAC address entry, but a dynamic MAC address entry can be overwritten by a static or blackhole MAC address entry.
  • Page 177: Mac-Address Max-Mac-Count (Interface View)

    You may need to disable MAC address learning sometimes to prevent the MAC address table from being saturated, for example, when your device is being attacked by a great deal of packets with different source MAC addresses. This somewhat affects update of the MAC address table. As disabling MAC address learning may result in broadcast storms, you need to enable broadcast storm suppression after you disable MAC address learning on a port.
  • Page 178: Mac-Address Timer

    disable-forwarding: Disables forwarding of frames with unknown source MAC addresses after the number of learned MAC addresses reaches the upper limit. Frames with the source MAC addresses listed in the MAC address table will be forwarded normally. Description Use the mac-address max-mac-count count command to configure the maximum number of MAC addresses that can be learned on a port.
  • Page 179 <Sysname> system-view [Sysname] mac-address timer aging 500 7-11...
  • Page 180: Mac Information Configuration Commands

    MAC Information Configuration Commands Currently, MAC Information applies to only Layer 2 Ethernet interfaces. MAC Information Configuration Commands mac-address information enable (Ethernet interface view) Syntax mac-address information enable { added | deleted } undo mac-address information enable { added | deleted } View Layer 2 Ethernet interface view Default Level...
  • Page 181: Mac-Address Information Enable (System View)

    mac-address information enable (system view) Syntax mac-address information enable undo mac-address information enable View System view Default Level 2: System level Parameters None Description Use the mac-address information enable command to enable MAC Information globally. Use the undo mac-address information enable command to disable MAC Information globally. By default, MAC Information is disabled globally.
  • Page 182: Mac-Address Information Mode

    <Sysname> system-view [Sysname] mac-address information interval 200 mac-address information mode Syntax mac-address information mode { syslog | trap } undo mac-address information mode { syslog | trap } View System view Default Level 2: System level Parameters syslog: Specifies that the device sends Syslog messages to inform the remote network management device of MAC address changes.
  • Page 183 Description Use the mac-address information queue-length command to set the MAC Information queue length. Use the undo mac-address information queue-length command to restore the default. By default, the MAC Information queue length is 50. Setting the MAC Information queue length to 0 indicates that the device sends a Syslog or trap message to the network management device as soon as a new MAC address is learned or an existing MAC address is deleted.
  • Page 184: Ethernet Link Aggregation Configuration Commands

    Ethernet Link Aggregation Configuration Commands Ethernet Link Aggregation Configuration Commands description Syntax description text undo description View Layer 2 aggregate interface view Default Level 2: System level Parameters text: Description of the interface, a string of 1 to 80 characters. Description Use the description command to configure a description for an interface.
  • Page 185 Default Level 1: Monitor level Parameters interface-number: Specifies an existing aggregate interface number. The value range for the interface-number argument is the set of all existing aggregate interface numbers. brief: Displays brief interface information. If you do not specify this keyword, this command displays detailed interface information.
  • Page 186 Output (total): 0 packets, 0 bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Output (normal): 0 packets, - bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Output: 0 output errors, - underruns, - buffer failures 0 aborts, 0 deferred, 0 collisions, 0 late collisions 0 lost carrier, - no carrier # Display brief information about Layer 2 aggregate interface Bridge-Aggregation 1.
  • Page 187: Display Lacp System

    Field Description The brief information of Brief information about Layer 2 interfaces. interface(s) under bridge mode Link status: ADM – The interface has been administratively shut down. To Link: ADM - administratively down; recover its physical layer state, perform the undo shutdown Stby - standby command.
  • Page 188: Display Link-Aggregation Load-Sharing Mode

    Description Use the display lacp system-id command to display the system ID of the local system. The system ID comprises the system LACP priority and the system MAC address. You can use the lacp system-priority command to change the LACP priority of the local system. When you do that, the LACP priority value you specify in the command is in decimal format.
  • Page 189 Description Use the display link-aggregation load-sharing mode command to display global or group-specific link-aggregation load sharing criterion or criteria. Note that: To display the global link-aggregation load sharing criterion or criteria, run the command without the interface keyword. To display all the group-specific load sharing criteria, run the command with the interface keyword but do not specify a particular interface.
  • Page 190: Display Link-Aggregation Member-Port

    Table 9-3 display link-aggregation load-sharing mode command output description Field Description The global link-aggregation load sharing criteria. By default, the link-aggregation load sharing criteria for Layer 2 and Link-Aggregation Load-Sharing Layer 3 traffic are displayed Mode If you have configured the global link-aggregation load sharing criteria, the configured ones are displayed.
  • Page 191 |: Filters command output by specifying a regular expression. For more information about regular expressions, see CLI Configuration in the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays the lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
  • Page 192 Illegal: 0 packet(s) Sent LACP Packets: 7 packet(s) Table 9-4 display link-aggregation member-port command output description Field Description One-byte LACP state flags field. From the least to the most significant bit, they are represented by A through H as follows: A indicates whether LACP is enabled.
  • Page 193: Display Link-Aggregation Summary

    display link-aggregation summary Syntax display link-aggregation summary [ | { begin | exclude | include } regular-expression ] View Any view Default Level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see CLI Configuration in the Fundamentals Configuration Guide.
  • Page 194: Display Link-Aggregation Verbose

    Field Description Aggregation group type: Aggregation Mode S for static link aggregation D for dynamic aggregation Load sharing type: Loadsharing Type Shar for load sharing NonS for non-load sharing Local system ID, which comprises the system LACP priority and Actor System ID the system MAC address AGG Interface Type and number of the aggregate interface...
  • Page 195 regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters. Description Use the display link-aggregation verbose command to display detailed information about the aggregation groups corresponding to the aggregate interfaces. Note that: To display the information of a specific Layer 2 aggregation group, use the display link-aggregation verbose bridge-aggregation interface-number command.
  • Page 196 Aggregation Interface: Bridge-Aggregation20 Aggregation Mode: Static Loadsharing Type: Shar Port Status Oper-Key -------------------------------------------------------------------------------- GE1/0/1 Table 9-6 display link-aggregation verbose command output description Field Description Load sharing type: Loadsharing Type Shar for load sharing NonS for non-load sharing Port Status Port state: Selected or unselected. One-byte LACP state flags field.
  • Page 197: Enable Snmp Trap Updown

    Field Description Status Port state: selected or unselected Priority Port LACP priority Oper-Key Operational key Flag LACP protocol state flag Remote Information about the remote end Actor Local port type and number Partner Remote port index enable snmp trap updown Syntax enable snmp trap updown undo enable snmp trap updown...
  • Page 198: Interface Bridge-Aggregation

    [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] enable snmp trap updown interface bridge-aggregation Syntax interface bridge-aggregation interface-number undo interface bridge-aggregation interface-number View System view Default Level 2: System level Parameters interface-number: Layer 2 aggregate interface number, in the range 1 to 1024. Description Use the interface bridge-aggregation command to create a Layer 2 aggregate interface and enter the Layer 2 aggregate interface view.
  • Page 199: Lacp Period Short

    Description Use the lacp port-priority command to set the LACP priority of a port. Use the undo lacp port-priority command to restore the default. The default LACP priority of a port is 32768. Examples # Set the port LACP priority of GigabitEthernet 2/0/1 to 64. <Sysname>...
  • Page 200: Link-Aggregation Lacp Traffic-Redirect-Notification Enable

    Parameters system-priority: LACP priority of the local system, in the range of 0 to 65535. The smaller this value, the higher the system LACP priority. Description Use the lacp system-priority command to set the LACP priority of the local system. Use the undo lacp system-priority command to restore the default.
  • Page 201: Link-Aggregation Load-Sharing Mode

    link-aggregation load-sharing mode Syntax System view: link-aggregation load-sharing mode { destination-ip | destination-mac | destination-port | ingress-port | source-ip | source-mac | source-port } * undo link-aggregation load-sharing mode Layer 2 aggregate interface view: link-aggregation load-sharing mode { { destination-ip | destination-mac | mpls-label1 | mpls-label2 | source-ip | source-mac } * | flexible } undo link-aggregation load-sharing mode View...
  • Page 202 Note that: The load sharing criterion or criteria you configured overwrite the old ones, if any. Currently, when you configure the global link-aggregation load sharing criterion or criteria, the switch supports the following criteria: Use a source IP address alone. Use a destination IP address alone.
  • Page 203: Link-Aggregation Load-Sharing Mode Local-First

    link-aggregation load-sharing mode local-first Syntax link-aggregation load-sharing mode local-first undo link-aggregation load-sharing mode local-first View System view Default Level 2: System level Parameters None Description Use the link-aggregation load-sharing mode local-first command to enable local-first load sharing for link aggregation. Use the undo link-aggregation load-sharing mode local-first command to disable local-first load sharing for link aggregation.
  • Page 204: Link-Aggregation Selected-Port Minimum

    Examples # Configure the aggregation group corresponding to Bridge-Aggregation 1 to work in dynamic aggregation mode. <Sysname> system-view [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] link-aggregation mode dynamic link-aggregation selected-port minimum Syntax link-aggregation selected-port minimum number undo link-aggregation selected-port minimum View Layer 2 aggregate interface view Default Level 2: System level Parameters...
  • Page 205: Reset Counters Interface

    Parameters number: Number of the aggregate interface corresponding to an aggregation group, in the range 1 to 128. Description Use the port link-aggregation group command to assign the current Ethernet interface to the specified aggregation group. Use the undo port link-aggregation group command to remove the current Ethernet interface from the aggregation group to which it currently belongs.
  • Page 206: Reset Lacp Statistics

    If only the bridge-aggregation keyword is specified, the command clears the statistics of all Layer 2 o aggregate interfaces. If the bridge-aggregation interface-number keyword and argument combination is specified, this command clears the statistics of the specified Layer 2 aggregate interface. The bridge-aggregation keyword becomes available only after you create Layer 2 aggregate interfaces on the device.
  • Page 207: Synchronization Mac-Address Enable

    Description Use the shutdown command to shut down the current aggregate interface. Use the undo shutdown command to bring up the current aggregate interface. By default, aggregate interfaces are up. Examples # Shut down Layer 2 aggregate interface Bridge-Aggregation 1. <Sysname>...
  • Page 208: Port Isolation Configuration Commands

    Specifies a regular expression, which is a case sensitive string of 1 to 256 characters. Description Use the display port-isolate group command to display information about isolation group 1. The S7500E series switches support only one isolation group. Examples # Display information about isolation group 1. <Sysname> display port-isolate group...
  • Page 209: Port-Isolate Enable

    Table 10-1 display port-isolate group command output description Field Description The S7500E series switches do not support the uplink port configuration for port isolation. On some devices, a port Uplink port support isolation group may contain one uplink port, which can communicate with all isolated ports at Layer 2 in the isolation group.
  • Page 210 You cannot assign the member ports of a service loopback group to an isolation group, and vice versa. Examples # Assign ports GigabitEthernet 2/0/1 and GigabitEthernet 2/0/2 to the isolation group. <Sysname> system-view [Sysname] interface gigabitethernet 2/0/1 [Sysname-GigabitEthernet2/0/1] port-isolate enable [Sysname-GigabitEthernet2/0/1] quit [Sysname] interface gigabitethernet 2/0/2 [Sysname-GigabitEthernet2/0/2] port-isolate enable...
  • Page 211: Mstp Configuration Commands

    MSTP by using the stp enable command in the case that MSTP is not enabled. Before you run this command, H3C recommends that you use the check region-configuration command to check whether the MST region pre-configurations are correct. You should run this command only if the result returns positive.
  • Page 212 MST region and the same MST region revision level, and they are interconnected via a physical link. Before you activate the configurations of an MST region, H3C recommends that you use this command to check whether the MST region pre-configurations are correct. You should activate the MST region pre-configurations only if the result returns positive.
  • Page 213: Display Stp

    display stp Syntax On a distributed device: display stp [ instance instance-id ] [ interface interface-list | slot slot-number ] [ brief ] [ | { begin | exclude | include } regular-expression ] On a distributed IRF member device: display stp [ instance instance-id ] [ interface interface-list | chassis chassis-number slot slot-number ] [ brief ] [ | { begin | exclude | include } regular-expression ] View...
  • Page 214 Based on the MSTP status and statistics, you can analyze and maintain the network topology or check whether MSTP is working normally. If you do not specify any MSTI or port, this command will display the MSTP information of all MSTIs on all ports.
  • Page 215 Table 11-2 display stp brief command output description Field Description MSTID MSTI ID in the MST region Port Port name, corresponding to each MSTI Port role, which can be one of the following: ALTE: The port is an alternate port BACK: The port is a backup port Role ROOT: The port is a root port...
  • Page 216 Port Cost(Legacy) :Config=auto / Active=200 Desg. Bridge/Port :32768.000f-e200-2200 / 128.2 Port Edged :Config=disabled / Active=disabled Point-to-point :Config=auto / Active=true Transmit Limit :10 packets/hello-time Protection Type :None MST BPDU Format :Config=auto / Active=legacy Port Config- Digest-Snooping :disabled Rapid transition :false Num of Vlans Mapped :1 PortTimes :Hello 2s MaxAge 20s FwDly 15s MsgAge 2s RemHop 20 BPDU Sent...
  • Page 217 Field Description Major parameters for the bridge: Hello: Hello timer Bridge Times MaxAge: Max Age timer FWDly: Forward delay timer Max Hop: Max hops within the MST region CIST root ID and external path cost (the path cost from the device to the CIST CIST Root/ERPC root) CIST regional root ID and internal path cost (the path cost from the device to the...
  • Page 218 Field Description Transmit Limit The maximum number of packets sent within each Hello time Protection type on the port, which can be one of the following: Root: Root guard Protection Type Loop: Loop guard BPDU: BPDU guard None: No protection Format of the MST BPDUs that the port can send, which can be legacy or MST BPDU Format 802.1s.
  • Page 219: Display Stp Abnormal-Port

    Field Description MAC address MAC address of the device Max age(s) Aging timer (in seconds) for BPDUs Forward delay(s) Port state transition delay (in seconds) Hello time(s) Interval (in seconds) for the root bridge to send BPDUs Max hops Maximum hops in the MSTI display stp abnormal-port Syntax display stp abnormal-port [ | { begin | exclude | include } regular-expression ]...
  • Page 220: Display Stp Bpdu-Statistics

    Table 11-4 display stp abnormal-port command output description Field Description MSTID ID of the MSTI to which an abnormally blocked port belongs Blocked Port Name of an abnormally blocked port Reason that caused abnormal blocking of the port. ROOT-Protected: root guard function Reason LOOP-Protected: loop guard function Formatcompatibility-Protected: MSTP BPDU format incompatibility protection...
  • Page 221 If you specify both an MSTI ID and a port, this command displays the BPDU statistics of a specified MSTI on a specified port. Examples # Display the BPDU statistics of all MSTIs on GigabitEthernet 2/0/1. <Sysname> display stp bpdu-statistics interface gigabitethernet 2/0/1 Port: GigabitEthernet2/0/1 Instance-independent: Type...
  • Page 222 MAX-hoped BPDUs TC detected TC sent TC received Table 11-5 display stp bpdu-statistics command output description Field Description Port Port name Instance-independent Statistics not related to any particular MSTI Type Statistical item BPDUs that were looped back, in other words, BPDUs that were sent and then Looped-back BPDUs received by the same port Max-Aged BPDUs...
  • Page 223: Display Stp Down-Port

    display stp down-port Syntax display stp down-port [ | { begin | exclude | include } regular-expression ] View Any view Default Level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see CLI Configuration in the Fundamentals Configuration Guide.
  • Page 224: Display Stp History

    display stp history Syntax On a distributed device: display stp [ instance instance-id ] history [ slot slot-number ] [ | { begin | exclude | include } regular-expression ] On a distributed IRF member device: display stp [ instance instance-id ] history [ chassis chassis-number slot slot-number ] [ | { begin | exclude | include } regular-expression ] View Any view...
  • Page 225: Display Stp Region-Configuration

    If you specify an MSTI ID, this command will display the historic port role calculation information of only this specified MSTI by the sequence of port role calculation time. Examples # Display the historic port role calculation information of the card on slot 2 in MSTI 2. <Sysname>...
  • Page 226: Display Stp Root

    regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters. Description Use the display stp region-configuration command to display the currently effective configuration information of the MST region, including the region name, revision level, and user-configured VLAN-to-instance mappings.
  • Page 227: Display Stp

    begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays the 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, which is a case sensitive string of 1 to 256 characters.
  • Page 228 Parameters instance instance-id: Displays the statistics of TC/TCN BPDUs received and sent by all ports in the specified MSTI. The minimum value of instance-id is 0, representing the common internal spanning tree (CIST), and the maximum value of instance-id is 31. slot slot-number: Displays the statistics of TC/TCN BPDUs received and sent by all ports in the specified MSTI on the specified card.
  • Page 229: Instance

    Table 11-10 display stp tc command output description Field Description MSTID MSTI ID Port Port name Receive Number of TC/TCN BPDUs received on each port Send Number of TC/TCN BPDUs sent by each port instance Syntax instance instance-id vlan vlan-list undo instance instance-id [ vlan vlan-list ] View MST region view...
  • Page 230: Region-Name

    [Sysname] stp region-configuration [Sysname-mst-region] instance 1 vlan 2 region-name Syntax region-name name undo region-name View MST region view Default Level 2: System level Parameters name: MST region name, a string of 1 to 32 characters. Description Use the region-name command to configure the MST region name. Use the undo region-name command to restore the default MST region name.
  • Page 231: Revision-Level

    Parameters interface interface-list: Clears the MSTP statistics of the ports specified in the format of interface-list = { interface-type interface-number [ to interface-type interface-number ] }&<1-10>, where &<1-10> indicates that you can specify up to 10 ports or port ranges. Description Use the reset stp command to clear the MSTP statistics.
  • Page 232: Stp Bpdu-Protection

    Examples # Set the MSTP revision level of the MST region to 5. <Sysname> system-view [Sysname] stp region-configuration [Sysname-mst-region] revision-level 5 stp bpdu-protection Syntax stp bpdu-protection undo stp bpdu-protection View System view Default Level 2: System level Parameters None Description Use the stp bpdu-protection command to enable the BPDU guard function.
  • Page 233: Stp Compliance

    By default, the network diameter of the switched network is 7. 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. You can set these timers by setting the network diameter.
  • Page 234: Stp Config-Digest-Snooping

    You need to enable this feature both globally and on ports connected to third-party devices to make it take effect. H3C recommends that you enable the feature on all associated ports first and then globally, thus making all configured ports take effect at the same time to minimize the impact on the network.
  • Page 235: Stp Edged-Port

    undo stp [ instance instance-id ] cost View Layer 2 Ethernet interface view, port group view, Layer 2 aggregate interface view Default Level 2: System level Parameters instance instance-id: Sets the path cost of the port(s) in a particular MSTI. The minimum value of instance-id is 0, representing the CIST, and the maximum value of instance-id is 31.
  • Page 236: Stp Enable

    Therefore, configuring a port as an edge port can enable the port to transition to the forwarding state rapidly. H3C recommends that you configure a port directly connecting to a user terminal as an edge port to enable it to transition to the forwarding state rapidly.
  • Page 237: Stp Loop-Protection

    View System view, Layer 2 Ethernet interface view, port group view, Layer 2 aggregate interface view Default Level 2: System level Parameters None Description Use the stp enable command to enable MSTP globally in system view, on a port in interface view, or on multiple ports in port group view.
  • Page 238: Stp Max-Hops

    Parameters None Description Use the stp loop-protection command to enable the loop guard function on the port(s). Use the undo stp loop-protection command to restore the system default. By default, the loop guard function is disabled. Configured in Layer 2 Ethernet interface view, the setting takes effect on the current interface only. Configured in port group view, the setting takes effect on all ports in the port group.
  • Page 239: Stp Mcheck

    stp mcheck Syntax stp mcheck View System view, Layer 2 Ethernet interface view, Layer 2 aggregate interface view Default Level 2: System level Parameters None Description Use the stp mcheck command to perform the mCheck operation globally or on the current port. If a port on a device running MSTP (or RSTP) connects to a device running STP, this port will automatically migrate to the STP-compatible mode.
  • Page 240: Stp No-Agreement-Check

    View System view Default Level 2: System level Parameters stp: Configures the MSTP-enabled device to work in STP-compatible mode. rstp: Configures an MSTP-enabled device to work in RSTP mode. mstp: Configures an MSTP-enabled device to work in MSTP mode. Description Use the stp mode command to configure the MSTP work mode of the device.
  • Page 241: Stp Pathcost-Standard

    Examples # Enable No Agreement Check on GigabitEthernet 2/0/1. <Sysname> system-view [Sysname] interface gigabitethernet 2/0/1 [Sysname-GigabitEthernet2/0/1] stp no-agreement-check stp pathcost-standard Syntax stp pathcost-standard { dot1d-1998 | dot1t | legacy } undo stp pathcost-standard View System view Default Level 2: System level Parameters dot1d-1998: The device calculates the default path cost for ports based on IEEE 802.1d-1998.
  • Page 242: Stp Port Priority

    If the current port is a Layer 2 aggregate interface or if it works in full duplex mode, you can configure the link to which the current port connects as a point-to-point link. H3C recommends that you use the default setting to let MSTP detect the link status automatically.
  • Page 243: Stp Port-Log

    priority: Port priority, in the range of 0 to 240 at the step of 16 (0, 16, 32…, for example). Description Use the stp port priority command to set the priority of the port(s). Use the undo stp port priority command to restore the system default. Port priority affects the role of a port in an MSTI.
  • Page 244: Stp Priority

    Examples # Enable output of port state transition information for MSTI 2. <Sysname> system-view [Sysname] stp port-log instance 2 %Aug 16 00:49:41:856 2006 Sysname MSTP/3/PDISC: Instance 2's GigabitEthernet2/0/1 has been set to discarding state! %Aug 16 00:49:41:856 2006 Sysname MSTP/3/PFWD: Instance 2's GigabitEthernet2/0/2 has been set to forwarding state! // The information above shows that in MSTI 2 the state of GigabitEthernet 2/0/1 has changed to discarding and that of GigabitEthernet 2/0/2 has changed to forwarding.
  • Page 245: Stp Root Primary

    Default Level 2: System level Parameters None Description Use the stp region-configuration command to enter MST region view. Use the undo stp region-configuration command to restore the default MST region configurations. By default, the default settings are used for all the three MST region parameters. Namely, the device’s MST region name is the device’s MAC address, all VLANs are mapped to the CIST, and the MSTP revision level is 0.
  • Page 246: Stp Root Secondary

    Examples # Specify the current device as the root bridge of MSTI 0. <Sysname> system-view [Sysname] stp instance 0 root primary stp root secondary Syntax stp [ instance instance-id ] root secondary undo stp [ instance instance-id ] root View System view Default Level 2: System level...
  • Page 247: Stp Tc-Protection

    Default Level 2: System level Parameters None Description Use the stp root-protection command to enable the root guard function on the port(s). Use the undo stp root-protection command to restore the default. By default, the root guard function is disabled. Configured in Layer 2 Ethernet interface view, the setting takes effect on the current interface only.
  • Page 248: Stp Tc-Protection Threshold

    Examples # Disable the TC-BPDU attack guard function for the device. <Sysname> system-view [Sysname] stp tc-protection disable stp tc-protection threshold Syntax stp tc-protection threshold number undo stp tc-protection threshold View System view Default Level 2: System level Parameters number: Maximum number of immediate forwarding address entry flushes that the switch can perform within a certain period of time after it receives the first TC-BPDU.
  • Page 249: Stp Timer Hello

    (forward delay) before it transitions from one state to another to keep synchronized with the remote device during state transition. Generally, H3C does not recommend you to set the forward delay by using this command. Instead, you can use the stp bridge-diameter command to set the network diameter, and then the network will automatically adjust the forward delay according to the network size.
  • Page 250: Stp Timer Max-Age

    BPDU that has expired, that MSTI needs to be re-calculated. The max age is meaningless for MSTIs. Generally, H3C does not recommend you to set the max age by using this command. Instead, you can use the stp bridge-diameter command to set the network diameter, and then the network will automatically adjust the max age according to the network size.
  • Page 251: Stp Transmit-Limit

    In this case, you can avoid such unwanted spanning tree calculations by lengthening the timeout time, thus saving the network resources. H3C recommends that you set the timeout factor to 5, or 6, or 7 for a stable network.
  • Page 252: Vlan-Mapping Modulo

    A larger maximum transmission rate value requires more system resources. An appropriate maximum transmission rate setting can limit the speed at which a port sends BPDUs and prevent MSTP from using excessive bandwidth resources during network topology changes. H3C recommends that you use the default value.
  • Page 253 [Sysname] stp region-configuration [Sysname-mst-region] vlan-mapping modulo 8 11-43...
  • Page 254: Bpdu Tunneling Configuration Commands

    BPDU Tunneling Configuration Commands BPDU Tunneling Configuration Commands bpdu-tunnel dot1q Syntax In Ethernet interface view or port group view: bpdu-tunnel dot1q { cdp | dldp | eoam | gvrp | hgmp | lacp | lldp | pagp | pvst | stp | udld | vtp } undo bpdu-tunnel dot1q { cdp | dldp | eoam | gvrp | hgmp | lacp | lldp | pagp | pvst | stp | udld | vtp } In Layer 2 aggregate interface view:...
  • Page 255: Bpdu-Tunnel Tunnel-Dmac

    By default, BPDU tunneling for any protocol is disabled. Note that: Settings made in Ethernet interface view or Layer 2 aggregate interface view take effect only on the current port; settings made in port group view take effect on all ports in the port group. You cannot enable BPDU tunneling on a member port of a service loopback group.
  • Page 256 Description Use the bpdu-tunnel tunnel-dmac command to configure the destination multicast MAC address for BPDUs. Use the undo bpdu-tunnel tunnel-dmac command to restore the default value. By default, the destination multicast MAC address for BPDUs is 0x010F-E200-0003. Examples # Set the destination multicast MAC address for BPDUs to 0x0100-0CCD-CDD0. <Sysname>...
  • Page 257: Vlan Configuration Commands

    VLAN Configuration Commands VLAN Configuration Commands description Syntax description text undo description View VLAN view, VLAN interface view Default Level 2: System level Parameters text: Creates a description for a VLAN or VLAN interface. Valid characters and symbols include English letters (A to Z, a to z), digits (1 to 9), special English characters, spaces, and other Unicode characters and symbols.
  • Page 258: Display Interface Vlan-Interface

    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> system-view [Sysname] vlan 2 [Sysname-vlan2] quit [Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2] description linktoPC56 display interface vlan-interface Syntax display interface vlan-interface [ vlan-interface-id ] [ | { begin | exclude | include }...
  • Page 259 IPv6 Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 000f-e249-8050 Last clearing of counters: Never Last 300 seconds input: 0 bytes/sec 0 packets/sec Last 300 seconds output: 0 bytes/sec 0 packets/sec 0 packets input, 0 bytes, 0 drops 0 packets output, 0 bytes, 0 drops Table 13-1 display interface vlan-interface command output description Field Description...
  • Page 260: Display Vlan

    Field Description Time when the reset counts interface vlan-interface command was last used to clear the interface statistics. Never indicates the reset Last clearing of counters counters interface command has never been used on the current interface since the device’s startup. Last 300 seconds input: 0 bytes/sec Average rate of input packets and output packets in the last 300 0 packets/sec...
  • Page 261 |: Filters command output by specifying a regular expression. For more information about regular expressions, see CLI Configuration in the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays the lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
  • Page 262: Interface Vlan-Interface

    Field Description Primary IP address of the VLAN interface (available only on a VLAN interface configured with an IP address). You can use the display interface IP Address vlan-interface command in any view or the display this command in VLAN interface view to display its secondary IP address(es), if any.
  • Page 263: Ip Address

    In general conditions, you need to assign only one IP address for a VLAN interface. For a VLAN to connect to multiple subnets, On an S7500E series Ethernet switch, you can assign up to eight IP addresses to a VLAN interface. Among these IP addresses, one is primary and the others are secondary.
  • Page 264: Name

    name Syntax name text undo name View VLAN view Default Level 2: System level Parameters text: VLAN name, a string of 1 to 32 characters. Spaces and special characters can be included in the name. Description Use the name command to configure a name for the current VLAN. Use the undo name command to restore the default name of the VLAN.
  • Page 265: Shutdown

    If the vlan-interface-id argument is not specified, this command clears the statistics of all VLAN interfaces. If the vlan-interface-id argument is specified, this command clears the statistics of the specified VLAN interface. Related commands: display interface vlan-interface. Examples # Clear the statistics on VLAN interface 2. <Sysname>...
  • Page 266 View System view Default Level 2: System level Parameters vlan-id1, vlan-id2: VLAN ID, in the range 1 to 4094. vlan-id1 to vlan-id2: Specifies a VLAN range. A VLAN ID is in the range 1 to 4094. all: Creates or removes all VLANs except reserved VLANs. The keyword is not supported when the maximum number of VLANs that can be created on a device is less than 4094.
  • Page 267: Port-Based Vlan Configuration Commands

    Port-Based VLAN Configuration Commands display port Syntax display port { hybrid | trunk } [ | { begin | exclude | include } regular-expression ] View Any view Default Level 1: Monitor level Parameters hybrid: Displays hybrid ports. trunk: Displays trunk ports. |: Filters command output by specifying a regular expression.
  • Page 268: Port

    Field Description VLAN passing VLANs whose packets are allowed to pass through the port. Tagged VLANs whose packets are required to pass through the port tagged. Untagged VLANs whose packets are required to pass through the port untagged. port Syntax port interface-list undo port interface-list View...
  • Page 269: Port Hybrid Pvid

    View Ethernet interface view, Ethernet subinterface view, port group view, Layer 2 aggregate interface view Default Level 2: System level Parameters vlan-id: VLAN ID, in the range of 1 to 4094. Be sure that the VLAN specified by the VLAN ID already exists.
  • Page 270: Port Hybrid Vlan

    Default Level 2: System level Parameters vlan-id: VLAN ID, in the range of 1 to 4094. Description Use the port hybrid pvid command to configure the default VLAN ID of the hybrid port. Use the undo port hybrid pvid command to restore the default. By default, the default VLAN of a hybrid port is VLAN 1.
  • Page 271 undo port hybrid vlan vlan-id-list View Ethernet interface view, port group view, Layer 2 aggregate interface view Default Level 2: System level Parameters vlan-id-list: VLANs that the hybrid ports will be assigned to. This argument is expressed in the format of [ vlan-id1 [ to vlan-id2 ] ]&<1-10>, where vlan-id ranges from 1 to 4094 and &<1-10>...
  • Page 272: Port Link-Type

    [Sysname-port-group-manual-2] group-member gigabitethernet 2/0/1 to gigabitethernet 2/0/6 [Sysname-port-group-manual-2] port link-type hybrid [Sysname-port-group-manual-2] port hybrid vlan 2 untagged Configuring GigabitEthernet2/0/1... Done. Configuring GigabitEthernet2/0/2... Done. Configuring GigabitEthernet2/0/3... Done. Configuring GigabitEthernet2/0/4... Done. Configuring GigabitEthernet2/0/5... Done. Configuring GigabitEthernet2/0/6... Done. # Assign the hybrid Layer 2 aggregate interface Bridge-aggregation 1 and its member ports to VLAN 2, and configure them to send packets of VLAN 2 with tags removed.
  • Page 273: Port Trunk Permit Vlan

    aggregate interface, it stops applying the configuration to the aggregation member ports. If it fails to do that on an aggregation member port, it simply skips the port and moves to the next port. For more information about Layer 2 aggregate interfaces, see Ethernet Link Aggregation Configuration in the Layer 2 –...
  • Page 274 Parameters vlan-id-list: VLANs that the trunk port(s) will be assigned to. This argument is expressed in the format of [vlan-id1 [ to vlan-id2 ] ]&<1-10>, where vlan-id ranges from 1 to 4094 and &<1-10> indicates that you can specify up to 10 VLAN IDs or VLAN ID ranges. all: Permits all VLANs to pass through the trunk port(s).
  • Page 275: Port Trunk Pvid

    <Sysname> system-view [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] port trunk permit vlan 13 15 Please wait... Done. Error: Failed to configure on interface GigabitEthernet2/0/2! This port is not a Trunk port! Configuring GigabitEthernet2/0/3... Done. Among the output fields above, the message “Please wait... Done” indicates that the configuration on Bridge-aggregation 1 succeeded;...
  • Page 276: Mac Address-Based Vlan Configuration Commands

    After configuring the default VLAN for a trunk port, you must use the port trunk permit vlan command to configure the trunk port to allow packets from the default VLAN to pass through, so that the port can forward packets from the default VLAN. Related commands: port link-type and port trunk permit vlan.
  • Page 277: Vlan Id

    mask mac-mask: Displays the MAC address-to-VLAN entries with their MAC addresses in the specified range. Support for this keyword-argument combination depends on the device model. static: Displays the statically configured MAC address-to-VLAN entries. vlan vlan-id: Displays the MAC address-to-VLAN entries associated with the specified VLAN. |: Filters command output by specifying a regular expression.
  • Page 278: Display Mac-Vlan Interface

    Field Description The state of a MAC address-to-VLAN entry, which can be: S, indicating that the MAC address-to-VLAN entry is configured statically. D, indicating that the MAC address-to-VLAN entry is configured STATE automatically through the authentication server S&D, indicating that the MAC address-to-VLAN entry is configured both statically and dynamically display mac-vlan interface Syntax...
  • Page 279: Mac-Vlan Mac-Address

    View Layer 2 Ethernet port view Default Level 2: System level Parameters None Description Use the mac-vlan enable command to enable MAC address-based VLAN on a port. Use the undo mac-vlan enable command to disable MAC address-based VLAN on a port. By default, MAC address-based VLAN is disabled on a port.
  • Page 280: Mac-Vlan Trigger Enable

    of this type describes the relationship between a group of MAC addresses and a VLAN, and a priority value. Another table contains the MAC address-to-VLAN entries configured without the mask keyword specified. A MAC address-to-VLAN entry of this type describes the relationship between a single MAC address and a VLAN, and a priority value.
  • Page 281: Port Pvid Disable

    [Sysname] interface gigabitethernet 2/0/1 [Sysname-GigabitEthernet2/0/1] mac-vlan trigger enable port pvid disable Syntax port pvid disable undo port pvid disable View Layer 2 Ethernet port view Default Level 2: System level Parameters None Description Use the port pvid disable command to disable the default VLAN of the current port from forwarding packets whose source MAC addresses do not match any MAC address-to-VLAN mapping.
  • Page 282: Protocol-Based Vlan Configuration Commands

    Use the undo vlan precedence command to restore the default. By default, VLANs are matched based on MAC addresses preferentially. Note that this command only applies to VLANs based on a single MAC address and IP subnet-based VLANs. If both the MAC address-based VLAN function and the IP subnet-based VLAN function are created on a port, MAC address-to-VLAN mappings are matched preferentially, and the left VLAN entries (VLAN entries based on a single MAC address and IP subnet-based VLANs) are matched as configured by the vlan precedence command.
  • Page 283: Display Protocol-Vlan Vlan

    VLAN ID Protocol Index Protocol Type ====================================================== ipv4 Table 13-5 display protocol-vlan interface command output description Field Description Interface Interface of which you want to view the information VLAN ID ID of the protocol-based VLAN bound with the port Protocol Index Protocol template index Protocol Type Protocol type specified by the protocol template...
  • Page 284: Port Hybrid Protocol-Vlan

    Examples # Display the protocols and protocol indexes configured on all protocol-based-VLANs. <Sysname> display protocol-vlan vlan all VLAN ID:2 Protocol Index Protocol Type ====================================================== ipv4 ipv6 VLAN ID:3 Protocol Index Protocol Type ====================================================== ipv4 ipv6 Table 13-5 for description of some of the fields in the output. port hybrid protocol-vlan Syntax port hybrid protocol-vlan vlan vlan-id { protocol-index [ to protocol-end ] | all }...
  • Page 285 ports. If it fails to do that on an aggregation member port, it simply skips the port and moves to the next port. For more information about Layer 2 aggregate interfaces, see Ethernet Link Aggregation Configuration in the Layer 2 – LAN Switching Configuration Guide. Before issuing this command, make sure that you have made the following configurations: Create a VLAN and associate it with specified protocols.
  • Page 286: Protocol-Vlan

    [Sysname-Bridge-Aggregation1] port hybrid protocol-vlan vlan 2 0 protocol-vlan Syntax protocol-vlan [ protocol-index ] { at | ipv4 | ipv6 | ipx { ethernetii | llc | raw | snap } | mode { ethernetii etype etype-id | llc { dsap dsap-id [ ssap ssap-id ] | ssap ssap-id } | snap etype etype-id } } undo protocol-vlan { protocol-index [ to protocol-end ] | all } View...
  • Page 287 Do not configure both the dsap-id and ssap-id arguments in the protocol-vlan command as 0xe0 or 0xff when configuring the user-defined template for llc encapsulation. Otherwise, the encapsulation format of the matching packets will be the same as that of the ipx llc or ipx raw packets respectively.
  • Page 288: Ip Subnet-Based Vlan Configuration Commands

    To use 802.3 encapsulation, use the command: [Sysname-vlan3] protocol-vlan mode snap etype 0806 IP Subnet-Based VLAN Configuration Commands display ip-subnet-vlan interface Syntax display ip-subnet-vlan interface { interface-list | all } [ | { begin | exclude | include } regular-expression ] View Any view Default Level...
  • Page 289: Display Ip-Subnet-Vlan Vlan

    Field Description Subnet-Index Index of the IP subnet IP ADDRESS IP address of the subnet (either an IP address or a network address) NET MASK Mask of the IP subnet display ip-subnet-vlan vlan Syntax display ip-subnet-vlan vlan { vlan-id [ to vlan-id ] | all } [ | { begin | exclude | include } regular-expression ] View Any view...
  • Page 290: Ip-Subnet-Vlan

    Table 13-7 display ip-subnet-vlan vlan command output description Field Description Subnet Index IP subnet index IP Address IP address of the subnet (can be an IP address or a network address) Subnet Mask Mask of the IP subnet ip-subnet-vlan Syntax ip-subnet-vlan [ ip-subnet-index ] ip ip-address [ mask ] undo ip-subnet-vlan { ip-subnet-index [ to ip-subnet-end ] | all } View...
  • Page 291: Port Hybrid Ip-Subnet-Vlan

    [Sysname-vlan3] ip-subnet-vlan ip 192.168.1.0 255.255.255.0 port hybrid ip-subnet-vlan Syntax port hybrid ip-subnet-vlan vlan vlan-id undo port hybrid ip-subnet-vlan { vlan vlan-id | all } View Ethernet interface view, port group view, Layer 2 aggregate interface view Default Level 2: System level Parameters vlan vlan-id: Specifies a VLAN by its VLAN ID, in the range of 1 to 4094.
  • Page 292 Please wait... Done. [Sysname-GigabitEthernet2/0/1] port hybrid ip-subnet-vlan vlan 3 # Associate the hybrid Layer 2 aggregate interface Bridge-aggregation 1 with the IP subnet-based VLAN 3 (assuming that Bridge-aggregation 1 does not have member ports). <Sysname> system-view [Sysname] vlan 3 [Sysname-vlan3] ip-subnet-vlan ip 192.168.1.0 255.255.255.0 [Sysname-vlan3] quit [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] port link-type hybrid...
  • Page 293: Super Vlan Configuration Commands

    Super VLAN Configuration Commands Super VLAN Configuration Commands display supervlan Syntax display supervlan [ supervlan-id ] [ | { begin | exclude | include } regular-expression ] View Any view Default Level 1: Monitor level Parameters supervlan-id: Super VLAN ID, in the range of 1 to 4094. |: Filters command output by specifying a regular expression.
  • Page 294 Untagged Ports: none VLAN ID: 3 VLAN Type: static It is a Sub VLAN. Route Interface: not configured Description: VLAN 0003 Name: VLAN 0003 Tagged Ports: none Untagged Ports: GigabitEthernet2/0/3 VLAN ID: 4 VLAN Type: static It is a Sub VLAN. Route Interface: not configured Description: VLAN 0004 Name: VLAN 0004...
  • Page 295: Subvlan

    Field Description Subnet mask of the VLAN interface, if configured. This field is not displayed if no mask is configured for the VLAN interface. Subnet Mask This field is the same for both sub-VLANs and the super VLAN. Description VLAN description Name VLAN name Tagged...
  • Page 296: Supervlan

    <Sysname> system-view [Sysname] vlan 10 [Sysname-vlan10] subvlan 3 to 5 9 supervlan Syntax supervlan undo supervlan View VLAN view Default Level 2: System level Parameters None Description Use the supervlan command to configure the current VLAN as a super VLAN. Use the undo supervlan command to remove the super VLAN configuration for the current VLAN.
  • Page 297: Isolate-User-Vlan Configuration Commands

    Isolate-User-VLAN Configuration Commands Isolate-User-VLAN Configuration Commands display isolate-user-vlan Syntax display isolate-user-vlan [ isolate-user-vlan-id ] [ | { begin | exclude | include } regular-expression ] View Any view Default Level 1: Monitor level Parameters isolate-user-vlan-id: Isolate-user-VLAN ID, in the range of 1 to 4094. |: Filters command output by specifying a regular expression.
  • Page 298 Untagged Ports: GigabitEthernet2/0/2 GigabitEthernet2/0/3 GigabitEthernet2/0/4 VLAN ID: 3 VLAN Type: static Isolate-user-VLAN type : secondary Route Interface: configured Description: VLAN 0003 Name: VLAN 0003 Tagged Ports: none Untagged Ports: GigabitEthernet2/0/2 GigabitEthernet2/0/3 VLAN ID: 4 VLAN Type: static Isolate-user-VLAN type : secondary Route Interface: configured Description: VLAN 0004 Name: VLAN 0004...
  • Page 299: Isolate-User-Vlan

    isolate-user-vlan Syntax isolate-user-vlan isolate-user-vlan-id secondary secondary-vlan-id [ to secondary-vlan-id ] undo isolate-user-vlan isolate-user-vlan-id [ secondary secondary-vlan-id [ to secondary-vlan-id ] ] View System view Default Level 2: System level Parameters isolate-user-vlan-id: Isolate-user-VLAN ID, in the range 1 to 4094. secondary secondary-vlan-id [ to secondary-vlan-id ]: Specifies a secondary VLAN ID or a secondary VLAN ID range.
  • Page 300: Isolate-User-Vlan Enable

    [Sysname-vlan2] port gigabitethernet 2/0/2 [Sysname-vlan2] vlan 3 [Sysname-vlan3] port gigabitethernet 2/0/3 [Sysname-vlan3] vlan 4 [Sysname-vlan4] port gigabitethernet 2/0/4 [Sysname-vlan4] quit [Sysname] isolate-user-vlan 2 secondary 3 to 4 isolate-user-vlan enable Syntax isolate-user-vlan enable undo isolate-user-vlan enable View VLAN view Default Level 2: System level Parameters None...
  • Page 301: Port Isolate-User-Vlan

    Parameters None Description Use the isolated-vlan enable command to configure Layer 2 isolation between ports in the same secondary VLAN. Use the undo isolated-vlan enable command to restore the default. By default, ports in the same secondary VLAN can communicate with one another at Layer 2. After you configure the isolated-vlan enable command in secondary VLAN view, you cannot assign any port in the secondary VLAN to an isolation group.
  • Page 302 By default, no isolate-user-VLAN type is configured for a port. Related commands: isolate-user-vlan. Examples # Configure the access port GigabitEthernet 2/0/1 as a downstream port. <Sysname> system-view [Sysname] interface gigabitethernet 2/0/1 [Sysname-GigabitEthernet2/0/1] port isolate-user-vlan host # Configure the Layer 2 aggregate interface Bridge-Aggregation 1 as a hybrid port and then configure it as an upstream port.
  • Page 303: Voice Vlan Configuration Commands

    Voice VLAN Configuration Commands Voice VLAN Configuration Commands display voice vlan oui Syntax display voice vlan oui [ | { begin | exclude | include } regular-expression ] View Any view Default Level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see CLI Configuration in the Fundamentals Configuration Guide.
  • Page 304: Display Voice Vlan State

    0001-e300-0000 ffff-ff00-0000 Siemens phone 0003-6b00-0000 ffff-ff00-0000 Cisco phone 0004-0d00-0000 ffff-ff00-0000 Avaya phone 00d0-1e00-0000 ffff-ff00-0000 Pingtel phone 0060-b900-0000 ffff-ff00-0000 Philips/NEC phone 00e0-7500-0000 ffff-ff00-0000 Polycom phone 00e0-bb00-0000 ffff-ff00-0000 3com phone Table 16-1 display voice vlan oui command output description Field Description Oui Address OUI addresses supported Mask Masks of the OUI addresses supported...
  • Page 305: Voice Vlan Aging

    PORT VLAN MODE ----------------------------------------------- GigabitEthernet2/0/1 AUTO GigabitEthernet2/0/2 AUTO Table 16-2 display voice vlan state command output description Field Description Voice VLAN system capacity Maximum number of voice VLANs supported by the system Current Voice VLAN Count Number of existing voice VLANs Security mode of the voice VLAN: Security for security mode;...
  • Page 306: Voice Vlan Enable

    Examples # Configure the voice VLAN aging time as 100 minutes. <Sysname> system-view [Sysname] voice vlan aging 100 voice vlan enable Syntax voice vlan vlan-id enable undo voice vlan [ vlan-id ] enable View Ethernet interface view Default Level 2: System level Parameters vlan-id: VLAN to be configured as the voice VLAN for the current port.
  • Page 307: Voice Vlan Mode Auto

    mask oui-mask: Specifies the valid length of the OUI address by a mask in the format of H-H-H, formed by consecutive 1s and 0s, for example, FFFF-0000-0000. To filter the voice device of a specific vendor, set the mask to FFFF-FF00-0000. description text: Specifies a string that describes the OUI address.
  • Page 308: Voice Vlan Qos

    View Ethernet interface view Default Level 2: System level Parameters None Description Use the voice vlan mode auto command to configure the current port to operate in automatic voice VLAN assignment mode. Use the undo voice vlan mode auto command to configure the current port to operate in manual voice VLAN assignment mode.
  • Page 309: Voice Vlan Qos Trust

    Configure the QoS priority settings for voice VLAN traffic on an interface before enabling voice VLAN on the interface. If the configuration order is reversed, your priority settings will fail. The voice vlan qos command and the voice vlan qos trust command can overwrite the other. After you execute the two commands on a port multiple times, the one that was last executed takes effect.
  • Page 310: Voice Vlan Security Enable

    Support for this command varies with device models. Configure the QoS priority trust mode for voice VLAN traffic on an interface before enabling voice VLAN on the interface. If the configuration order is reversed, your priority trust setting will fail. The voice vlan qos command and the voice vlan qos trust command can overwrite the other.
  • Page 311: Gvrp Configuration Commands

    GVRP Configuration Commands GVRP Configuration Commands display garp statistics Syntax display garp statistics [ interface interface-list ] [ | { begin | exclude | include } regular-expression ] View Any view Default Level 1: Monitor level Parameters interface interface-list: Specifies one or multiple ports for which the GARP statistics will be displayed. You can provide up to 10 port lists, by each of which you can specify a single port in the form of interface-type interface-number, or a port range in the form of interface-type interface-number1 to interface-type interface-number2, where the end port number specified by interface-number2 must be...
  • Page 312: Display Garp Timer

    Related commands: reset garp statistics. Examples # Display GARP statistics on ports GigabitEthernet 2/0/1 and GigabitEthernet 2/0/2. <Sysname> display garp statistics interface GigabitEthernet 2/0/1 to GigabitEthernet 2/0/2 GARP statistics on port GigabitEthernet2/0/1 Number of GVRP Frames Received Number of GVRP Frames Transmitted Number of Frames Discarded GARP statistics on port GigabitEthernet2/0/2 Number of GVRP Frames Received...
  • Page 313: Display Gvrp Local-Vlan

    Examples # Display GARP timer settings on port GigabitEthernet 2/0/1. <Sysname> display garp timer interface GigabitEthernet 2/0/1 GARP timers on port GigabitEthernet2/0/1 Garp Join Time : 20 centiseconds Garp Leave Time : 60 centiseconds Garp LeaveAll Time : 1000 centiseconds Garp Hold Time : 10 centiseconds display gvrp local-vlan...
  • Page 314 View Any view Default Level 0: Visit level Parameters interface interface-type interface-number: Specifies an interface by its type and number. vlan vlan-id: Specifies a VLAN ID, in the range of 1 to 4094. |: Filters command output by specifying a regular expression. For more information about regular expressions, see CLI Configuration in the Fundamentals Configuration Guide.
  • Page 315: Display Gvrp Statistics

    Field Description The Registrar state machine records the registration of attributes declared by other participants. Its state can be INN, LV, L3, L2, L1, MT, INR, LVR, L3R, L2R, L1R, MTR, INF, LVF, L3F, L2F, L1F, and MTF. Each state consists of two or three letters/numbers, the meanings of which are as follows: The first two letters/numbers indicate the state: IN stands for In;...
  • Page 316: Display Gvrp Status

    Examples # Display GVRP statistics for trunk port GigabitEthernet 2/0/1. <Sysname> display gvrp statistics interface GigabitEthernet 2/0/1 GVRP statistics on port GigabitEthernet2/0/1 GVRP Status : Enabled GVRP Running : YES GVRP Failed Registrations GVRP Last Pdu Origin : 0000-0000-0000 GVRP Registration Type : Normal Table 17-2 display gvrp statistics command output description Field...
  • Page 317: Display Gvrp Vlan-Operation

    Examples # Display the global GVRP enable/disable state. <Sysname> display gvrp status GVRP is enabled display gvrp vlan-operation Syntax display gvrp vlan-operation interface interface-type interface-number [ | { begin | exclude | include } regular-expression ] View Any view Default Level 0: Visit level Parameters interface interface-type interface-number: Specifies an interface by its type and number.
  • Page 318: Garp Timer Join

    View Ethernet interface view, Layer-2 aggregate interface view, port group view Default Level 2: System level Parameters timer-value: Hold timer setting (in centiseconds), which must be a multiple of 5 in the range of 10 (inclusive) and half of the Join timer setting (inclusive). One second equals 100 centiseconds. Description Use the garp timer hold command to set the GARP Hold timer for an Ethernet port, Layer-2 aggregate interface, or all ports in a port group.
  • Page 319: Garp Timer Leave

    Examples # Set the GARP Join timer to 25 centiseconds, assuming that both the Hold timer and the Leave timer are using the default. <Sysname> system-view [Sysname] interface GigabitEthernet 2/0/1 [Sysname-GigabitEthernet2/0/1] garp timer join 25 garp timer leave Syntax garp timer leave timer-value undo garp timer leave View Ethernet interface view, Layer-2 aggregate interface view, port group view...
  • Page 320: Gvrp

    Parameters timer-value: Leaveall timer setting (in centiseconds), which must be a multiple of 5 in the range of the maximum Leave timer on the device (exclusive) and 32765 (inclusive). Description Use the garp timer leaveall command to set the GARP LeaveAll timer. Use the undo garp timer leaveall command to restore the default.
  • Page 321: Gvrp Registration

    <Sysname> system-view [Sysname] gvrp GVRP is enabled globally. gvrp registration Syntax gvrp registration { fixed | forbidden | normal } undo gvrp registration View Ethernet interface view, Layer-2 aggregate interface view, port group view Default Level 2: System level Parameters fixed: Sets the GVRP registration mode to fixed.
  • Page 322 Parameters interface interface-list: Specifies one or multiple ports for which the GARP statistics are to be cleared. You can provide up to 10 port lists, by each of which you can specify a single port in the form of interface-type interface-number, or a port range in the form of interface-type interface-number1 to interface-type interface-number2, where the end port number specified by interface-number2 must be greater than the start port number specified by interface-number1.
  • Page 323: Qinq Configuration Commands

    (SVLANs), also called outer VLANs, refer to the VLANs that a service provider uses to carry VLAN tagged traffic for customers. On the S7500E series switches, selective QinQ is achieved mainly through QoS policies. For QoS policy configuration commands, see QoS Policy Configuration Commands in the ACL and QoS Command Reference.
  • Page 324: Qinq Enable

    The nest action cannot be applied to a VLAN or globally. Related commands: qos policy, traffic behavior and classifier behavior in the QoS Configuration Commands of the ACL and QoS Command Reference. Examples # Configure the action of inserting the outer VLAN tag, setting the VLAN ID to 100. <Sysname>...
  • Page 325: Qinq Ethernet-Type Customer-Tag

    [Sysname-port-group-manual-1] group-member gigabitethernet 2/0/1 to gigabitethernet 2/0/6 [Sysname-port-group-manual-1] qinq enable qinq ethernet-type customer-tag Syntax qinq ethernet-type customer-tag hex-value undo qinq ethernet-type customer-tag View System view Default Level 2: System level Parameters customer-tag: Indicates the TPID value in the CVLAN tag. hex-value: Hexadecimal protocol type value, in the range of 0x0001 to 0xFFFF.
  • Page 326: Qinq Ethernet-Type Service-Tag

    Use the undo qinq ethernet-type customer-tag command to restore the TPID value in CVLAN tags to the system default. By default, the TPID value in CVLAN tags is 0x8100. On a port with basic QinQ enabled, the switch judges whether a frame is VLAN tagged based on the CVLAN TPID value globally configured.
  • Page 327: Qinq Transparent-Vlan

    [Sysname-GigabitEthernet2/0/1] qinq ethernet-type 9100 qinq transparent-vlan Syntax qinq transparent-vlan vlan-list undo qinq transparent-vlan { all | vlan-list } View Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view, OLT port view Default Level 2: System level Parameters vlan-list: Specifies one or multiple VLANs that already exist on the local device in the format of vlan-list = { vlan-id [ to vlan-id ] }&<1-10>.
  • Page 328: Vlan Mapping Configuration Commands

    VLAN Mapping Configuration Commands On the S7500E series switches, VLAN mapping is achieved mainly through QoS policies. This chapter introduces part of the commands for ports involved in VLAN mapping. For QoS policy configuration commands, see QoS Policy Configuration Commands in the ACL and QoS Command Reference.
  • Page 329: Remark Customer-Vlan

    Examples # Configure an outer VLAN tag for a traffic behavior. <Sysname> system-view [Sysname] traffic behavior database [Sysname-behavior-database] nest top-most vlan-id 100 remark customer-vlan-id Syntax remark customer-vlan-id vlan-id undo remark customer-vlan-id View Traffic behavior view Default Level 2: System level Parameters vlan-id: Customer VLAN (CVLAN) ID to be marked for packets, in the range of 1 to 4094.
  • Page 330 Description Use the remark service-vlan-id command to configure the action of setting the specified SVLAN ID for packets. Use the undo remark service-vlan-id command to remove the action. Note that: If the remark service-vlan-id action will be applied to the inbound direction of a port or port group on an EA LPU, the classification rule must be configured with the if-match customer-vlan-id command, and the other actions except remark dot1p cannot be configured in the traffic behavior.
  • Page 331: Lldp Configuration Commands

    LLDP Configuration Commands LLDP Configuration Commands display lldp local-information Syntax display lldp local-information [ global | interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters global: Displays the global LLDP information to be sent.
  • Page 332 MED information Device class: Connectivity device (MED inventory information of master board) HardwareRev : REV.A FirmwareRev : 109 SoftwareRev : 5.20 Alpha 2101 SerialNum : NONE Manufacturer name : Manufacturer Model name : Model Asset tracking identifier : Unknown LLDP local-information of port 1[GigabitEthernet2/0/1]: Port ID subtype : Interface name Port ID : GigabitEthernet2/0/1...
  • Page 333 VLAN tagged : No Media policy VlanID Media policy L2 priority : 0 Media policy Dscp PoE PSE power source : Primary Port PSE Priority : Critical Port available power value: 30.0(w) Table 20-1 display lldp local-information command output description Field Description Global LLDP local-information...
  • Page 334 Field Description Model name Device model Asset tracking identifier Asset tracking ID LLDP local-information of port 1 LLDP information to be sent out 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 Port description Port description...
  • Page 335 Field Description Port power classification of the PD, which can be: Class 0 Class 1 Port power classification Class 2 Class 3 Class 4 Link aggregation supported Indicates whether link aggregation is supported. Link aggregation enabled Indicates whether link aggregation is enabled. Aggregation port ID Aggregation group ID, which is 0 if link aggregation is not enabled.
  • Page 336: Display Lldp Neighbor-Information

    Field Description PSE power type, which can be: Unknown, indicating an unknown power supply PoE PSE power source Primary, indicating a primary power supply Backup, indicating a backup power supply PoE power supply priority of PSE ports, which can be: Unknown Port PSE Priority Critical...
  • Page 337 regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters. Description Use the display lldp neighbor-information command to display the LLDP information carried in LLDP TLVs sent from the neighboring devices. Examples # Display the LLDP information sent from the neighboring devices received through all the ports. <Sysname>...
  • Page 338 Aggregation port ID Maximum frame Size: 1536 # Display the LLDP information sent from all the neighboring devices in the form of a list. <Sysname> display lldp neighbor-information list System Name Local Interface Chassis ID Port ID System1 GE2/0/1 000f-e25d-ee91 GigabitEthernet2/0/5 System2 GE2/0/2 000f-e25d-ee92 GigabitEthernet2/0/6...
  • Page 339 Field Description Capabilities supported on the neighboring device, which can be: Repeater, indicating the signal repeating function System capabilities supported Bridge, indicating switching Router, indicating routing Capabilities currently enabled on the neighboring device, which can System capabilities enabled Repeater, indicating the signal repeating function is enabled. Bridge, indicating switching is enabled.
  • Page 340 Field Description Link aggregation supported Indicates whether link aggregation is supported. Link aggregation enabled Indicates whether link aggregation is enabled. Aggregation port ID Aggregation group ID, which is 0 if link aggregation is not enabled. Maximum frame Size Maximum frame size supported Location information format, which can be: Invalid, indicating the format of the location information is invalid.
  • Page 341: Display Lldp Statistics

    Field Description TLV information Information contained in the unknown basic TLV type Unknown organizationally-defined Unknown organizationally specific TLV TLV OUI OUI of the unknown organizationally specific TLV TLV subtype Unknown organizationally specific TLV subtype Index Unknown organization index TLV information Information contained in unknown organizationally specific TLV Local Interface Local port that receives the LLDP information...
  • Page 342 <Sysname> display lldp statistics LLDP statistics global Information: LLDP neighbor information last change time:0 days,0 hours,4 minutes,40 seconds The number of LLDP neighbor information inserted : 1 The number of LLDP neighbor information deleted : 1 The number of LLDP neighbor information dropped : 0 The number of LLDP neighbor information aged out : 1 LLDP statistics information of port 1 [GigabitEthernet2/0/1]: The number of LLDP frames transmitted...
  • Page 343: Display Lldp Status

    Field Description Number of the LLDP neighbor information entries that The number of LLDP neighbor information aged out have aged out The number of CDP frames transmitted Total number of the CDP frames transmitted The number of CDP frames received Total number of the CDP frames received The number of CDP frames discarded Total number of the CDP frames dropped...
  • Page 344 Hold multiplier Reinit delay : 2s Transmit delay : 2s Trap interval : 5s Fast start times Port 1 [GigabitEthernet2/0/1]: Port status of LLDP : Enable Admin status : Tx_Rx Trap flag : No Polling interval : 0s Number of neighbors: Number of MED neighbors Number of CDP neighbors Number of sent optional TLV...
  • Page 345: Display Lldp Tlv-Config

    Field Description LLDP mode of the port, which can be: TxRx. A port in this mode sends and receives LLDPDUs. Admin status Rx_Only. A port in this mode receives LLDPDUs only. Tx_Only. A port in this mode sends LLDPDUs only. Disable.
  • Page 346 If no port is specified, this command displays the types of advertisable optional TLVs of each port. Examples # Display the types of advertisable optional LLDP TLVs of interface GigabitEthernet2/0/1. <Sysname> display lldp tlv-config interface gigabitethernet 2/0/1 LLDP tlv-config of port 1[GigabitEthernet2/0/1]: NAME STATUS DEFAULT...
  • Page 347: Lldp Admin-Status

    Field Description Basic TLVs, including: Port description TLV System name TLV Basic optional TLV System description TLV System capabilities TLV Management address TLV IEEE 802.1 organizationally specific TLVs, including: Port VLAN ID TLV IEEE 802.1 extended TLV Port and protocol VLAN ID TLV VLAN name TLV IEEE 802.3 organizationally specific TLVs, including: MAC-Physic TLV...
  • Page 348: Lldp Check-Change-Interval

    tx: Specifies the Tx mode. A port in this mode sends LLDPDUs only. txrx: Specifies the TxRx mode. A port in this mode sends and receives LLDPDUs. Description Use the lldp admin-status command to specify the LLDP operating mode for a port or all the ports in a port group.
  • Page 349: Lldp Compliance Cdp

    Default 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. Description Use the lldp compliance admin-status cdp command to configure the operating mode of CDP-compatible LLDP on a port or port group.
  • Page 350: Lldp Enable

    <Sysname> system-view [Sysname] lldp compliance cdp lldp enable Syntax lldp enable undo lldp enable View System view, Layer 2 Ethernet interface view, port group view Default level 2: System level Parameters None Description Use the lldp enable command to enable LLDP. Use the undo lldp enable command to disable LLDP.
  • Page 351: Lldp Fast-Count

    The command does not apply to LLDP-CDP packets, which use only SNAP encapsulation. Examples # Configure the encapsulation format for LLDPDUs as SNAP on GigabitEthernet 2/0/1. <Sysname> system-view [Sysname] interface gigabitethernet 2/0/1 [Sysname-GigabitEthernet2/0/1] lldp encapsulation snap lldp fast-count Syntax lldp fast-count count undo lldp fast-count View System view...
  • Page 352: Lldp Management-Address-Format String

    Default level 2: System level Parameters value: TTL multiplier, in the range 2 to 10. Description Use the lldp hold-multiplier command to set the TTL multiplier. Use the undo lldp hold-multiplier command to restore the default. By default, the TTL multiplier is 4. You can set the TTL of the local device information by configuring the TTL multiplier.
  • Page 353: Lldp Management-Address-Tlv

    lldp management-address-tlv Syntax lldp management-address-tlv [ ip-address ] undo lldp management-address-tlv View Layer 2 Ethernet interface view, port group view Default level 2: System level Parameters ip-address: Management address to be advertised in LLDPDUs. Description Use the lldp management-address-tlv command to enable management address advertising and set the management address.
  • Page 354: Lldp Timer Notification-Interval

    Parameters None Description Use the lldp notification remote-change enable command to enable LLDP trapping for a port or all the ports in a port group. Use the undo lldp notification remote-change enable command to restore the default. By default, LLDP trapping is disabled on a port. Examples # Enable LLDP trapping for GigabitEthernet 2/0/1.
  • Page 355: Lldp Timer Tx-Delay

    Default level 2: System level Parameters delay: LLDP re-initialization delay to be set, in the range 1 to 10 (in seconds). Description Use the lldp timer reinit-delay command to set the LLDP re-initialization delay. Use the undo lldp timer reinit-delay command to restore the default. By default, the LLDP re-initialization delay is 2 seconds.
  • Page 356: Lldp Tlv-Enable

    Default level 2: System level Parameters interval: LLDPDU transmit interval, in the range 5 to 32768 (in seconds). Description Use the lldp timer tx-interval command to set the LLDPDU transmit interval. Use the undo lldp timer tx-interval command to restore the default. By default, the LLDPDU transmit interval is 30 seconds.
  • Page 357 protocol-vlan-id: Advertises port and protocol VLAN ID TLVs. vlan-name: Advertises VLAN name TLVs. vlan-id: ID of the VLAN in the TLVs to be advertised. This argument ranges from 1 to 4094 and defaults to the least VLAN ID on the port. dot3-tlv: Advertises IEEE 802.3 organizationally specific LLDP TLVs.
  • Page 358 Examples # Enable the advertising of link aggregation TLVs of the IEEE 802.3 organizationally specific TLVs on GigabitEthernet 2/0/1. <Sysname> system-view [Sysname] interface gigabitethernet 2/0/1 [Sysname-GigabitEthernet2/0/1] lldp tlv-enable dot3-tlv link-aggregation 20-28...
  • Page 359: Service Loopback Group Configuration Commands

    Service Loopback Group Configuration Commands Service Loopback Group Configuration Commands display service-loopback group Syntax display service-loopback group [ number ] [ | { begin | exclude | include } regular-expression ] View Any view Default Level 1: Monitor level Parameters number: ID of the service loopback group to be displayed, The range of the number argument is 1 to 1024.
  • Page 360: Port Service-Loopback Group

    Table 21-1 display service-loopback group command output description Field Description Service Group ID Service loopback group ID Quote Number Reference count of the service loopback group Service type of the service loopback group, which can be one of the following: Service Type Multicast tunnel, supporting multicast tunnel traffic Tunnel, supporting unicast tunnel traffic...
  • Page 361: Service-Loopback Group

    A service loopback group can be referenced by multiple features at the same time, for example, by multiple tunnel interfaces. It is recommended that you assign more ports to a service loopback group that is likely to be referenced by multiple features at the same time, so that the service loopback group can provide sufficient bandwidth.
  • Page 362 You cannot remove a service loopback group that is referenced by other features. Examples # Configure service loopback group 5 and specify its service type as Tunnel. <Sysname> system-view [Sysname] service-loopback group 5 type tunnel 21-4...
  • Page 363: Command Index

    Command Index A B C D E F G H I J K L M N O P Q R S T U V W X Y Z bpdu-tunnel dot1q 12-1 bpdu-tunnel tunnel-dmac 12-2 active region-configuration 11-1 broadcast-suppression alarm bit-error-rate enable alarm bit-error-rate alarm device-fatal-error enable check region-configuration...
  • Page 364 display gvrp statistics 17-5 display port-group manual 1-18 display gvrp status 17-6 display port-isolate group 10-1 display gvrp vlan-operation 17-7 display protocol-vlan interface 13-26 display interface bridge-aggregation display protocol-vlan vlan 13-27 display interface brief display service-loopback group 21-1 display interface loopback display storm-constrain 1-19 display interface null...
  • Page 365: Gvrp··············································································································································17

    grant-filtering enable 2-22 lldp compliance admin-status cdp 20-18 group member 2-22 lldp compliance cdp 20-19 group-member 1-22 lldp enable 20-20 gvrp registration 17-11 lldp encapsulation snap 20-20 gvrp 17-10 lldp fast-count 20-21 lldp hold-multiplier 20-21 lldp management-address-format string 20-22 instance 11-19 lldp management-address-tlv 20-23...
  • Page 366 mac-vlan mac-address 13-23 port switch-over 2-27 mac-vlan trigger enable 13-24 port trunk permit vlan 13-17 management-vlan 3-16 port trunk pvid vlan 3-24 max-rtt 2-23 port trunk pvid 13-19 1-31 port 13-12 monitor enable 4-17 port-group manual 1-34 multicast vlan-id dest-ip 2-24 port-isolate enable 10-2...
  • Page 367 speed auto 1-38 timer monitor 4-18 speed 1-37 timer sample 4-18 storm-constrain control 1-40 storm-constrain enable log 1-40 uni auto-negotiation 3-27 storm-constrain enable trap 1-41 uni description 3-27 storm-constrain interval 1-41 uni duplex 3-28 storm-constrain 1-38 uni flow-control 3-29 stp bpdu-protection 11-22 uni igmp-snooping fast-leave 3-29...
  • Page 368 voice vlan security enable 16-8 22-6...

Table of Contents