Edge-Core ECS2020-10P User manual

Type
User manual

This manual is also suitable for

CLI Reference Guide
www.edge-core.com
ECS2020
10/28-Port Gigabit Web Smart
PoE & Non-PoE Switch
Software Release v1.0.2.9
CLI Reference Guide
ECS2020-10T
Web-smart Gigabit Ethernet Switch
with 8 10/100/1000BASE-T (RJ-45)
and 2 Gigabit SFP Ports
ECS2020-10P
Web-smart Gigabit Ethernet Switch
with 8 10/100/1000BASE-T (RJ-45) 802.3af/at PoE Ports
and 2 Gigabit SFP Ports
ECS2020-28T
Web-smart Gigabit Ethernet Switch
with 24 10/100/1000BASE-T (RJ-45)
and 4 Gigabit SFP Ports
ECS2020-28P
Web-smart Gigabit Ethernet Switch
with 24 10/100/1000BASE-T (RJ-45) 802.3af/at PoE Ports
and 4 Gigabit SFP Ports
E032021-CS-R03
About This Guide
This guide includes detailed information on the switch software, including how to
operate and use the management functions of the switch. To deploy this switch
effectively and ensure trouble-free operation, you should first read the relevant
sections in this guide so that you are familiar with all of its software features.
Who Should Read This
Guide?
This guide is for network administrators who are responsible for operating and
maintaining network equipment. The guide assumes a basic working knowledge of
LANs (Local Area Networks), the Internet Protocol (IP), and Simple Network
Management Protocol (SNMP).
Related
Documentation
This guide focuses on switch software configuration through the CLI.
For information on how to manage the switch through the Web management
interface, see the following guide:
Web Management Guide
Documentation
Notice
This documentation is provided for general information purposes only. If any
product feature details in this documentation conflict with the product datasheet,
refer to the datasheet for the latest information.
4
Contents
1 MTU .................................................................................................................................. 14
2 Link-Aggregate Port Commands ................................................................................... 15
2.1
Configure relevant commands .................................................................................................... 15
link-aggregation load-balance .......................................................................................... 15
link-aggreation ................................................................................................................. 15
Interface link-aggreation ................................................................................................... 16
2.2
Display relevant commands ........................................................................................................ 16
show link-aggregation ...................................................................................................... 16
3 Port mirroring commands .............................................................................................. 18
3.1
Configure-relevant commands .................................................................................................... 18
monitor session ................................................................................................................ 18
3.2
Display-relevant commands ........................................................................................................ 19
show monitor .................................................................................................................... 19
4 Port isolation commands ............................................................................................... 20
4.1
Configure-relevant commands .................................................................................................... 20
isolate-port ....................................................................................................................... 20
4.2
Display-relevant commands ........................................................................................................ 20
show isolate-port .............................................................................................................. 20
5 Port speed limit ............................................................................................................... 22
5.1
Configure-relevant commands .................................................................................................... 22
rate-limit ........................................................................................................................... 22
5.2
Display-relevant commands ........................................................................................................ 22
show rate-limit .................................................................................................................. 22
6 Storm control .................................................................................................................. 24
6.1
Configure-relevant commands .................................................................................................... 24
storm-control .................................................................................................................... 24
6.2
Display-relevant commands ........................................................................................................ 25
Show storm-control .......................................................................................................... 25
7 Port Security ................................................................................................................... 26
7.1
Configure-relevant commands .................................................................................................... 26
Port-security ..................................................................................................................... 26
7.2
Display-relevant commands ........................................................................................................ 26
show port-security ........................................................................................................... 26
8 NTP/SNTP COMMANDS .................................................................................................. 28
8.1
NTP Configure-relevant commands ............................................................................................ 28
server ............................................................................................................................... 28
show ntp/sntp status ......................................................................................................... 28
9 EEE .................................................................................................................................. 30
5
10 DDOS PROTECTION ....................................................................................................... 31
10.1
Configuration ddos protection ..................................................................................................... 31
Turn on DDOS protection ................................................................................................. 31
Turn off DDOS protection ................................................................................................ 32
10.2
show DDOS protection ............................................................................................................... 32
11 CPU Guard ....................................................................................................................... 34
11.1
Configuration CPU Guard ........................................................................................................... 34
11.2
show CPU Guard ........................................................................................................................ 35
12 Dual Configuration .......................................................................................................... 36
12.1
Backup the configuration file ....................................................................................................... 36
12.2
Restore Configuration ................................................................................................................. 36
13 RMON .............................................................................................................................. 38
13.1
rmon event .................................................................................................................................. 38
13.2
rmon alarm ................................................................................................................................. 39
13.3
rmon history ................................................................................................................................ 40
13.4
clear rmon interface statistics ..................................................................................................... 41
13.5
show rmon interface statistics ..................................................................................................... 42
13.6
show rmon event ........................................................................................................................ 42
13.7
show rmon alarm ........................................................................................................................ 43
13.8
show rmon history ...................................................................................................................... 44
14 ARP Inspection ................................................................................................................ 45
14.1
arp inspection ............................................................................................................................. 45
14.2
arp inspection rate-limit ............................................................................................................... 45
14.3
arp inspection trust ..................................................................................................................... 46
14.4
arp inspection validate ................................................................................................................ 47
14.5
clear arp inspection statistics ...................................................................................................... 47
14.6
show arp inspection .................................................................................................................... 48
14.7
show arp inspection interface ..................................................................................................... 48
15 Flow Control Commands ................................................................................................ 50
15.1
Flow Control Configuration Commands ...................................................................................... 50
flowcontrol ........................................................................................................................ 50
16 VLAN COMMANDS .......................................................................................................... 51
16.1
Configure commands .................................................................................................................. 51
VLAN description .............................................................................................................. 51
vlan .................................................................................................................................. 52
switch mode ..................................................................................................................... 52
Management VLAN .......................................................................................................... 53
16.2
Configure different types of VLAN .............................................................................................. 54
Access VLAN ................................................................................................................... 54
Trunk allowed VLAN ........................................................................................................ 54
6
Trunk native VLAN ........................................................................................................... 55
Hybrid VLAN .................................................................................................................... 56
Hybrid native VLAN .......................................................................................................... 57
16.3
Display-relevant commands ....................................................................................................... 58
show vlan ......................................................................................................................... 58
17 Voice VLAN ..................................................................................................................... 59
17.1
Configure commands .................................................................................................................. 59
voice VLAN ...................................................................................................................... 59
voice-vlan mode ............................................................................................................... 59
voice VLAN OUI ............................................................................................................... 60
voice VLAN aging-time and cos ....................................................................................... 61
17.2
Display relevant commands ....................................................................................................... 61
show voice VLAN .............................................................................................................. 61
18 Surveillance VLAN .......................................................................................................... 63
18.1
Configure commands .................................................................................................................. 63
surveillance VLAN ............................................................................................................ 63
surveillance-vlan mode .................................................................................................... 63
surveillance VLAN OUI .................................................................................................... 64
surveillance VLAN aging-time and cos ............................................................................ 65
18.2
Display relevant commands ....................................................................................................... 65
show surveillance VLAN .................................................................................................... 65
19 ONVIF .............................................................................................................................. 67
19.1
Configure commands .................................................................................................................. 67
ONVIF enable .................................................................................................................. 67
ONVIF vlan ...................................................................................................................... 67
ONVIF vlan priority ........................................................................................................... 68
ONVIF discover port ........................................................................................................ 69
ONVIF trap ....................................................................................................................... 69
20 DHCP-snooping .............................................................................................................. 71
20.1
Configure commands .................................................................................................................. 71
DHCP-Snooping .............................................................................................................. 71
DHCP-Snooping trust ...................................................................................................... 72
dhcp snooping for vlan ..................................................................................................... 72
enable
dhcp snooping option 82 ..................................................................................... 73
option 82 of remote-ID .................................................................................................... 74
option 82 of CID .............................................................................................................. 74
DHCP snooping policy .................................................................................................... 75
20.2
Display relevant commands ........................................................................................................ 76
show DHCP-Snooping ..................................................................................................... 76
21 Loopback-detection ....................................................................................................... 78
7
21.1
Configure commands .................................................................................................................. 78
Loopback-detection .......................................................................................................... 78
21.2
Display relevant commands ........................................................................................................ 79
show loop-detection ......................................................................................................... 79
22 Spanning-tree ................................................................................................................. 80
22.1
Configure Commands ................................................................................................................. 80
spanning-tree enable ....................................................................................................... 80
spanning-tree mode ......................................................................................................... 81
spanning-tree forward-time .............................................................................................. 81
spanning-tree hello-time .................................................................................................. 82
spanning-tree max-age .................................................................................................... 83
spanning-tree max-hops .................................................................................................. 83
spanning-tree pathcost method ....................................................................................... 84
spanning-tree priority ....................................................................................................... 85
spanning-tree mst configure ............................................................................................ 85
spanning-tree enable ....................................................................................................... 86
spanning-tree bpdu .......................................................................................................... 87
spanning-tree cost ........................................................................................................... 88
spanning-tree guard ......................................................................................................... 88
spanning-tree link-type ..................................................................................................... 89
spanning-tree portfast edgeport ....................................................................................... 90
spanning-tree priority ....................................................................................................... 90
spanning-tree bpdu [filtering|flooding] .............................................................................. 91
spanning-tree trap ............................................................................................................ 91
22.2
Display relevant commands ........................................................................................................ 92
show spanning-tree .......................................................................................................... 92
23 DHCP v4 server ............................................................................................................... 94
23.1
Configure commands .................................................................................................................. 94
DHCP v4 server ............................................................................................................... 94
23.2
Display relevant commands ........................................................................................................ 95
show ip dhcp server ......................................................................................................... 95
24 ipv4 client ........................................................................................................................ 96
24.1
Configure commands .................................................................................................................. 96
ipv4 client ......................................................................................................................... 96
24.2
Display relevant commands ........................................................................................................ 97
show ip DHCP.................................................................................................................... 97
25 ipv6 Client........................................................................................................................ 98
25.1
Configure commands .................................................................................................................. 98
ipv6 client ......................................................................................................................... 98
24.1
Display relevant commands ........................................................................................................ 98
24.1.1 show ipv6 DHCP ............................................................................................................... 98
8
26 IGMP Snooping ............................................................................................................. 100
26.1
command related to configuration ............................................................................................ 100
ip igmp snooping ............................................................................................................ 100
ip igmp snooping version ............................................................................................... 100
Ip igmp snooping vlan .................................................................................................... 101
Ip igmp snooping fast-leave ........................................................................................... 103
ip igmp snooping suppression ....................................................................................... 103
ip igmp snooping unknown-multicast action ................................................................... 104
ip igmp snooping vlan mrouter ....................................................................................... 105
ip igmp snooping vlan mrouter learn .............................................................................. 106
ip igmp snooping vlan static ........................................................................................... 107
ip igmp snooping vlan querier ........................................................................................ 107
ip igmp snooping vlan querier version ............................................................................ 108
ip igmp snooping vlan querier last-member-query-count ............................................... 109
ip igmp snooping vlan querier last-member-query-interval ............................................ 110
ip igmp snooping vlan querier max-response-time ........................................................ 111
ip igmp snooping vlan querier query-interval ................................................................. 111
ip igmp snooping vlan robustness-variable .................................................................... 112
ip igmp profile ................................................................................................................. 113
profile range ................................................................................................................... 114
ip igmp filter .................................................................................................................... 114
26.2
Commands related to display and monitoring .......................................................................... 115
clear ip igmp snooping statistics ..................................................................................... 115
clear ip igmp snooping groups ........................................................................................ 116
show ip igmp snooping ................................................................................................... 117
show ip igmp snooping vlan ........................................................................................... 118
show ip igmp snooping forward-all ................................................................................. 118
show ip igmp snooping groups ....................................................................................... 119
show ip igmp snooping mrouter ...................................................................................... 120
show ip igmp snooping querier ....................................................................................... 121
27 MLD Snooping ............................................................................................................... 122
27.1
MLD Snooping configuration commands ................................................................................. 122
ipv6 mld snooping .......................................................................................................... 122
ipv6 mld snooping version ............................................................................................. 122
ipv6 mld snooping vlan .................................................................................................. 123
ipv6 mld snooping vlan immediate-leave ....................................................................... 124
ipv6 mld snooping report-suppression ........................................................................... 124
ipv6 mld snooping unknown-multicast action ................................................................. 125
ipv6 mld snooping vlan static-router-port ....................................................................... 126
ipv6 mld snooping vlan router learn ............................................................................... 126
ipv6 mld snooping vlan static-group ............................................................................... 127
9
27.2
Commands related to display and monitoring .......................................................................... 128
clear ipv6 mld snooping statistics ................................................................................... 128
clear ipv6 mld snooping groups ...................................................................................... 129
show ipv6 mld snooping ................................................................................................. 130
show ipv6 mld snooping vlan ......................................................................................... 131
show ipv6 mld snooping forward-all ................................................................................ 131
show ipv6 mld snooping groups ..................................................................................... 132
show ipv6 mld snooping router ....................................................................................... 133
28 Path detection ............................................................................................................... 135
28.1
ping ........................................................................................................................................... 135
28.2
traceroute ................................................................................................................................. 136
29 Access Control List ...................................................................................................... 137
29.1
Configure commands ................................................................................................................ 137
standard ip access-list .................................................................................................... 137
extended ip access-list ................................................................................................... 137
ACE configuration .......................................................................................................... 138
standard ip access-list deny|permit .................................................................................. 139
extended ip access-list deny|permit ............................................................................... 140
ip access-list commit ...................................................................................................... 141
standard ipv6 access-list ................................................................................................. 141
extended ipv6 access-list ............................................................................................... 142
ipv6 ACE configuration ................................................................................................... 142
standard ipv6 access-list deny|permit ................................................................................ 143
extended ipv6 access-list deny|permit ............................................................................ 144
ipv6 access-list commit .................................................................................................. 144
mac access-list extended ................................................................................................. 145
mac ACE configuration .................................................................................................. 146
mac access-list deny|permit ........................................................................................... 146
mac access-list commit .................................................................................................. 147
29.2
Display commands ................................................................................................................... 148
show access-list ............................................................................................................. 148
30 802.1X ............................................................................................................................ 149
30.1
Configure commands ................................................................................................................ 149
authentication dot1x ....................................................................................................... 149
authentication dot1x ....................................................................................................... 149
authentication port-control ............................................................................................. 150
authentication host-mode ............................................................................................... 151
30.2
Display commands ................................................................................................................... 151
show authentication ........................................................................................................ 151
31 AAA ................................................................................................................................ 153
31.1
Configure commands ............................................................................................................... 153
10
radius host ..................................................................................................................... 153
TACACS host ............................................................................................................................... 154
aaa authentication enable .............................................................................................. 154
aaa authentication login ................................................................................................. 155
line console .................................................................................................................... 155
line telnet ........................................................................................................................ 156
line ssh ........................................................................................................................... 157
31.2
Display commands ................................................................................................................... 158
show radius .................................................................................................................... 158
show tacacs ................................................................................................................... 158
show aaa authentication enable list .................................................................................. 159
show aaa authentication login list ...................................................................................... 159
32 SSH ................................................................................................................................ 161
32.1
Configure commands ............................................................................................................... 161
ip ssh .............................................................................................................................. 161
33 SSL ................................................................................................................................ 162
33.1
Configure commands ................................................................................................................ 162
ssl ................................................................................................................................... 162
ssl replace ...................................................................................................................... 162
34 QoS ................................................................................................................................ 164
34.1
Configure commands ................................................................................................................ 164
qos trust ......................................................................................................................... 164
qos queue schedule ....................................................................................................... 164
qos map cos-queue ....................................................................................................... 165
qos map dscp-queue ..................................................................................................... 166
qos map weight .............................................................................................................. 166
qos queue strict-priority-num ......................................................................................... 167
34.2
Display commands ................................................................................................................... 167
show qos ......................................................................................................................... 167
show qos queueing .......................................................................................................... 168
show qos map cos-queue............................................................................................... 169
show qos map dscp-queue ............................................................................................... 169
35 POE commands ............................................................................................................ 171
35.1
configure command .................................................................................................................. 171
PoE enable .................................................................................................................... 171
poe mode ....................................................................................................................... 172
poe max-power .............................................................................................................. 173
poe alloc-power .............................................................................................................. 174
poe timer enable ............................................................................................................ 175
poe timer configuration .................................................................................................. 176
35.2
Display relevant commands ...................................................................................................... 177
11
show poe interface ......................................................................................................... 177
show poe interfaces ....................................................................................................... 178
show poe powersupply .................................................................................................. 178
show poe timer ............................................................................................................... 179
36 SNMP command ........................................................................................................... 180
36.1
SNMP configuration commands ............................................................................................... 180
snmp enable .................................................................................................................. 180
no snmp enable ............................................................................................................. 181
snmp enable traps ........................................................................................................ 182
snmp-server community ................................................................................................. 182
snmp-server host ........................................................................................................... 183
snmp trap auth ............................................................................................................... 184
snmp trap link-status ...................................................................................................... 185
snmp trap restart ............................................................................................................ 185
snmp trap stp ................................................................................................................. 186
36.2
SNMP display relevant commands ........................................................................................... 187
show snmp-status .......................................................................................................... 187
show snmp trap .............................................................................................................. 187
show community ............................................................................................................ 188
show snmp host ............................................................................................................. 189
37 lldp settings .................................................................................................................. 190
37.1
lldp settings ............................................................................................................................... 190
LLDP enable .................................................................................................................. 190
lldp rx ............................................................................................................................. 190
LLDP tx-interval ............................................................................................................. 191
LLDP reinit-delay ........................................................................................................... 192
LLDP holdtime-multiplier ................................................................................................ 192
lldp lldpdu ....................................................................................................................... 193
LLDP med ...................................................................................................................... 194
lldp med fast-start-repeat-count ...................................................................................... 195
lldp med tlv-select .......................................................................................................... 196
lldp tlv-select ................................................................................................................. 196
lldp tlv-select pvid ......................................................................................................... 197
lldp tlv-select vlan-name .............................................................................................. 198
lldp tx .............................................................................................................................. 199
LLDP tx-delay ................................................................................................................ 200
show lldp ........................................................................................................................ 201
show lldp local-device .................................................................................................... 202
show lldp med ................................................................................................................ 202
show lldp neighbor ......................................................................................................... 203
show lldp statistics ......................................................................................................... 204
12
38 System Setting Commands .......................................................................................... 206
38.1
Basic System Settings .............................................................................................................. 206
Management VLAN ........................................................................................................ 206
ip dhcp ........................................................................................................................... 206
Management ip............................................................................................................... 207
location command .......................................................................................................... 208
ipv6 ................................................................................................................................ 208
ipv6 DHCP command ................................................................................................... 209
Telnet ............................................................................................................................. 210
Upload the switch log file ............................................................................................... 211
system restart ................................................................................................................. 211
change password ........................................................................................................... 212
System Log .................................................................................................................... 212
ARP table ....................................................................................................................... 214
Configure static MAC bindings ....................................................................................... 215
MAC address drop ......................................................................................................... 215
configure mac-address aging-time ................................................................................. 216
show mac-address count ............................................................................................... 217
display bound mac-addresses ........................................................................................ 218
view the current configuration ........................................................................................ 218
save configuration .......................................................................................................... 219
restore-defaults .............................................................................................................. 220
Firmware Upgrade ......................................................................................................... 221
Firmware backup ........................................................................................................... 222
Uploading the startup configuration ............................................................................... 223
Downloading a configuration file ................................................................................... 224
Memory information ....................................................................................................... 225
CPU information ............................................................................................................. 226
Flash information ........................................................................................................... 227
Cable detection .............................................................................................................. 228
web-language ................................................................................................................ 229
Management static IPv4 address ................................................................................... 230
show version .................................................................................................................. 231
DHCP server enable ...................................................................................................... 232
DHCP server configuration ............................................................................................ 233
Show fiber-transceiver .................................................................................................... 234
Show fiber-info ............................................................................................................... 235
39 Static Route ................................................................................................................... 236
39.1
Configure commands ................................................................................................................ 236
Turn off switch management VLAN ............................................................................... 236
Interface VLAN IP .......................................................................................................... 237
13
Configure Static Route ................................................................................................... 238
14
1 MTU
In global configuration mode, use this command to set the MTU of the interface.
Mtu <1522-10240>
The default configuration is
1522.
Global configuration mode
Null
Set the mtu value
ECS2020-10P(config)# mtu 10240
ECS2020-10P# show interfaces GigabitEthernet 0/1 mtu
Interface |
MTU
------------------- --+---------------------
gi0/1 |
10240
P aram eter
Parameter
Description
1522-10240
Can be set in the range
C om m and
Description
View the interface mtu status information.
Default
M ode
U sage
E xam ple
E xam ple
15
2 Link-Aggregate Port Commands
2.1
Configure relevant commands
link-aggregation load-balance
Configures a traffic balancing algorithm for link-aggregation ports (AGG). Use the no option of
this command to set the traffic balance back to the default.
link-aggregation load-balance {mac|ip-mac}
no link-aggregation load-balance
Null
Global configuration mode
Use the show link-aggregation group command to view the traffic balancing
algorithm.
ECS2020-10P(config)
# link-aggregation load-balance ip
link-aggreation
Creates a link-aggregation group.
link-aggregation {group-number mode { manual | lacp }}
no link-aggregation {group-number}
The physical port does not belong to any link-aggregate group.
P aram eter
Parameter
Description
MAC
The traffic is allocated according to the source MAC address of
incoming packets. In each AGG, packets from different
MAC
addresses are assigned to different ports. Packets from
the
same MAC address use the same port.
IP+MAC
Traffic is allocated based on source IP and source MAC.
Different source IP - source MAC traffic is forwarded through
different ports, and the same source IP - source MAC is
forwarded through the same link.
C om m and
Command
Description
show link-aggregation group
Display link-aggregation settings
param eter
Parameter
Description
group-number
The link-aggregation member port group number
manual
Use static mode
lacp
Use LACP protocol
D efault
M ode
U sage
E xam ple
D efault
16
Global configuration mode
You can configure manual mode and lacp mode. The no command removes all
interfaces from the aggregation group.
The following example creates a link aggregation group 1
ECS2020-10P(config)#link-aggregation 1 mode manual
Interface link-aggreation
Sets a physical port as a member port of a link-aggregation group. Use the no option of the command to
remove the link-aggregation port member from the group.
link-aggregation group-number [active| passive|manual]
no link-aggregation
{
group-number}
The physical port does not belong to any link-aggregation group.
Interface configuration mode
All AGG member interfaces need to be in the same VLAN.
ECS2020-10P(config)# interface GigabitEthernet /1
ECS2020-10P(config-if-GigabitEthernet0/1)# link-aggregation 1 active
2.2
Display relevant commands
show link-aggregation
Display link-aggregation settings.
show link-aggregation [group|group-number ]
Null
P aram eter
Parameter
Description
group-number
The link-aggregation port group number
C om m and
Command
Description
show link-aggregation group
Display the information of the link aggregation group
param eter
Parameter
Description
show link-aggregation group
Show all link aggregation groups
show link-aggregation group group-number
Displays a specific link
aggregation group
D efault
M ode
U sage
M ode
U sage
E xam ple
E xam ple
D efault
17
Privilege mode
If you do not specify the aggregate port interface number, all the information
of the aggregate port will be displayed.
The following example shows information about link-aggregation 1:
ECS2020-10P# show link-aggregation group 1
C om m and
Command
Description
Show link-aggregation group
Display the status of all link
aggregation groups
M ode
U sage
E xam ple
18
3 Port mirroring commands
3.1
Configure-relevant commands
monitor session
Create a SPAN session and specify the destination port (monitor port) and source port (monitored port). Use
the no option of the command to delete the session or remove the source port or destination port separately.
monitor session session_number { [ source interface Gigabit Ethernet port-id
[both | rx | tx ]] | [ destination interface GigabitEthernet port-id ]}
no monitor session session_number { [ source interface Gigabit Ethernet port-id
[both | rx | tx ]] | [destination interface GigabitEthernet port-id ]}
Null
Global configuration mode
Switch port and AGG (separate port settings) can be configured as source and
destination
ports. The SPAN session does not affect the normal operation of the switch.
SPAN
sessions can be configured on a disabled port, however, SPAN does not work
immediately until the destination and source port are enabled. A port cannot be both a
source port and a destination port. Use the show monitor command to display the
operating status of the SPAN session.
The following example shows how to create a SPAN session: Session 1. If the session
has already been set up,First clear the configuration of the current session 1, and then
set the port 0 interface to the port
interface 0/1.
ECS2020-10P(config)# no monitor session 1
ECS2020-10P(config)# monitor session 1 source interfaces
GigabitEthernet 0/2 both
ECS2020-10P(config)# monitor session 1 destination interface
GigabitEthernet 0/1
Parameter
Description
session_number
SPAN session number
source interface
Gigabit Ethernet port-id
Specifies the source port. For the interface-id,
specify the corresponding interface number, only
the physical
port, not the SVI.
destination interface
GIgabit Ethernet
port-id
Specifies the destination port. For interface-id,
specify the corresponding interface number, only the
physical port, not the SVI.
both
Monitors input and output traffic.
rx
Only monitors the input traffic.
tx
Only monitors the output traffic.
C om m and
Command
Description
monitor session
Creates a SPAN session and specifies
the destination port (monitoring port)
and source port (monitored port)
D efault
M ode
Us
a
ge
E xam ple
19
3.2
Display-relevant commands
show monitor
Displays the status of the current SPAN configuration
show monitor
All SPAN sessions are displayed by default
Privilege mode
Null
ECS2020-10P# show monitor
Session 1 Configuration
Source RX Port : gi0/9
Source TX Port : gi0/9
Destination port : gi0/10
Ingress State: disabled
param eter
Parameter
Description
-
-
The follow ing exam ple show s how to display the current state of a S P A N session by
using the show m onitor privilege com m and
C om m and
Command
Description
show monitor session
Displays the status of the current
SPAN configuration
D efault
M ode
U sage
E xam ple
20
4 Port isolation commands
4.1
Configure-relevant commands
isolate-port
Configures port isolation in interface mode. Use the no command to delete the configuration.
By default, port isolation is disabled.
switchport protected
no switchport protected
Turn off port isolation configuration
Interface configuration mode
After the port isolation function is enabled, the ports and link aggregation groups (AGG)
cannot be accessed by each other.
The following is the isolation between port 0/1 and port 0/2.
ECS2020-10P(config)# interface GigabitEthernet 0/1
ECS2020-10P(config-if-GigabitEthernet0/1)# switchport protected
ECS2020-10P(config)# interface GigabitEthernet 0/2
ECS2020-10P(config-if-GigabitEthernet0/2)# switchport protected
4.2
Display-relevant commands
show isolate-port
Displays the current port isolation configuration.
show interfaces port-id protected
param eter
Parameter
Switchport protected
C om m and
Command
Description
show interfaces GigabitEthernet 0/1 protected
View the current port isolation information
param eter
Parameter
show interfaces port-id protected
D efault
M ode
U sage
E xam ple
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239

Edge-Core ECS2020-10P User manual

Type
User manual
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI