background image

 
 

H3C S5120-SI Switch Series 

Layer 2 - LAN Switching Command Reference 

 

 
 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
Hangzhou H3C Technologies Co., Ltd.

 

 

http://www.h3c.com 
 
Software version: Release 1505 
Document version: 6W101-20111108

 

Summary of Contents for S5120-SI Series

Page 1: ...H3C S5120 SI Switch Series Layer 2 LAN Switching Command Reference Hangzhou H3C Technologies Co Ltd http www h3c com Software version Release 1505 Document version 6W101 20111108...

Page 2: ...re Secware Storware NQA VVG V2 G Vn 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...

Page 3: ...aining documentation Technical support Documentation feedback Audience This documentation is intended for Network planners Field technical support and servicing engineers Network administrators workin...

Page 4: ...ventions used in this documentation set Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown Italic Italic text represents a...

Page 5: ...hernet Switches Provides the RPS and switch compatibility matrix and RPS cable specifications Product description and specifications H3C Low End Series Ethernet Switches Pluggable Modules Manual Descr...

Page 6: ...uments Technical Documents Provides hardware installation software upgrading and software feature configuration and maintenance documentation Products Solutions Provides information about products and...

Page 7: ...ble 22 mdi 23 multicast suppression 23 port auto power down 24 port bridge enable 25 port group manual 26 reset counters interface 26 shutdown 27 speed 28 speed auto 28 storm constrain 29 storm constr...

Page 8: ...mode 65 link aggregation load sharing mode local first 65 link aggregation port priority 66 link aggregation mode 67 port link aggregation group 67 reset counters interface 68 reset lacp statistics 6...

Page 9: ...ration commands 115 VLAN configuration commands 115 description 115 display interface vlan interface 116 display vlan 118 interface vlan interface 119 ip address 120 name 121 reset counters interface...

Page 10: ...er join 160 garp timer leave 161 garp timer leaveall 161 gvrp 162 gvrp registration 163 reset garp statistics 163 QinQ configuration commands 165 qinq enable 165 qinq ethernet type 166 qinq vid 167 ra...

Page 11: ...v lldp timer tx delay 192 lldp timer tx interval 193 lldp tlv enable 193 Index 196...

Page 12: ...ne or multiple Ethernet interfaces Use the undo broadcast suppression command to restore the default By default Ethernet interfaces do not suppress broadcast traffic If you execute this command in Eth...

Page 13: ...type of Unicode characters or symbols in an interface description install the specific input method editor and log in to the device through remote login software that supports this character type When...

Page 14: ...s all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case...

Page 15: ...unicasts 2 broadcasts 247 multicasts 0 pauses Output 0 output errors underruns buffer failures 0 aborts 0 deferred 0 collisions 0 late collisions lost carrier no carrier Table 1 Command output descri...

Page 16: ...without removing VLAN tags Untagged VLAN ID VLANs for which the interface sends packets after removing VLAN tags Last clearing of counters Never Time when the reset counts interface command was last u...

Page 17: ...net interface the frame length may or may not be integers For an Ethernet interface that does not permit jumbo frames jabber frames refer to CRC error frames greater than 1518 bytes without VLAN tags...

Page 18: ...ble physical states of a Layer 2 Ethernet interface Field Description UP The interface is physically up DOWN The interface is physically down because no physical connection exists possibly reason the...

Page 19: ...he brief information of interface s under route mode Link ADM administratively down Stby standby Protocol s spoofing Interface Link Protocol Main IP Description NULL0 UP UP s Vlan1 UP UP 192 168 0 89...

Page 20: ...ted Table 3 Command output description Field Description The brief information of interface s under route mode The command displays brief information about Layer 3 interfaces Link ADM administratively...

Page 21: ...te of an interface is DOWN Table 4 provides the details Table 4 Causes why the physical state of an interface is DOWN Field Description Not connected No physical connection exists possibly because the...

Page 22: ...s a case sensitive string of 1 to 256 characters Description Use the display loopback detection command to display the status of the loopback detection function If loopback detection is enabled this c...

Page 23: ...f you specify neither the all keyword nor a port group name the command displays the name of each port group on the device Examples Display the names of all port groups Sysname display port group manu...

Page 24: ...n Use the display storm constrain command to display storm control settings and statistics If you provide no argument or keyword this command displays all storm control settings on all storm control e...

Page 25: ...lly duplex Syntax duplex auto full half undo duplex View Ethernet interface view Default level 2 System level Parameters auto Sets the interface to operate in auto negotiation mode full Sets the inter...

Page 26: ...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 g...

Page 27: ...et interface list in the form of 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 gro...

Page 28: ...e View System view Default level 2 System level Parameters None Description Use the jumboframe enable command to allow jumbo frames within 10240 bytes to pass through all Ethernet interfaces Use the u...

Page 29: ...tethernet 1 0 1 Sysname GigabitEthernet1 0 1 link delay 8 loopback Syntax loopback external internal View Ethernet interface view Default level 2 System level Parameters external Enables external loop...

Page 30: ...ports When a hybrid or trunk port detects a loop condition it sends traps whether loopback detection control is enabled or not However only after loopback detection control is enabled will the port d...

Page 31: ...Meanwhile the device sends trap messages to the terminal and deletes the corresponding MAC address forwarding entry When a loop is detected on a trunk port or a hybrid port the device sends a trap me...

Page 32: ...ion multi port mode enable command to enable multi port loopback detection mode Use the undo loopback detection multi port mode enable command to restore the default By default multi port loopback det...

Page 33: ...ack 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 S...

Page 34: ...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 Use the undo mdi command to restore the default By def...

Page 35: ...this command in port group view the configurations take effect on all ports in the port group Note that when multicast traffic exceeds the threshold you configure the system discards multicast packet...

Page 36: ...sname system view Sysname interface gigabitEthernet 1 0 1 Sysname GigabitEthernet1 0 1 port auto power down Enable auto power down on all member ports of port group group1 Sysname system view Sysname...

Page 37: ...ual port group name View System view Default level 2 System level Parameters port group name Specifies a port group name a string of 1 to 32 characters Description Use the port group manual command to...

Page 38: ...down undo shutdown View Ethernet interface view Default level 2 System level Parameters None Description Use the shutdown command to shut down an Ethernet interface Use the undo shutdown command to br...

Page 39: ...peed command to set the speed of an Ethernet interface Use the undo speed command to restore the default By default Ethernet ports operate in auto negotiation mode Note that For an Ethernet electrical...

Page 40: ...ut negotiation If you configure speed auto 100 1000 after configuring speed 100 on the interface the interface negotiates with its peer and the negotiated speed is either 100 Mbps or 1000 Mbps NOTE Th...

Page 41: ...gure the same value for the two thresholds Examples Enable unicast storm control on interface GigabitEthernet 1 0 1 setting the upper and lower thresholds to 200 pps and 150 pps Sysname system view Sy...

Page 42: ...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 und...

Page 43: ...name GigabitEthernet1 0 1 undo storm constrain enable trap storm constrain interval Syntax storm constrain interval seconds undo storm constrain interval View System view Default level 2 System level...

Page 44: ...ndo unicast suppression command to restore the default By default Ethernet interfaces do not suppress unknown unicast traffic If you execute this command in Ethernet interface view the configurations...

Page 45: ...rcuit is detected abnormal short if a short circuit is detected failure if the detection fails If the cable connection is normal the displayed cable length is the total length of the cable If the cabl...

Page 46: ...35 Return loss db Near end crosstalk db NOTE The Pair Impedance mismatch field takes two values yes for match and no for mismatch...

Page 47: ...sponding Input Method Editor IME and log in to the switch through remote login software that supports this character type Each non English Unicode character or symbol takes the space of two regular ch...

Page 48: ...ecified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expressio...

Page 49: ...ttribute of the interface When the network layer protocol state of the interface is displayed as up the corresponding link may not exist or the corresponding link is non permanent and established on d...

Page 50: ...tby The interface is operating as a backup interface Protocol s spoofing If the network layer protocol state of an interface is shown as UP but its link is an on demand link or not present at all its...

Page 51: ...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 Description...

Page 52: ...nterface number undo interface loopback interface number View System view Default level 2 System level Parameters interface number Loopback interface number ranging from 0 to 7 Description Use the int...

Page 53: ...oopback interface With this argument the command clears statistics on a specified loopback interface Description Use the reset counters interface loopback command to clear statistics on loopback inter...

Page 54: ...and 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 i...

Page 55: ...ied MAC address entries rather than related information about these MAC address entries mac address Displays MAC address entries in a specified MAC address in the format of H H H dynamic Displays dyna...

Page 56: ...C address 000f e201 0101 Sysname display mac address 000f e201 0101 MAC ADDR VLAN ID STATE PORT INDEX AGING TIME 000f e201 0101 1 Learned GigabitEthernet1 0 1 AGING 1 mac address es found Table 8 Outp...

Page 57: ...c entries in the MAC address table Sysname display mac address aging time Mac address aging time 300s The output indicates that the aging time of dynamic entries in the MAC address table is 300 second...

Page 58: ...1x and MAC authentication IN USE Number of existing MAC addresses of a specific type AVAILABLE Maximum number of MAC addresses supported by the system mac address interface view Syntax mac address dy...

Page 59: ...nterface bridge Aggregation 1 Sysname Bridge Aggregation1 mac address static 000f e201 0102 vlan 1 mac address system view Syntax mac address blackhole mac address vlan vlan id mac address dynamic sta...

Page 60: ...you can choose to delete its dynamic static or blackhole MAC address entries only You can single out some ports and delete the corresponding unicast MAC address entries but not the corresponding stat...

Page 61: ...ress timer aging seconds no aging undo mac address timer aging View System view Default level 2 System level Parameters aging seconds Sets an aging timer in seconds for dynamic MAC address entries The...

Page 62: ...the purpose of the interface for the ease of management Use the undo description command to restore the default By default the description of an interface is interface name Interface For example the d...

Page 63: ...display interface bridge aggregation command to display aggregate interface information If interface number is not specified this command displays information about all Layer 2 aggregate interfaces I...

Page 64: ...never been used on the current interface since the device s startup The brief information of interface s under bridge mode Brief information about Layer 2 interfaces Link ADM administratively down St...

Page 65: ...priority command to change the LACP priority of the local system Although you specify the LACP priority value in decimal format in the lacp system priority command it is displayed as a hexadecimal va...

Page 66: ...g mode Link Aggregation Load Sharing Mode destination mac address source mac address Table 12 display link aggregation load sharing mode Output description Field Description Link Aggregation Load Shar...

Page 67: ...h is a case sensitive string of 1 to 256 characters Description Use the display link aggregation member port command to display the detailed link aggregation information on the specified member ports...

Page 68: ...onized E The sending system detects that the incoming frames are collected F The sending system detects that the outgoing frames are distributed G The sending system receives frames in the default sta...

Page 69: ...ion summary command to display the summary information of all aggregation groups You may find that information about the remote system for a static link aggregation group is either displayed as none o...

Page 70: ...include regular expression View Any view Default level 1 Monitor level Parameters bridge aggregation Displays detailed information about the Layer 2 aggregation groups corresponding to Layer 2 aggrega...

Page 71: ...cting F Distributing G Defaulted H Expired Aggregation Interface Bridge Aggregation10 Aggregation Mode Dynamic Loadsharing Type Shar System ID 0x8000 000f e267 6c6a Local Port Status Priority Oper Key...

Page 72: ...eceives frames in the default state H The sending system receives frames in the expired state Aggregation Interface Name of the aggregate interface Aggregation Mode Mode of the aggregation group Stati...

Page 73: ...anagement and Monitoring Command Reference Examples Enable linkUp linkDown trap generation on Layer 2 aggregate interface Bridge Aggregation 1 Sysname system view Sysname snmp agent trap enable Sysnam...

Page 74: ...None Description Use the lacp period short command to set the LACP timeout interval on a port to the short timeout interval 1 second Use the undo lacp period command to restore the default The default...

Page 75: ...System level Parameters None Description Use the link aggregation lacp traffic redirect notification enable command to enable link aggregation traffic redirection Use the undo link aggregation lacp tr...

Page 76: ...ion Use the link aggregation load sharing mode command to configure the global link aggregation load sharing criteria Use the undo link aggregation load sharing mode command to restore the default By...

Page 77: ...priority Syntax link aggregation port priority port priority undo link aggregation port priority View Ethernet interface view Default Level 2 System level Parameters port priority Specifies a port agg...

Page 78: ...orts remove all the member ports from the aggregation group first Examples Configure the aggregation group corresponding to Bridge Aggregation 1 to work in dynamic aggregation mode Sysname system view...

Page 79: ...the specified type Description Use the reset counters interface command to clear the statistics of the specified aggregate interface or interfaces Before collecting statistics for a Layer 2 aggregate...

Page 80: ...ied Related commands display link aggregation member port Examples Clear the LACP statistics on all link aggregation member ports Sysname reset lacp statistics shutdown Syntax shutdown undo shutdown V...

Page 81: ...the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Description Use the display port isolate group command to dis...

