background image

Ethernet Switch User Manual 

 

 

Manual_cmd_line_config-ESML6-P3-Rev1106 

Copyright © KBC Networks Ltd. 

 Page 17 of 49 

www.kbcnetworks.com

 

 

4.2

 

Setting port rate mask (types of message) 

Ingress direction: 

To configure the speed limitation of different types of messages: 

 

SWITCH(config)#port-rate ingress [service|broadcast] [add|delete] <0,4> 

The parameter <0, 4> is as follows: 0: unicast, 1: multicast, 2: broadcast, 3: reserved 
multicast, 4: Destination Lookup Fail (DLF) (including unknown unicast & unknown 
multicast) 

To show the types of message speed limitation in ingress direction, type:

 

SWITCH(config)#port-rate ingress show

 

To show the overall port speed limitation configuration, type:

 

SWITCH#show port-rate

 

 

4.3

 

Port rate configuration 

Ingress direction: 

To configure the service/broadcast limitation:

 

SWITCH(config-if-eth x)#port-rate ingress [service|broadcast] rate <64-1000000> 

The parameter <64-1000000> is the range of the speed limitation, ‘x’ is the ID of speed 
limited port.

 

To disable the service/broadcast limitation, type:

 

SWITCH(config-if-eth x)#port-rate ingress [service|broadcast] disable 

 

Egress direction: 

To configure the port’s transmitting speed limitation, type:

 

SWITCH(config-if-eth x)#port-rate egress rate <64-1000000> 

The parameter <64-1000000> is the range of the speed limitation, ‘x’ is the ID of the 
speed limited port. 

 

To disable the port transmitting speed limitation, type:

 

SWITCH(config-if-eth x)#port-rate egress disable 

‘x’ is the ID of the speed limited port.  

 

 

 

Summary of Contents for ESML6-P3

Page 1: ...Ethernet Switch User Manual Ethernet Switch Command Line Configuration Manual ESML6 P3 ...

Page 2: ...Command 8 2 2 5 Types of Command Parameters 9 2 2 6 Command Abbreviation 9 2 2 7 History Command 10 2 3 COMMON COMMANDS 10 2 3 1 Mode Configuration 10 2 3 2 Password Configuration 11 2 3 3 Version number 11 2 3 4 Switch running function 11 2 3 5 Switch configuration information 11 2 3 6 Save configuration and restore default configuration 11 3 PORT CONFIGURATION 12 3 1 OVERVIEW 12 3 2 CONFIGURE PO...

Page 3: ...configuration query 15 4 PORT SPEED LIMITATION 16 4 1 OVERVIEW OF THE PORT SPEED LIMITATION FUNCTION 16 4 2 SETTING PORT RATE MASK TYPES OF MESSAGE 17 4 3 PORT RATE CONFIGURATION 17 4 4 PORT SPEED LIMITATION 18 4 5 OVERALL PORT SPEED LIMITATION 18 5 VLANS 18 5 1 INTRODUCTION 18 5 2 VLAN CONFIGURATION 18 5 2 1 VLAN port configuration 18 5 2 2 Adding a VLAN port 19 5 2 3 Deleting a port from a VLAN ...

Page 4: ...iority weight ratio configuration 24 7 2 6 VLAN priority mapping configuration 25 7 2 7 TOS priority mapping configuration 25 7 2 8 Configuring DSCP priority mapping 26 7 2 9 Showing QoS configuration 26 8 IGMP SNOOPING 26 8 1 INTRODUCTION 26 8 2 7 2 IGMP SNOOPING CONFIGURATION 27 8 2 1 Configuring the IGMP Snooping auto query function 27 8 2 2 Enable disable IGMP Snooping 27 8 2 3 Showing informa...

Page 5: ...GURATION 35 12 1 INTRODUCTION 35 12 2 SNMP CONFIGURATION 36 12 2 1 Enabling Disabling SNMP 36 12 2 2 Read Write community name 36 12 2 3 Trap IP address configuration 36 12 2 4 Request Trap port number 36 12 2 5 Setting the number of EMS management stations 37 12 2 5 12 2 6 Enable Disable Trap 37 12 3 DISPLAY THE SNMP STATUS 37 13 REMOTE NETWORK MONITORING RMON CONFIGURATION 38 13 1 INTRODUCTION 3...

Page 6: ... Switch User Manual Manual_cmd_line_config ESML6 P3 Rev1106 Copyright KBC Networks Ltd Page 5 of 49 www kbcnetworks com 14 2 3 DT Ring ring open alarm enable disable 46 14 3 DISPLAY ALARM STATUS INFORMATION 47 ...

Page 7: ... If using the Console RJ45 serial port on the front panel of the switch to connect with switch s built in CLI interface the configuration of the Console port is as follows Baud Rate 9600 Bit 8 Parity None Stop Bit 1 Flow Control None When connecting the switch using the Console port VT100 terminal emulation is recommended To configure this at the hyper terminal interface select the file menu attri...

Page 8: ...2 2 Grammar Help The grammar help is integrated in the CLI If you are unclear about the grammar type the first part of command followed with or select the Space Key and type The possible command list will be automatically displayed Choose the desired command Select Enter to finish 2 2 3 Complete Command by Grammar Help The Tab key can be used to complete a command Enter part of a command select Ta...

Page 9: ...formation rmon show rmon information rstp show RSTP information running config current operating configuration serial num device serial number snmp SNMP status sntp SNTP table ssh configure ssh service switch show switch status tacacs show tacacs information telnet Telnet configuration information timer show timer message trunk show trunk information uptime display the system uptime version softwa...

Page 10: ...o forms a string or a hexadecimal number is required Users can input to find out the detail of the parameter description Example macaddr means the required parameter is a hex MAC address eg 005023344325 and name requires a string to be the subject s name 2 2 6 Command Abbreviation Command abbreviation is where users need only to input the first letters of the command word or the key word As long a...

Page 11: ...mands 2 3 1 Mode Configuration The CLI provides two modes Read Only and Configuration Using the Read Only mode the user can only read a part of the system configuration information Using the Configuration Mode the user can read and configure all the system configuration information and also use some commands to enter certain protocols independent of the Configuration Mode Read Only mode the prompt...

Page 12: ...ssword 1 20 2 3 3 Version number To display the software version number use the following command SWITCH show version 2 3 4 Switch running function To display the system running function go into Configuration Mode and type the following command SWITCH show running config 2 3 5 Switch configuration information In Configuration Mode type the following command SWITCH show config 2 3 6 Save configurat...

Page 13: ...ll duplex Flow control The ESML6 P3 supports 802 3 based port flow control In full duplex mode if the port receives data beyond its limit the port will transmit flow control frames to prevent packet loss caused by the rate limit In half duplex mode if the port receives data beyond its limit the port generates back pressure half duplex collision detection frames to reduce the transmitting data from...

Page 14: ...th1 no lock Disable port SWITCH config if eth1 lock 3 2 3 Auto negotiation configuration Enable auto negotiation SWITCH config if eth1 auto negotiation Disable auto negotiation SWITCH config if eth1 no auto negotiation 3 2 4 Port rate configuration Port rate configuration 10M 100M 1000M sets the ports to work at a fixed rate 10M port rate configuration SWITCH config if eth1 speed 10m 100M port rat...

Page 15: ...ing configuration 3 3 1 Enable disable port mirroring Enable port mirroring SWITCH config if eth1 mirror enable This enables port mirroring and sets port 1 as the mirroring port Disable port mirroring SWITCH config if eth1 mirror disable 3 3 2 Mirroring port configuration Adding egress mirroring to mirrored ports SWITCH config if eth1 mirror add egress port 2 Adding ingress mirroring to mirrored p...

Page 16: ...ddress for the port KYLAND config if eth1 acl mac add HH HH HH HH HH HH Delete MAC address for the port SWITCH config if eth1 acl mac delete HH HH HH HH HH HH 3 5 Configure query function 3 5 1 ACL configuration query Query ACL port mode configuration SWITCH config if eth1 show acl mode Query of ACL port MAC address configuration SWITCH config if eth1 show acl mac 3 5 2 Port statistics query SWITC...

Page 17: ...M 64K 32K to 32K Actual value 64K Input value 127K Actual value 128K Input value 2 3M 2M to 100M 1M 0 5M to 0 5M Actual value 2M Input value 2 8M Actual value 3M The Control Interface supports the speed limitation control using the Console port Telnet and the WEB interface Limitation mode Speed limitation is divided into two groups Group 1 and Group 2 The message first accesses Group 1 which is sp...

Page 18: ...ort speed limitation configuration type SWITCH show port rate 4 3 Port rate configuration Ingress direction To configure the service broadcast limitation SWITCH config if eth x port rate ingress service broadcast rate 64 1000000 The parameter 64 1000000 is the range of the speed limitation x is the ID of speed limited port To disable the service broadcast limitation type SWITCH config if eth x por...

Page 19: ... set to be untagged it is an access port This is used to connect an end station that is VLAN unaware this port provides connectivity through the switch without the actual end station being required to support VLAN tagging If a port is untagged the priority of the port can be set from 0 to 7 A tagged port is a trunk port This port is used to interconnect switches that are in the VLAN aware domain T...

Page 20: ... a port is set to be untagged it has 7 priorities from 0 to 7 Example Add port 3 to VLAN2 set to be untagged and with a priority of 5 SWITCH config vlan2 add port 3 untag priority 5 5 2 3 Deleting a port from a VLAN Example Delete port 3 from VLAN 2 SWITCH config vlan2 delete port 3 5 2 4 Adding a VLAN port name Example Changing the name of a VLAN to KBC SWITCH config vlan2 description KBC 5 2 5 E...

Page 21: ...that the private ports are set as tagged and the ports within the shared domain are set as untagged In the isolated domain VLANs group the private ports as untagged members with only the shared ports tagged do not include the ports from the other private VLAN Add all the VLANs to the PVLAN 5 3 1 Adding a VLAN to a PVLAN SWITCH config pvlan add 0 4093 5 3 2 Deleting a VLAN from a PVLAN SWITCH confi...

Page 22: ...SWITCH config vlan 100 Adding untagged ports to VLAN100 SWITCH config vlan 100 add port 1 untag priority 1 SWITCH config vlan 100 add port 2 untag priority 1 Adding tagged ports to VLAN100 SWITCH config vlan 100 add port 3 tag SWITCH config vlan 100 add port 4 tag SWITCH config vlan 100 add port 5 tag SWITCH config vlan 100 add port 6 tag To create VLAN200 SWITCH config vlan 200 Adding untagged po...

Page 23: ... add 100 SWITCH config pvlan add 200 SWITCH config pvlan add 300 6 Port Trunking 6 1 Introduction Port trunking or link aggregation is a method by which physical ports are combined into one logical link to increase bandwidth and improve resilience The ESML6 P3 supports up to 2 trunk groups and each group can have up to 4 members The configured services for all ports in the same trunk group should ...

Page 24: ...er which the scheduling is carried out according to the weight ratio The weight ratio can be set as either 8 4 2 or 1 with 8 being the highest priority and 1 the lowest The ESML6 P3 supports 3 types of scheduling strategies port based highest priority TOS DIFF and 802 1p lowest priority Port based priority only maps 2 queues either highest or lowest TOS DIFF and 802 1p support 4 queues 7 2 QoS con...

Page 25: ... qos policy tos diff add port 1 MAX SWITCH config qos tos diff mode tos Enabling IP DIFF based scheduling strategy SWITCH config qos policy tos diff add port 1 MAX SWITCH config qos tos diff mode diff serv Disabling IP TOS DIFF based scheduling strategy SWITCH config qos policy tos diff delete port 1 MAX 7 2 5 Priority weight ratio configuration In the WRR scheduling mode the user can specify the ...

Page 26: ... VLAN Tag according to port s 802 1p priority which is regarded as the message priority 802 1p priority configuration of ports is described in the port configuration To configure the 802 1p based scheduling strategy the mapping relation is showed in the table below at the default state 802 1p priority Priority queue 6 7 Queue 3 highest priority 4 5 Queue 2 high priority 2 3 Queue 1 low priority 0 ...

Page 27: ...received the switch will know which port should receive the transmitted multicast data IGMP Snooping also allows the switch to be able to track all network group members that are physically connected to the switch The ESML6 P3 also supports a message auto query function so that the switch can be added to the network without a Layer 3 switch or router It supports the auto query restraint function w...

Page 28: ...p quto query disable 8 2 2 Enable disable IGMP Snooping SWITCH config igmp enable 8 2 3 Showing information of IGMP Snooping multicast group members SWITCH show igmp snooping 9 DT Ring Protocol configuration 9 1 Introduction The DT Ring family is a set of proprietary protocols that are available on the ESML6 P3 switch They are customized for industrial needs and provide reliable communication and ...

Page 29: ... time Quantity of the switches in the ring x 2 5 10 ms The following should be taken into consideration when looking at the quantity of switches being connected in one ring Network throughput the data flow increases when the quantity of the switches increases therefore the data flow should be kept to less than the network throughput Recover time the recovery time is related to the quantity of swit...

Page 30: ... to create a new DT Ring domain 9 2 2 Create Delete the ring ports In a DT Ring ring ports should be configured to compose a redundant ring topology Create a ring port SWITCH config dt ring 1 32 SWITCH config dt ring 1 ringport add 1 10 Where 1 32 is the domain ID and 1 10 is the Port ID Delete a ring port SWITCH config dt ring 1 32 SWITCH config dt ring 1 ringport delete 1 10 Where 1 32 is the do...

Page 31: ... Ring domain SWITCH show dt ring 1 32 Where 1 32 is the domain ID 10 DT Ring 10 1Introduction DT Ring is used to provide backup between two rings configured with the DT Ring protocol DT Ring determines the ring and port status depending on the ID of the backup devices to ensure there is redundancy but no loops Only one backup port is allowed on one switch and only two backup ports are allowed in o...

Page 32: ...e The first step in setting up a new DT Ring is to create a new DT Ring domain 10 2 2Create Delete backup ports In DT Ring we need to set two backup ports to compose the backup redundant rings Create a backup port SWITCH config dt 1 32 SWITCH config dt ring 1 backport add 1 26 Where 1 32 is the domain ID and 1 10 is the Port ID Delete a backup port SWITCH config dt 1 32 SWITCH config dt ring 1 bac...

Page 33: ...WITCH config rstp enable Disable RSTP SWITCH config rstp disable Bridge priority SWITCH config rstp bridge priority 0x00 0xFFFF Where 0x00 0xFFFF is the value of the bridge priority Its range is 0x00 to 0xFFFF the pace is 0x1000 default value is 0x8000 The device s bridge priority and MAC address compose the bridge ID RSTP determines the current root bridge and root port by the bridge ID The lower...

Page 34: ...s a switch joins the RSTP calculation The devices with a hop count bigger than the max age will not be calculated in the present spanning tree Setting protocol version SWITCH config rstp rstp forceversion 0 2 Where 0 2 is the current protocol version 0 for STP 2 for RSTP 1 is not valid Note The value of Forward Delay Max Age and Hello Time should correspond with following rules 2 Bridge_Forward_De...

Page 35: ...ation where both ends of a link can support RSTP but they are working under STP protocol Using the mcheck command forces the devices that support RSTP to use RSTP 11 2 2Display RSTP status Display current protocol status SWITCH show rstp This command displays the protocol status of current bridge and all ports SWITCH SWITCH show rstp SPANNING TREE information in the bridge Root ID Mac Address 08 0...

Page 36: ... network device configuration SNMP can be used to gather statistics configuration and testing for a network and also error detection and recovery functions An SNMP managed network consists of three key components a managed device an agent the software which runs on the managed device and the Network Management System NMS this is the software which runs on the manager SNMP itself does not define wh...

Page 37: ...tting read write community name SWITCH config snmp community 3 16 rw Where 3 16 is the number of characters 12 2 3Trap IP address configuration Configuration of the Trap IP address sets up selective trap message sending which means that the switch will only send trap messages to the listed IP addresses in the Trap IP address list Add trap IP address SWITCH config snmp add trapip 1 5 H H H H Where ...

Page 38: ... this number will assist with controlling the communication load and enhance security The ageing time of a management station is 1 minute During this period of time the management station is not connected to other devices and its IP address is also removed from EMS IP list Setting the number of management stations SWITCH config snmp emsnum 1 3 Where 1 3 is the number of the management station 12 2...

Page 39: ...e user to operate among multiple manufacturers for SNMP management and monitoring agents It offers a standard for a group of MIBs to allow the collection of network statistics unavailable via SNMP Domain values can be set for critical parameters so that alarm signals are sent automatically This menu option contains RMON statistics RMON history RMON alarm and RMON event 13 2RMON configuration 13 2 ...

Page 40: ... group SWITCH config rmon alarm add 1 65535 1 65535 1 128 1 2 1 3 1 65535 1 65535 1 65535 1 65535 1 32 Where in order 1 65535 is the alarm group ID 1 65535 is the sampling interval 1 128 is the monitored statistics grouping node OID or ifEntry grouping node OID 1 2 is the sampling type 1 for absolute sampling and 2 for relative sampling 1 3 is the alarm type 1 for rising alarm 2 for falling alarm ...

