10-Port Isolation Command

Download


Chapter 1  Port Isolation Configuration Commands

1.1  Port Isolation Configuration Commands

1.1.1  display isolate port

Syntax

display isolate port

View

Any view

Parameters

None

Description

Use the display isolate port command to display the Ethernet ports assigned to the isolation group.

Examples

# Display information about the Ethernet ports added to the isolation group.

<Sysname> display isolate port

Isolated port(s) on UNIT 1:

 GigabitEthernet1/0/2, GigabitEthernet1/0/3, GigabitEthernet1/0/4

The information above shows that GigabitEthernet1/0/2, GigabitEthernet1/0/3, and GigabitEthernet1/04 are in the isolation group. Neither Layer-2 nor Layer-3 packets can be exchanged between these ports.

1.1.2  port isolate

Syntax

port isolate

undo port isolate

View

Ethernet port view

Parameters

None

Description

Use the port isolate command to add an Ethernet port to the isolation group.

Use the undo port isolate command to remove an Ethernet port from the isolation group.

By default, an isolation group contains no port.

Examples

# Add GigabitEthernet1/0/1 port to the isolation group.

<Sysname> system-view

System View: return to User View with Ctrl+Z.

[Sysname] interface GigabitEthernet1/0/1

[Sysname-GigabitEthernet1/0/1] port isolate

[Sysname-GigabitEthernet1/0/1] quit

[Sysname] interface Gigabitethernet1/0/2

[Sysname-GigabitEthernet1/0/2] port isolate

After the configuration, packets cannot be exchanged between GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2.

# Remove GigabitEthernet1/0/2 from the isolation group.

[Sysname-GigabitEthernet1/0/2] undo port isolate