Page 82: ...e configuration applies to the current port In port group view the configuration applies to all ports in the port group In Layer 2 aggregate interface view the configuration applies to the Layer 2 agg...

Page 83: ...umber all View System view Default level 2 System level Parameters group number Specifies the number of the isolation group the value ranges from 1 to 4 all Removes all isolation groups Description Us...

Page 84: ...gion related configurations The launch will only occur after you activate the MST region related parameters by using this command or enable MSTP by using the stp enable command in the case that MSTP i...

Page 85: ...ormation including the region name revision level and VLAN to instance mapping settings Two or more MSTP enabled switches belong to the same MST region only if they are configured with the same format...

Page 86: ...tics on the ports specified by a port list 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 po...

Page 87: ...port of the switch and status of the BPDU guard function enabled or disabled CIST port parameters Port status role priority path cost designated bridge designated port edge port non edge port whether...

Page 88: ...type on the port ROOT Root guard LOOP Loop guard BPDU BPDU guard NONE No protection Display the MSTP status and statistics of all MSTIs on all ports Sysname display stp CIST Global Info Mode MSTP CIS...

Page 89: ...sion 3 CIST Bridge Prio 32768 MAC address 000f e200 8048 Max age s 20 Forward delay s 15 Hello time s 2 Max hops 20 Table 19 display stp command output description Field Description CIST Bridge CIST b...

Page 90: ...dot1d 1998 or dot1t Config indicates the configured value and Active indicates the actual value Desg Bridge Port Designated bridge ID and port ID of the port The port ID displayed is insignificant fo...

Page 91: ...ocol standard Version MSTP protocol version CIST Bridge Prio The switch s priority in the CIST MAC address MAC address of the switch Max age s Aging timer in seconds for BPDUs Forward delay s Port sta...

Page 92: ...STI Reason Reason that the port was blocked ROOT Protected Root guard function LOOP Protected Loop guard function Formatcompatibility Protected MSTP BPDU format incompatibility protection function dis...

Page 93: ...l MSTIs on the specified port The displayed information is sorted by MSTI ID If you specify both an MSTI ID and a port this command displays the BPDU statistics of a specified MSTI on a specified port...

Page 94: ...and then received by the same port Max Aged BPDUs BPDUs whose max age was exceeded TCN Sent TCN BPDUs sent TCN Received TCN BPDUs received TCA Sent TCA BPDUs sent TCA Received TCA BPDUs received Conf...

Page 95: ...ular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Description Use the display stp down port command to display information about ports shut down by...

Page 96: ...ollow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expres...

Page 97: ...ular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not m...

Page 98: ...ay stp region configuration command to display effective configuration information of the MST region including the region name revision level and user configured VLAN to instance mappings Related comm...

Page 99: ...mmand to display the root bridge information of all MSTIs Examples Display the root bridge information of all MSTIs Sysname display stp root MSTID Root Bridge ID ExtPathCost IntPathCost Root Port 0 0...

Page 100: ...that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Description Use the display stp tc command to disp...

Page 101: ...o the CIST If you specify no VLAN in the undo instance command all VLANs mapped to the specified MSTI will be remapped to the CIST You cannot map the same VLAN to different MSTIs If you map a VLAN tha...

Page 102: ...ce list View User view Default level 1 Monitor level Parameters interface interface list Clears the MSTP statistics of the ports specified in the format of interface list interface type interface numb...

Page 103: ...region When the MST region name and VLAN to instance mapping table are both the same for two MST regions they can still be differentiated by their MSTP revision levels After configuring this command r...

Page 104: ...se the undo stp bridge diameter command to restore the default 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...

Page 105: ...s the formats of MSTP packets to be sent based on the recognized formats Configured in Layer 2 Ethernet interface view the setting takes effect on the current interface only Configured in port group v...

Page 106: ...mands display stp Examples Enable Digest Snooping on GigabitEthernet 1 0 1 and then globally Sysname system view Sysname interface gigabitethernet 1 0 1 Sysname GigabitEthernet1 0 1 stp config digest...

Page 107: ...ing VLAN based load balancing The path cost setting of a port can affect the role selection of the port When the path cost of a port is changed MSTP will re compute the role of the port and initiate a...

Page 108: ...from other devices usually cannot reach an edge port because the edge port does not connect to any other device If a port receives a configuration BPDU when the BPDU guard function is disabled the por...

Page 109: ...ands stp mode Examples Enable the MSTP feature globally Sysname system view Sysname stp enable Disable MSTP on port GigabitEthernet 1 0 1 Sysname system view Sysname interface gigabitethernet 1 0 1 Sy...

Page 110: ...only Configured in port group view the setting takes effect on all ports in the port group Configured in Layer 2 aggregate interface view the setting takes effect only on the aggregate interface Confi...

Page 111: ...on Use the stp mcheck command to perform the mCheck operation globally or on a port If a port on a switch running MSTP or RSTP connects to a switch running STP this port will automatically migrate to...

Page 112: ...rstp mstp undo stp mode View System view Default level 2 System level Parameters stp Configures the MSTP enabled switch to work in STP compatible mode rstp Configures an MSTP enabled switch to work i...

Page 113: ...takes effect only after the port leaves the aggregation group This feature takes effect only after you enable it on the root port Examples Enable No Agreement Check on GigabitEthernet 1 0 1 Sysname s...

Page 114: ...e of the current port s Use the undo stp point to point command to restore the system default The default setting is auto The MSTP enabled switch automatically detects whether a port connects to a poi...

Page 115: ...escription 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 116: ...r all MSTIs Use the undo stp port log command to disable output of port state transition information for the specified MSTI or all MSTIs This function is enabled by default Examples Enable output of p...

Page 117: ...ysname system view Sysname stp instance 1 priority 4096 stp region configuration Syntax stp region configuration undo stp region configuration View System view Default level 2 System level Parameters...

Page 118: ...ignated to be root bridges of the same MSTI MSTP will select the switch with the lowest MAC address as the root bridge You can specify a root bridge for each MSTI regardless of the switch s priority A...

Page 119: ...ion Syntax stp root protection undo stp root protection View Layer 2 Ethernet interface view port group view Layer 2 aggregate interface view Default level 2 System level Parameters None Description U...

Page 120: ...stp tc protection disable command to disable the TC BPDU attack guard function for the switch By default the TC BPDU attack guard function is enabled Examples Disable the TC BPDU attack guard function...

Page 121: ...and to set the forward delay timer of the switch Use the undo stp timer forward delay command to restore the system default By default the forward delay timer is set to 1500 centiseconds The forward d...

Page 122: ...ree calculation process will be triggered because of configuration BPDU timeout H3C does not recommend you to set the hello time by using this command Instead you can use the stp bridge diameter comma...

Page 123: ...tiseconds Sysname system view Sysname stp timer max age 1000 stp timer factor Syntax stp timer factor factor undo stp timer factor View System view Default level 2 System level Parameters factor Sets...

Page 124: ...ithin each hello time 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 member ports in...

Page 125: ...If you map a VLAN that has been mapped to an MSTI to a new MSTI the old mapping will be automatically removed This command maps each VLAN to the MSTI whose ID is VLAN ID 1 modulo 1 where VLAN ID 1 mod...

Page 126: ...rough remote login software that supports the character type When the length of a description string reaches or exceeds the maximum line width on the terminal software the software starts a new line p...

Page 127: ...tch 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 2...

Page 128: ...with an IP address Internet Address is 192 168 1 54 24 Primary The primary IP address of the interface is 192 168 1 54 24 This information is displayed only if the primary IP address is configured fo...

Page 129: ...a RADIUS server reserved Displays information of the reserved VLANs Protocol modules determine which VLANs are reserved VLANs according to function implementation and reserved VLANs serve protocol mod...

Page 130: ...cription Description of the VLAN Name Name configured for the VLAN IP Address Primary IP address of the VLAN interface available only on a VLAN interface configured with an IP address You can use the...

Page 131: ...Sysname Vlan interface2 ip address Syntax ip address ip address mask mask length undo ip address ip address mask mask length View VLAN interface view Default level 2 System level Parameters ip address...

Page 132: ...on a switch you can use a RADIUS server to issue VLAN configuration to ports that have passed the authentication Some servers can send IDs or names of the issued VLANs to the switch When there are a l...

Page 133: ...scription Use the shutdown command to shut down a VLAN interface Use the undo shutdown command to bring up a VLAN interface By default a VLAN interface is up except when all ports in the VLAN are down...

Page 134: ...ified VLANs NOTE As the default VLAN VLAN 1 cannot be created or removed You cannot create or remove reserved VLANs reserved for specific functions You cannot use the undo vlan command to directly rem...

Page 135: ...ified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Description Use the display port command to display information about...

Page 136: ...can specify up to 10 ports or port ranges Description Use the port command to assign the specified access ports to the current VLAN Use the undo port command to remove the specified access ports from...

Page 137: ...and its aggregation member ports If the system fails to apply the configuration to the aggregate interface it stops applying the configuration to aggregation member ports If the system fails to apply...

Page 138: ...o apply the configuration to an aggregation member port it skips the port and moves to the next member port For more information about Layer 2 aggregate interfaces see the Layer 2 LAN Switching Config...

Page 139: ...he VLANs the hybrid port carries are the set of VLANs specified by vlan id list in each execution In port group view this command applies to all ports in the port group For more information about port...

Page 140: ...aggregation 1 Sysname Bridge Aggregation1 port link type hybrid Sysname Bridge Aggregation1 port hybrid vlan 2 untagged Please wait Done Configuring GigabitEthernet1 0 2 Done Configuring GigabitEther...

Page 141: ...the loopback detection action command see the chapter Ethernet interface configuration commands NOTE To change the link type of a port from trunk to hybrid or vice versa you must set the link type to...

Page 142: ...e port group For more information about port groups see the Layer 2 LAN Switching Configuration Guide The configuration made in Layer 2 aggregate interface view applies to the aggregate interface and...

Page 143: ...o configure the default VLAN ID for the trunk port Use the undo port trunk pvid command to restore the default By default the default VLAN of a trunk port is VLAN 1 You can use a nonexistent VLAN as t...

Page 144: ...100 as the default VLAN of the trunk Layer 2 aggregate interface Bridge aggregation 1 Among the member ports of the aggregation group corresponding to Bridge aggregation 1 GigabitEthernet 1 0 2 is an...

Page 145: ...ing of 1 to 256 characters Description Use the display mac vlan command to display the specified MAC address to VLAN entries If mac address mac address is specified but mask is not specified only the...

Page 146: ...uration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression includ...

Page 147: ...ies a MAC address mask mac mask Specifies a mask for the MAC address in the format of H H H The mac mask argument is comprised of the high order part all the binary bits of which are 1s and the low or...

Page 148: ...stem view Sysname mac vlan mac address 1111 2222 3333 mask ffff ff00 0000 vlan 100 priority 4 mac vlan trigger enable Syntax mac vlan trigger enable undo mac vlan trigger enable View Layer 2 Ethernet...

Page 149: ...Use the undo port pvid disable command to restore the default By default when a port receives a packet with an unknown source MAC address that does not match any MAC address to VLAN mapping it forwar...

Page 150: ...tEthernet1 0 1 vlan precedence mac vlan Protocol based VLAN configuration commands display protocol vlan interface Syntax display protocol vlan interface interface type interface number1 to interface...

Page 151: ...2 System level Parameters vlan id1 Specifies a protocol based VLAN ID ranging from 1 to 4094 vlan id1 to vlan id2 Displays protocol based VLAN information of a VLAN range from vlan id1 to vlan id2 Th...

Page 152: ...level Parameters vlan vlan id Specifies a VLAN ID ranging from 1 to 4094 protocol index Specifies a protocol index The value can be specified by the users or assigned by the system automatically when...

Page 153: ...Sysname interface gigabitethernet 1 0 1 Sysname GigabitEthernet1 0 1 port link type hybrid Sysname GigabitEthernet1 0 1 port hybrid vlan 2 untagged Please wait Done Sysname GigabitEthernet1 0 1 port h...

Page 154: ...llc raw and snap ethernetii etype etype id Specifies to match Ethernet II encapsulation format and the corresponding protocol type values The etype id argument is the protocol type ID of inbound pack...

Page 155: ...vlan command to configure the VLAN as a protocol based VLAN and configure the protocol template for the VLAN Use the undo protocol vlan command to remove the configured protocol template By default no...

Page 156: ...addresses the OUI address masks and the description strings Related commands voice vlan mac address NOTE In general as the first 24 bits of a MAC address in binary format an OUI address is a globally...

Page 157: ...and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Speci...

Page 158: ...w Default level 2 System level Parameters minutes Sets the voice VLAN aging time ranging from 5 to 43200 minutes Description Use the voice vlan aging command to configure the voice VLAN aging time Use...

Page 159: ...VLAN assignment mode but not on an access port operating in automatic voice VLAN assignment mode Examples Enable the voice VLAN feature on GigabitEthernet 1 0 1 Sysname system view Sysname interface g...

Page 160: ...ports up to 16 OUI addresses By default the system is configured with the default OUI addresses You can remove the default OUI addresses and then add recognizable OUI addresses manually Table 35 Defau...

Page 161: ...manual voice VLAN assignment mode Sysname system view Sysname interface gigabitethernet 1 0 1 Sysname GigabitEthernet1 0 1 undo voice vlan mode auto voice vlan qos Syntax voice vlan qos cos value dscp...

Page 162: ...qos trust command to configure the current interface to trust the priority settings carried in incoming voice traffic With this command configured an interface keeps the CoS and DSCP values marked for...

Page 163: ...VLAN security mode By default voice VLAN security mode is disabled When you enable the security mode for a voice VLAN only voice traffic can be transmitted in the voice VLAN The device matches the sou...

Page 164: ...ll lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Description Use the display garp statisti...

Page 165: ...d by interface number2 must be greater than the start port number specified by interface number1 If no ports are specified this command displays the GARP timer settings on all ports Filters command ou...

Page 166: ...s 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...

Page 167: ...es in VLAN 2 on port GigabitEthernet 1 0 1 Sysname display gvrp state interface gigabitethernet 1 0 1 vlan 2 GVRP state of VLAN 2 on port GigabitEthernet1 0 1 Applicant state machine VP Registrar stat...

Page 168: ...Ethernet port lists by each of which you can specify an individual port in the form of interface type interface number or a port range in the form of interface type interface number1 to interface type...

Page 169: ...ax display gvrp status 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 ab...

Page 170: ...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 Description Use the display gv...

Page 171: ...garp timer join Syntax garp timer join timer value undo garp timer join View Ethernet interface view Layer 2 aggregate interface view port group view Default level 2 System level Parameters timer valu...

Page 172: ...default is beyond the valid value range for the Leave timer By default the Leave timer is set to 60 centiseconds Related commands display garp timer garp timer join and garp timer leaveall Examples Se...

Page 173: ...ggregate interface view port group view Default level 2 System level Parameters None Description Use the gvrp command to enable GVRP Use the undo gvrp command to disable GVRP By default GVRP is disabl...

Page 174: ...pending on the view the command is executed The default GVRP registration mode is normal Note that this command is only available on trunk ports Related commands display garp statistics Examples Set t...

Page 175: ...n Use the reset garp statistics command to clear the GARP statistics on the specified ports or all ports if no ports are specified The cleared statistics include the statistics about GVRP protocol pac...

Page 176: ...Ethernet ports A basic QinQ enabled port tags received frames with the port s default VLAN tag Configured in Ethernet interface view this command takes effect on the current port only Configured in p...

Page 177: ...protocol type values listed in Table 38 Table 38 Common protocol type values Protocol type Value ARP 0x0806 PUP 0x0200 RARP 0x8035 IP 0x0800 IPv6 0x86DD PPPoE 0x8863 0x8864 MPLS 0x8847 0x8848 IPX SPX...

Page 178: ...ayer 2 ethernet interface view Layer 2 aggregate interface view port group view Default Level 2 System level Parameters vlan id Outer VLAN ID ranging from 1 to 4094 Description Use the qinq vid comman...

Page 179: ...an provide up to 10 VLAN ID lists by each of which you can specify an individual VLAN ID with the vlan id argument or a VLAN ID range in the format of vlan id to vlan id where the second VLAN ID must...

Page 180: ...me system view Sysname interface gigabitethernet 1 0 1 Sysname GigabitEthernet1 0 1 qinq enable Sysname GigabitEthernet1 0 1 qinq vid 100 Sysname GigabitEthernet1 0 1 vid 100 raw vlan id inbound 3 5 2...

Page 181: ...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...

Page 182: ...interface type IfIndex Management address interface ID 54 Management address OID 0 Port VLAN ID PVID 1 Port and protocol VLAN ID PPVID 1 Port and protocol VLAN supported Yes Port and protocol VLAN en...

Page 183: ...supports media streams and can also function as a normal terminal device Class III Communication terminal device It supports the IP communication systems of end users and can also function as a normal...

Page 184: ...he port PoE supported Indicates whether PoE is supported on the port Power port class PoE device type PSE Power sourcing equipment PD Powered device PSE power supported Indicates whether the device ca...

Page 185: ...cation information is invalid Coordinate based LCI Location information is coordinate based Civic Address LCI Typical address information ECS ELIN Telephone number for urgencies PoE PSE power source P...

Page 186: ...ns see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the speci...

Page 187: ...dp neighbor information list System Name Local Interface Chassis ID Port ID System1 GE1 0 1 000f e25d ee91 GigabitEthernet1 0 5 System2 GE1 0 2 000f e25d ee92 GigabitEthernet1 0 6 System3 GE1 0 3 000f...

Page 188: ...led Router Routing is enabled Management address OID Management address object ID Port VLAN ID Port VLAN ID Port and protocol VLAN ID PPVID Port protocol VLAN ID Port and protocol VLAN supported Indic...

Page 189: ...ress LCI Typical address information ECS ELIN Telephone for urgencies Location Information Location information PoE PSE power source PSE power type Unknown Unknown power supply Primary Primary power s...

Page 190: ...Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displa...

Page 191: ...of dropping neighbor information due to lack of available memory space The number of LLDP neighbor information aged out Number of the neighbor information entries that have aged out LLDP statistics I...

Page 192: ...r expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Description Use the display lldp status command to display LLDP status information If no port is spe...

Page 193: ...LLDP Indicates whether LLDP is enabled on the port Admin status LLDP mode of the port TxRx A port in this mode sends and receives LLDPDUs Rx_Only A port in this mode receives LLDPDUs only Tx_Only A p...

Page 194: ...of advertisable optional LLDP TLVs of a port If no port is specified this command displays the types of advertisable optional TLVs of each port Examples Display the types of advertisable optional LLD...

Page 195: ...izationally specific TLVs Port VLAN ID TLV Port and protocol VLAN ID TLV VLAN name TLV IEEE 802 3 extended TLV IEEE 802 3 organizationally specific TLVs MAC Physic TLV Power via MDI TLV Link aggregati...

Page 196: ...thernet 1 0 1 Sysname system view Sysname interface gigabitethernet 1 0 1 Sysname GigabitEthernet1 0 1 lldp admin status rx lldp check change interval Syntax lldp check change interval interval undo l...

Page 197: ...P operates in disable mode To have your device work with Cisco IP phones you must enable CDP compatible LLDP globally and then configure CDP compatible LLDP to operate in TxRx mode on the specified po...

Page 198: ...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 comman...

Page 199: ...system view Sysname interface gigabitethernet 1 0 1 Sysname GigabitEthernet1 0 1 lldp encapsulation snap lldp fast count Syntax lldp fast count count undo lldp fast count View System view Default leve...

Page 200: ...rmation of a device is determined by the following expression TTL multiplier LLDPDU transmit interval The TTL can be up to 65535 seconds Longer TTLs will be rounded off to 65535 seconds Related comman...

Page 201: ...address Use the undo lldp management address tlv command to disable management address advertising in LLDPDUs By default the management address is advertised through LLDPDUs For a Layer 2 Ethernet po...

Page 202: ...LLDP trapping for GigabitEthernet 1 0 1 Sysname system view Sysname interface gigabitethernet 1 0 1 Sysname GigabitEthernet1 0 1 lldp notification remote change enable lldp timer notification interval...

Page 203: ...it delay command to restore the default By default the LLDP re initialization delay is 2 seconds Examples Set the LLDP re initialization delay to 4 seconds Sysname system view Sysname lldp timer reini...

Page 204: ...lldp timer tx interval 20 lldp tlv enable Syntax lldp tlv enable basic tlv all port description system capability system description system name dot1 tlv all port vlan id protocol vlan id vlan id vla...

Page 205: ...ation status TLVs max frame size Advertises maximum frame size TLVs power Advertises power via MDI TLVs and power stateful control TLVs med tlv Advertises LLDP MED TLVs capability Advertises LLDP MED...

Page 206: ...t disable it from advertising other LLDP MED TLVs To disable the device from advertising MAC PHY configuration status TLVs you must first disable it from advertising LLDP MED capabilities TLVs If you...

Page 207: ...0 display lldp neighbor information 174 display lldp statistics 179 display lldp status 181 display lldp tlv config 182 display loopback detection 1 1 display mac address 44 display mac address aging...

Page 208: ...detection control enable 19 loopback detection enable 19 loopback detection interval time 20 loopback detection multi port mode enable 21 loopback detection per vlan enable 22 M mac address interface...

Page 209: ...eck 101 stp pathcost standard 102 stp point to point 103 stp port priority 104 stp port log 105 stp priority 105 stp region configuration 106 stp root primary 107 stp root secondary 107 stp root prote...

Reviews: