- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
05-Port Isolation Commands | 89.51 KB |
The term "switch" or "device" in this chapter refers to the switching engine on a WX3000E wireless switch.
The WX3000E series comprises WX3024E and WX3010E wireless switches.
The port numbers in this chapter are for illustration only.
display port-isolate group
Syntax
display port-isolate group [ group-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
group-number: Specifies an isolation group number.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
Description
Use the display port-isolate group command to display information about one or all isolation groups.
· If an isolation group is specified, this command displays information about the specified isolation group.
· If no isolation group is specified, this command displays information about all isolation groups.
Examples
# Display information about all isolation groups.
<Sysname> display port-isolate group
Port-isolate group information:
Uplink port support: NO
Group ID: 2
Group members:
GigabitEthernet1/0/1
Group ID: 5
Group members:
GigabitEthernet1/0/2 GigabitEthernet1/0/4
# Display information about isolation group 2.
<Sysname> display port-isolate group 2
Port-isolate group information:
Uplink port support: NO
Group ID: 2
Group members:
GigabitEthernet1/0/1
Table 1 Output description
Field |
Description |
Port-isolate group information |
Display the information of a port-isolation group |
Uplink port support |
Indicates whether the uplink port is supported. |
Group ID |
Isolation group number |
Group members |
Isolated ports (non-uplink ports) in the isolation group |
port-isolate enable
Syntax
port-isolate enable group group-number
undo port-isolate enable
View
Ethernet interface view, aggregate interface view, port group view
Default level
2: System level
Parameters
group group-number: Specifies the ID of the group to which the ports are to be added.
Description
Use the port-isolate enable command to add a port or a group of ports to an isolation group as isolated ports.
Use the undo port-isolate enable command to remove the port or ports from the isolation group.
In Ethernet interface view, the configuration applies to the current port.
In port group view, the configuration applies to all ports in the port group.
In aggregate interface view, the configuration applies to the aggregate interface and all its member ports. After you make the configuration, the system starts applying the configuration to the aggregate interface and its aggregation member ports. If the system fails to do that on the aggregate interface, it stops applying the configuration to the aggregation member ports. If it fails to do that on an aggregation member port, it simply skips the port and moves to the next port. For more information about aggregate interfaces, see the Layer 2—LAN Switching Configuration Guide.
This command adds a port to the specified isolation group. In this case, make sure the isolation group already exists.
Examples
# Assign ports GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to isolation group 2.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port-isolate enable group 2
[Sysname-GigabitEthernet1/0/1] quit
[Sysname] interface gigabitethernet 1/0/2
[Sysname-GigabitEthernet1/0/2] port-isolate enable group 2
port-isolate group
Syntax
port-isolate group group-number
undo port-isolate group { group-number | all }
View
System view
Default level
2: System level
Parameters
group-number: Specifies the number of the isolation group, ranging from 1 to 26.
all: Deletes all isolation groups.
Description
Use the port-isolate group command to create an isolation group.
Use the undo port-isolate group command to delete one or all isolation groups.
Examples
# Create isolation group 2.
<Sysname> system-view
[Sysname] port-isolate group 2