ECS2020 Series CLI Reference Guide R04

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
parameter
Parameter
Description
Switchport protected
Turn on port isolation configuration
Command
Command
Description
show interfaces GigabitEthernet 0/1 protected
View the current port isolation information
parameter
Parameter
Description
show interfaces port-id protected
Displays the current port isolation
configuration.
Default
Mode
Usage
Example