background image

 

21 

Configuring a Layer 3 Ethernet interface or 
subinterface 

Setting the MTU for an Ethernet interface or subinterface 

The maximum transmission unit (MTU) of an Ethernet interface affects the fragmentation and 
reassembly of IP packets on the interface. Typically, you do not need to modify the MTU of an 
interface.  

To set the MTU for an Ethernet interface or subinterface: 

 

Step Command 

Remarks 

1. 

Enter system view.

 

system-view 

N/A 

2. 

Enter Ethernet interface 
or subinterface view. 

interface interface-type 

interface-number 

|

 

interface-number.subnumber

 } 

N/A 

3. 

Set the MTU of the 
Ethernet interface or 
subinterface. 

mtu

 

size

 

The default setting is 1500 
bytes. 

 

Displaying and maintaining an Ethernet interface 
or subinterface 

Execute 

display

 commands in any view and 

reset

 commands in user view.  

 

Task Command 

Display interface traffic statistics.  

display counters 

{

 inbound 

|

 outbound 

}

 interface 

interface-type

 [ 

interface-number

 ] ] 

Display traffic rate statistics of interfaces 
in up state over the last statistics polling 
interval. 

display counters rate 

{

 inbound 

|

 outbound 

}

 interface 

interface-type

 [ 

interface-number

 ] ]

 

Display the operational and status 
information of the specified interfaces. 

display

 

interface

 [ 

interface-type

 [ 

interface-number 

interface-number.subnumber

 ] ] [ 

brief

 [ 

description

 | 

down

 ] ]

 

Display information about dropped 
packets on the specified interfaces. 

display packet-drop

 {

 interface 

interface-type

 

[

 interface-number 

interface-number.subnumber 

] ] | 

summary 

Display information about storm control 
on the specified interfaces. 

display storm-constrain 

[

 broadcast 

|

 multicast 

|

 unicast 

]

 

[

 interface interface-type

 

interface-number 

(In standalone mode.) Display the 
Ethernet module statistics.  

display ethernet statistics

 

slot slot-number 

(In IRF mode.) Display the Ethernet 
module statistics.  

display ethernet statistics chassis chassis-number slot 
slot-number
 

Clear interface or subinterface statistics.

reset counters interface 

interface-type 

interface-number

 | 

interface-number.subnumber

 ] ] 

Clear the statistics of dropped packets 
on the specified interfaces. 

reset packet-drop interface 

interface-type 

interface-number 

interface-number.subnumber 

] ] 

Содержание H3C S7500E Series

Страница 1: ...H3C S7500E Switch Series Comware 7 Interface Command Reference New H3C Technologies Co Ltd http www h3c com hk Software version Release 7557 and later versions Document version 6W100 20170831...

Страница 2: ...SecPath SecCenter SecBlade Comware ITCMM and HUASAN are trademarks of New H3C Technologies Co Ltd All other trademarks that may be mentioned in this manual are the property of their respective owners...

Страница 3: ...guments that are optional x y Braces enclose a set of required syntax choices separated by vertical bars from which you select one x y Square brackets enclose a set of optional syntax choices separate...

Страница 4: ...Represents a generic network device such as a router switch or firewall Represents a routing capable device such as a router or Layer 3 switch Represents a generic switch such as a Layer 2 or Layer 3...

Страница 5: ...cumentation To access the most up to date H3C product documentation go to the H3C website at http www h3c com hk To obtain information about installation configuration and maintenance click http www h...

Страница 6: ...on an Ethernet interface 11 Enabling loopback testing on an Ethernet interface 12 Configuring generic flow control on an Ethernet interface 13 Enabling EEE on an Ethernet interface 14 Setting the stat...

Страница 7: ...terface range the longer the command execution time The maximum number of interface range names is limited only by the system resources To guarantee bulk interface configuration performance configure...

Страница 8: ...ace range to enter the interface range view 3 Optional Display commands available for the first interface in the interface range Enter a question mark at the interface range prompt N A 4 Use available...

Страница 9: ...nnector You can connect the interface to a PC for software loading and system debugging or connect it to a remote NMS for remote system management In standalone mode When the switch has multiple manag...

Страница 10: ...fic to Layer 3 Ethernet interfaces or subinterfaces see Configuring a Layer 3 Ethernet interface or subinterface Configuring a combo interface single combo interface A combo interface is a logical int...

Страница 11: ...port the same configuration and attributes as common 10 GE interfaces except that they are numbered differently For example you can split 40 GE interface FortyGigE 1 0 1 into four 10 GE breakout inter...

Страница 12: ...The interfaces to be changed in batches must be on the same card or MPU Restrictions and guidelines This feature is supported only on the LSQM1CQGS12SG0 LSQM1TGS24QSFD0 and LSQM1CTGS24QSFD0 interface...

Страница 13: ...nterface can send and receive packets simultaneously Half duplex mode The interface can only send or receive packets at a given time Autonegotiation mode The interface negotiates a duplex mode with it...

Страница 14: ...he Ethernet interface default N A 8 Bring up the Ethernet interface undo shutdown B y default an Ethernet interface is up The shutdown port up mode and loopback commands are mutually exclusive Configu...

Страница 15: ...thernet interface Step Command Remarks 1 Enter system view system view N A 2 Enter Ethernet interface view interface interface type interface number N A 3 Configure the link mode of the Ethernet inter...

Страница 16: ...s and logs to inform users to take the correct actions To prevent frequent physical link flapping from affecting system performance configure physical state change suppression You can configure this f...

Страница 17: ...s the ceiling Suppress limit The accumulated penalty that triggers the device to dampen the interface In dampened state the interface does not report its state changes to the CPU For state change even...

Страница 18: ...nable the dampening feature on an interface with RRPP MSTP or Smart Link enabled Configuration procedure To configure dampening on an Ethernet interface Step Command Remarks 1 Enter system view system...

Страница 19: ...MAC learning limit MAC address learning 802 1X and MAC authentication configurations on the interface To make these features take effect on the interface disable loopback testing and configure the fe...

Страница 20: ...oth ends To enable generic flow control on an Ethernet interface Step Command Remarks 1 Enter system view system view N A 2 Enter Ethernet interface view interface interface type interface number N A...

Страница 21: ...play the interface statistics collected in the most recent statistics polling interval use the display interface command Forcibly bringing up a fiber port As shown in Figure 2 a GE 10 GE 40 GE 100 GE...

Страница 22: ...ng physically up Configure the speed and duplex commands on the interface Remove and install fibers or transceiver modules A GE fiber port forcibly brought up cannot correctly forward traffic if it is...

Страница 23: ...uses software to suppress traffic Configuration restrictions and guidelines When you configure storm suppression follow these restrictions and guidelines For the traffic suppression result to be deter...

Страница 24: ...or disable the storm control feature You can configure an Ethernet interface to output threshold event traps and log messages when monitored traffic meets one of the following conditions Exceeds the u...

Страница 25: ...or example pins 1 and 2 transmit signals and pins 3 and 6 receive signals You can use both crossover and straight through Ethernet cables to connect copper Ethernet interfaces To accommodate these typ...

Страница 26: ...tem view 2 Enter Ethernet interface view interface interface type interface number 3 Perform a test for the cable connected to the Ethernet interface virtual cable test Enabling bridging on an Etherne...

Страница 27: ...es in up state over the last statistics polling interval display counters rate inbound outbound interface interface type interface number Display the operational and status information of the specifie...

Страница 28: ...In standalone mode Clear the Ethernet module statistics reset ethernet statistics slot slot number In IRF mode Clear the Ethernet module statistics reset ethernet statistics chassis chassis number sl...

Страница 29: ...device itself so the device does not forward these packets Using a loopback interface in dynamic routing protocols With no router ID configured for a dynamic routing protocol the system selects the h...

Страница 30: ...ce created by the system which cannot be configured or deleted The physical layer and link layer protocol states of an inloopback interface are always up All IP packets sent to an inloopback interface...

Страница 31: ...erface basic settings 7 interface inloopback 24 interface loopback 23 interface null 23 interfaces in bulk 1 1 Layer 2 Ethernet interface 17 management Ethernet interface 3 connecting Ethernet interfa...

Страница 32: ...ernet interface internal loopback testing 12 J jumbo frame support Ethernet interface 9 L Layer 2 Ethernet interface bridging enable 20 Ethernet interface cable connection 20 Ethernet interface config...

Страница 33: ...t interface physical state change suppression 10 polling Ethernet interface statistics polling interval 15 port Ethernet interface fiber port Layer 2 15 power Ethernet interface EEE energy saving 14 p...

Страница 34: ...olling interval 15 Ethernet subinterface MTU Layer 3 21 single combo Ethernet interface 4 splitting Ethernet interface 40 GE 5 state Ethernet interface state change suppression 10 statistics Ethernet...

Отзывы: