- DL manuals
- KBC
- Network Router
- ESML6-P3
- User Manual
KBC ESML6-P3 User Manual - Port Configuration
Ethernet Switch User Manual
Manual_cmd_line_config-ESML6-P3-Rev1106
Copyright © KBC Networks Ltd.
Page 12 of 49
www.kbcnetworks.com
3
Port Configuration
3.1
Overview
This section describes the port-related configuration and configuration of port-based
functions of the ESML6-P3 series. The user can configure auto-negotiation, port enable,
duplex, flow control, mirroring, port rate, ACL, etc.
Auto negotiation:
The ESML6-P3 supports the auto-negotiation function for ports; ports with the auto-
negotiation function automatically negotiate the communication mode (duplex state,
communication speed, etc) according to the port at the other end of the connection. This
function only works for the 10/100M copper ports and the 1000M fiber or copper ports;
100Base-FX ports do not support auto negotiation and their fixed rate is 100M with full
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 the sending end.
Mirroring
The ESML6-P3 supports port-based mirroring. Its function is to copy the data on the
mirroring port to the mirrored port(s) to allow real-time monitoring of communications.
Access Control Lists (ACL):
The ACL provide the switch with the ability to filter ingress and egress traffic based on
conditions specified in the ACL. The ESML6-P3 supports Port plus MAC-based ACL
functions with two modes ‘accept’ and ‘reject’ this guarantees the port security. In
‘accept’ mode, only the configured MAC address can pass through switch. In ‘reject’
mode, the configured MAC address is not allowed to pass through the switch.
Summary of ESML6-P3
Page 1
Ethernet switch user manual ethernet switch command line configuration manual esml6-p3.
Page 2
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 1 of 49 www.Kbcnetworks.Com table of contents 1 overview ................................................................................. 6 1.1 i ntroduction .........................................
Page 3
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 2 of 49 www.Kbcnetworks.Com 3.2.6 port flow control configuration .............................................................. 14 3.3 p ort mirroring configuration ..................................
Page 4
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 3 of 49 www.Kbcnetworks.Com 6.2 p ort t runking configuration ................................................................ 22 6.2.1 adding a trunk port: ...........................................
Page 5
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 4 of 49 www.Kbcnetworks.Com 10 dt-ring+ ................................................................................ 30 10.1 i ntroduction .........................................................
Page 6
Ethernet 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 d isplay alarm status information ...........................
Page 7: Overview
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 6 of 49 www.Kbcnetworks.Com 1 overview 1.1 introduction this manual covers the configuration of the esml6-p3 series using the command line interface (cli) and the instructions of the command set. 1...
Page 8: 2.2
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 7 of 49 www.Kbcnetworks.Com 2.2 command line 2.2.1 command grammar to use the command line interface (cli) use the following steps: • type ‘enable’ after entering the cli and the command prompt wil...
Page 9
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 8 of 49 www.Kbcnetworks.Com fdb fdb configuration history display the session command history igmp igmp protocol interface interface status and configuration link-check show link-check information ...
Page 10
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 9 of 49 www.Kbcnetworks.Com 2.2.5 types of command parameters normally the command in an angle bracket ‘’ is a command parameter. There are four types of command parameters in this series of switch...
Page 11: 2.3
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 10 of 49 www.Kbcnetworks.Com this command line can be abbreviated to: switch> switch>ena switch#con ter switch(config)# switch(config)#vlan 2 switch(config-vlan2)#desc market switch(config-vlan2)#a...
Page 12
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 11 of 49 www.Kbcnetworks.Com 2.3.2 password configuration the esml6-p3 supports a password checking function in command line and telnet. Go into configuration mode (see section 2.2.1). In configura...
Page 13: Port Configuration
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 12 of 49 www.Kbcnetworks.Com 3 port configuration 3.1 overview this section describes the port-related configuration and configuration of port-based functions of the esml6-p3 series. The user can c...
Page 14: 3.2
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 13 of 49 www.Kbcnetworks.Com 3.2 configure port functions 3.2.1 enter port configuration menu enter port configuration, using the command below: switch(config)# int eth note: in the examples below ...
Page 15: 3.3
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 14 of 49 www.Kbcnetworks.Com 3.2.5 port duplex configuration full duplex configuration: switch(config-if-eth1)# duplex half duplex configuration: switch(config-if-eth1)# no duplex 3.2.6 port flow c...
Page 16: 3.4
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 15 of 49 www.Kbcnetworks.Com 3.4 acl configuration setting ‘accept’ mode for port acl: switch(config-if-eth1)# acl mode accept setting ‘reject’ mode for port acl: switch(config-if-eth1)# acl mode r...
Page 17: Port Speed Limitation
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 16 of 49 www.Kbcnetworks.Com 4 port speed limitation 4.1 overview of the port speed limitation function the esml6-p3 series supports port transmitting rate limitation, services limitation and broad...
Page 18: 4.2
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 [ser...
Page 19: 4.4
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 18 of 49 www.Kbcnetworks.Com 4.4 port speed limitation switch(config-if-eth x)#show port-rate ‘x’ is the id of the speed limited port 4.5 overall port speed limitation switch#show port-rate 5 vlans...
Page 20
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 19 of 49 www.Kbcnetworks.Com switch(config-vlan2)# 5.2.2 adding a vlan port each added port can be either set to be tagged or untagged. Example: setting port 2 to be tagged. Switch(config-vlan2)#ad...
Page 21: 5.3
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 20 of 49 www.Kbcnetworks.Com 5.3 pvlan configuration a private vlan (pvlan) contains switch ports that cannot communicate with each other on a switch but can access a shared domain. These ports are...
Page 22
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 21 of 49 www.Kbcnetworks.Com vlan100 port 1 = untagged port 3 = tagged port 2 = untagged port 4 = tagged port 5 = tagged port 6 = tagged vlan200 port 3 = untagged port 1 = tagged port 4 = untagged ...
Page 23: Port Trunking
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 22 of 49 www.Kbcnetworks.Com to create vlan300: create vlan 300 #switch(config)#vlan 300 adding untagged ports to vlan300: #switch(config-vlan-300)#add port 5 untag priority 1 #switch(config-vlan-3...
Page 24: Quality Of Service (Qos)
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 23 of 49 www.Kbcnetworks.Com switch(config-trunk1)#end 6.2.4 return to main menu: switch(config-trunk1)#exit 7 quality of service (qos) 7.1 introduction quality of service (qos) is used to provide ...
Page 25
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 24 of 49 www.Kbcnetworks.Com disabling port-based scheduling strategy: switch(config)# qos policy port-based delete port enabling 802.1p-based scheduling strategy: switch(config)# qos policy 802.1p...
Page 26
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 25 of 49 www.Kbcnetworks.Com queue-0 is the lowest priority, queue-1 is low priority, queue-2 is high priority and queue-3 is the highest priority. Note: the weight ratio of high priority is not le...
Page 27: Igmp Snooping
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 26 of 49 www.Kbcnetworks.Com 7.2.8 configuring dscp priority mapping the default mapping relations are shown in the following table: ip dscp priority priority 47 – 63 queue 3 (highest priority) 32 ...
Page 28: 8.2
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 27 of 49 www.Kbcnetworks.Com 8.2 7.2 igmp snooping configuration 8.2.1 configuring the igmp snooping auto-query function if there is not a layer 3 switch or router, the igmp auto-query function is ...
Page 29
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 28 of 49 www.Kbcnetworks.Com master slave slave slave figure 9-1 dt-ring topology note: each switch in a same ring should have same domain id. The domain name should be the same for each switch in ...
Page 30: 9.2
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 29 of 49 www.Kbcnetworks.Com 9.2 dt-ring configuration 9.2.1 create / delete a dt-ring domain creating a dt-ring domain: switch(config)#dt-ring new domain master/slave where is the domain name and ...
Page 31: Dt-Ring+
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 30 of 49 www.Kbcnetworks.Com switch(config)#dt-ring switch(config-dt-ring-1)#protocol disable where is the domain id. 9.2.4 display the status of the dt-ring domain this command displays the basic ...
Page 32: 10.2
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 31 of 49 www.Kbcnetworks.Com 10.2 dt-ring+ configuration 10.2.1 enable/disable dt-ring+ enabling dt-ring+ switch(config)#dt switch(config-dt-ring-1)#dtring+ enable where is the domain id and is the...
Page 33: Rstp Configuration
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 32 of 49 www.Kbcnetworks.Com 11 rstp configuration 11.1 introduction rstp (rapid spanning tree protocol) is a layer 2 management protocol developed from stp (spanning tree protocol) it is compatibl...
Page 34
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 33 of 49 www.Kbcnetworks.Com where is the hello time in seconds. The default value is 2. Hello time is the interval of sending the bpdu periodically. It is set by the root bridge and it is the same...
Page 35
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 34 of 49 www.Kbcnetworks.Com setting the port priority switch(config)#rstp port priority whereis the port id and is the port priority, the default value is 0x80. Both device port priority and port ...
Page 36: Snmp Configuration
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 35 of 49 www.Kbcnetworks.Com name pri cost role span-state lk p2p desi-bridge-id dcost d-port 1 0x80 2000000 dis discarding n n 2 0x80 2000000 dis discarding n n 3 0x80 200000 desi discarding y y 0...
Page 37: 12.2
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 36 of 49 www.Kbcnetworks.Com 12.2 snmp configuration 12.2.1 enabling/disabling snmp this function either enables or disables snmp and this is the main switch snmp function. Enable snmp switch(confi...
Page 38: 12.3
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 37 of 49 www.Kbcnetworks.Com switch(config)#snmp reqport the parameter : requested port number. Trap port number: switch(config)#snmp trport the parameter : requested port number. Note: if the requ...
Page 39: Configuration
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 38 of 49 www.Kbcnetworks.Com display trap ip address list: switch#show snmp trapiplist display snmp receiving/sending message statistics: switch#show snmp status 13 remote network monitoring (rmon)...
Page 40
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 39 of 49 www.Kbcnetworks.Com switch(config)#rmon his add where: is the history group id. Is the port number. Is the number of stored sampling, the default value is 50. Is the data sampling interval...
Page 41
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 40 of 49 www.Kbcnetworks.Com create event group: switch(config)#rmon event add where in order: is the event group id. Is the text description of this event. Is the event type, 1 for none, 2 for log...
Page 42
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 41 of 49 www.Kbcnetworks.Com display rmon history group sampling information: switch#show rmon ethhis display current history group sampling information. Switch#show rmon ethhis ethhisindex: 1 ethh...
Page 43
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 42 of 49 www.Kbcnetworks.Com collisions: 0 utilization: 1 ethhisindex: 1 ethhissampleindex: 3 hisintervalstart: 0days 2h:5m:21s.90th dropevnt: 0 octets: 1258 pkts: 14 broadcastpkts: 12 multicastpkt...
Page 44
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 43 of 49 www.Kbcnetworks.Com ethhisindex: 2 ethhissampleindex: 2 hisintervalstart: 0days 2h:5m:16s.90th dropevnt: 0 octets: 0 pkts: 0 broadcastpkts: 0 multicastpkts: 0 crcalignerr: 0 undersizepkts:...
Page 45
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 44 of 49 www.Kbcnetworks.Com display current alarm group setting information. Switch#show rmon alarm alarmindex: 1 interval: 5 variable: 1 .3 .6 .1 .2 .1 .2 .2 .1 .16 .1 sampletype: alarm_absolute ...
Page 46: 14.1
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 45 of 49 www.Kbcnetworks.Com type: log-and-trap community: public lasttimesent: 0days 2h:15m:45s.0th owner: kyland status snmp_valid display rmon log switch#show rmon log display current rmon log. ...
Page 47: 14.2
Ethernet switch user manual manual_cmd_line_config-esml6-p3-rev1106 copyright © kbc networks ltd. Page 46 of 49 www.Kbcnetworks.Com note: if an ip conflict and mac conflict happen together, it means these are self testing packets and there will be no alarm. The esml6-p3 series switches support the a...
Page 48
Ethernet switch user manual manual_cmd_line_config-esml6-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 m...
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.