Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1 Ethernet Port Configuration Commands1-1 Ethernet Port Configuration Commands 1-1 broadcast-suppression 1-1 description 1-2 display brief interface1-3 display loopback-detection 1-5 display interface1-6 display port-group manual 1-10 display storm-constrain1-11 duplex 1-12 flow-control 1-13 flow-interval 1-13 group-member 1-14 interface1-15 jumboframe enable1-15 loopback 1-16 loopback-detection control enable1-17 loopback-detection enable 1-17 loopback-detection interval-time1-18 loopback-detection per-vlan enable 1-19 mdi 1-20 multicast-suppression1-21 port auto-power-down1-22 port-group manual 1-23 port bridge enable1-23 reset counters interface 1-24 shutdown 1-25 speed 1-25 speed auto1-26 storm-constrain1-27 storm-constrain control 1-29 storm-constrain enable log 1-29 storm-constrain enable trap1-30 storm-constrain interval 1-31 unicast-suppression1-31 virtual-cable-test 1-33
1
Syntax
broadcast-suppression { ratio | pps max-pps | kbps max-bps } undo broadcast-suppression View Ethernet port view, port group view Default Level 2: System level Parameters ratio: Maximum percentage of broadcast traffic to the total transmission capability of an Ethernet port. The smaller the ratio, the less broadcast traffic is allowed to pass through the interface. This argument ranges from 1 to 100. The system default is 100. pps max-pps: Specifies the maximum number of broadcast packets that can be forwarded on an Ethernet port per second, in the range 1 to 1488100 (in pps, representing packets per second). kbps max-bps: Specifies the maximum number of broadcast kilobits that can be forwarded on an Ethernet port per second, in the range 1 to 1024000 (in kbps, representing kilobits per second). Description Use the broadcast-suppression command to set a broadcast traffic threshold on one or multiple Ethernet ports. Use the undo broadcast-suppression command to restore the default. By default, broadcast traffic is not suppressed. If you execute this command in Ethernet port view, the configuration takes effect only on the current interface. If you execute this command in port-group view, the configuration takes effect on all the ports in the port group. When broadcast traffic exceeds the broadcast traffic threshold, the system begins to discard broadcast packets until the broadcast traffic drops below the threshold to ensure operation of network services.
1-1
If you set different suppression ratios in Ethernet port view or port-group view for multiple times, the latest configuration takes effect. Do not use the broadcast-suppression command along with the storm-constrain command. Otherwise, the broadcast storm suppression ratio configured may get invalid.
Examples # For Ethernet port GigabitEthernet 1/0/1, allow broadcast traffic equivalent to 20% of the total transmission capability of GigabitEthernet 1/0/1 to pass.
<Sysname> system-view [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] broadcast-suppression 20
# For all the ports of the manual port group named group1, allow broadcast traffic equivalent to 20% of the total transmission capability of each port to pass and suppress excessive broadcast packets.
<Sysname> system-view [Sysname] port-group manual group1 [Sysname-port-group-manual-group1] group-member gigabitethernet 1/0/1 [Sysname-port-group-manual-group1] group-member gigabitethernet 1/0/2 [Sysname-port-group-manual-group1] broadcast-suppression 20
description
Syntax description text undo description View Ethernet port view Default Level 2: System level Parameters text: Description of an Ethernet port, 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.
1-2
A port description can be the mixture of English characters and other Unicode characters. The mixed description cannot exceed the specified length. To use a type of Unicode characters or symbols in a port description, you need to install the corresponding Input Method Editor (IME) and log in to the device through remote login software that supports this character type.
Each Unicode character or symbol (non-English characters) takes the space of two regular characters. When the length of a description string reaches or exceeds the maximum line width on the terminal software, the software starts a new line, possibly breaking a Unicode character into two. As a result, garbled characters may be displayed at the end of a line.
Description Use the description command to set the description string of the current interface. Use the undo description command to restore the default. By default, the description of an interface is the interface name followed by the Interface string, GigabitEthernet1/0/1 Interface for example. Related commands: display interface. Examples # Configure the description string of interface GigabitEthernet 1/0/1 as lanswitch-interface.
<Sysname> system-view [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] description lanswitch-interface
exclude: Displays the lines that do not match the regular expression. include: Displays the lines that match the regular expression. regular-expression: Regular expression, a string of 1 to 256 characters. Note that this argument is case-sensitive. Description Use the display brief interface command to display brief interface information.