Page 41: ...fined in other places of MIB The event ensures that the receiving messages are recorded in this group and makes the monitor send SNMP trap message to the management station Delete event group SWITCH config rmon event delete 1 65535 Where 1 65535 is the event group ID 13 2 2 Display RMON status Display RMON statistics group information SWITCH show rmon stats This command will display current statis...

Page 42: ...WITCH show rmon ethhis ethHisIndex 1 ethHisSampleIndex 1 HisIntervalStart 0days 2h 5m 11s 90th DropEvnt 0 Octets 1689 Pkts 16 BroadCastPkts 15 MulticastPkts 0 CRCAlignErr 0 UndersizePkts 0 OversizePkts 0 Fragments 0 Jabbers 0 Collisions 0 Utilization 1 ethHisIndex 1 ethHisSampleIndex 2 HisIntervalStart 0days 2h 5m 16s 90th DropEvnt 0 Octets 1960 Pkts 18 BroadCastPkts 16 MulticastPkts 2 CRCAlignErr...

Page 43: ...rt 0days 2h 5m 21s 90th DropEvnt 0 Octets 1258 Pkts 14 BroadCastPkts 12 MulticastPkts 0 CRCAlignErr 0 UndersizePkts 0 OversizePkts 0 Fragments 0 Jabbers 0 Collisions 0 Utilization 1 ethHisIndex 2 ethHisSampleIndex 1 HisIntervalStart 0days 2h 5m 11s 90th DropEvnt 0 Octets 0 Pkts 0 BroadCastPkts 0 MulticastPkts 0 CRCAlignErr 0 UndersizePkts 0 OversizePkts 0 Fragments 0 Jabbers 0 Collisions 0 Utiliza...

Page 44: ...kts 0 BroadCastPkts 0 MulticastPkts 0 CRCAlignErr 0 UndersizePkts 0 OversizePkts 0 Fragments 0 Jabbers 0 Collisions 0 Utilization 0 ethHisIndex 2 ethHisSampleIndex 3 HisIntervalStart 0days 2h 5m 21s 90th DropEvnt 0 Octets 0 Pkts 0 BroadCastPkts 0 MulticastPkts 0 CRCAlignErr 0 UndersizePkts 0 OversizePkts 0 Fragments 0 Jabbers 0 Collisions 0 Utilization 0 Display RMON alarm group setting informatio...

Page 45: ... RisingThreshold 100 FallingThreshold 10 RisingEventIndex 1 FallingEventIndex 1 Owner KBC Status SNMP_VALID alarmIndex 2 Interval 5 Variable 1 3 6 1 2 1 16 1 1 1 14 1 SampleType ALARM_ABSOLUTE StartupAlarm ALARM_RISING RisingThreshold 100 FallingThreshold 10 RisingEventIndex 1 FallingEventIndex 1 Owner KBC Status SNMP_VALID Display RMON event group setting information SWITCH show rmon stats Displa...

Page 46: ...ption alarm rising 1 1 3 6 1 2 1 2 2 1 16 1 1 288854 100 14 ALARM management configuration 14 1Introduction The ESML6 P3 series switches support device alarm and related alarm report SNMP trap alarm enable disable and alarm searching This ensures that an alarm is reported in a timely and accurately manner The ESML6 P3 series switches support the following alarm type Alarm type Meaning Link down al...

Page 47: ...nk down enable disable Port link down alarm enable disable can be set through CLI command The port disabled for link down alarm will not send trap message to the manager Setting port alarm management status SWITCH config alarm port id 1 26 alarmtype 8001 adstate 1 2 The parameter 1 26 Port index 8001 is alarm type The parameter 1 2 1 for Enable and 2 for Disable 14 2 2 Address conflict detect enab...

Page 48: ...L6 P3 Rev1106 Copyright KBC Networks Ltd Page 47 of 49 www kbcnetworks com 14 3 Display alarm status information Display alarm information SWITCH show alarm This command will display the port DT Ring power supply IP and MAC conflict alarm management status ...

Page 49: ...Ethernet Switch User Manual Manual_cmd_line_config ESML6 P3 Rev1106 Copyright KBC Networks Ltd Page 48 of 49 www kbcnetworks com data delivered ...

Reviews: