11-Port Isolation Command

Download


Chapter 1  Port Isolation Configuration Commands

1.1  Port Isolation Configuration Commands

1.1.1  description

Syntax

description text

undo description

View

Isolation group view

Parameter

text: Description string for an isolation group, comprising 1 to 80 characters.

Description

Use the description command to specify the description string for the current isolation group.

Use the undo description command to remove the description string for the current isolation group.

By default, no description string is specified for the isolation group.

Example

# Specify “home” as the description string for isolation group 1.

<H3C> system-view

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

[H3C] port-isolate group 1

[H3C-port-isolate-group1] description home

1.1.2  display isolate port

Syntax

display isolate port [ group group-id ]

View

Any view

Parameter

group-id: ID of an isolation group, in the range 1 to 64.

Description

Use the display isolate port command to display the configuration of a created isolation group, including:

l           ID of the isolation group

l           Description string for the isolation group

l           Ports that the isolation group contains

Example

# Display the configuration of isolation group 1.

<H3C> display isolate port group 1

 Isolate group ID: 1

 Description: home

 Isolated port(s) in group 1:

            GigabitEthernet1/0/3  GigabitEthernet1/0/1  GigabitEthernet1/0/2

1.1.3  port

Syntax

port interface-list

undo port interface-list

View

Isolation group view

Parameter

interface-list: List of destination ports, expressed in the form of interface-list = interface-type interface-number [ to interface-type interface-number ] &<1-10>., where:

l           The interface-type argument represents the type of the bound port;

l           The interface-number argument represents the number of the bound port;

l           The to keyword specifies a group of contiguous ports. The port number after the to keyword must be not smaller than that before the to keyword.

l           &<1-10> means that you can provide up to 10 port indices/port index lists for this argument.

Description

Use the port command to add the specified ports to an isolation group.

Use the undo port command to remove the specified ports from an isolation group.

By default, an isolation group contains no Ethernet port.

This command functions the same as the 1.1.4  port isolate group command except that Ethernet ports must be specified in this command.

Example

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

<H3C> system-view

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

[H3C] port-isolate group 1

[H3C-port-isolate-group1] port GigabitEthernet1/0/1

1.1.4  port isolate group

Syntax

port isolate group group-id

undo port isolate

View

Ethernet port view

Parameter

group-id: ID of an isolation group, in the range 1 to 64.

Description

Use the port isolate group command to add the current Ethernet port to a created isolation group.

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

By default, an isolation group contains no Ethernet port.

This command functions the same as the 1.1.3  port command except that Ethernet ports need not be specified in this command.

 

&  Note:

l      An Ethernet port belongs to only one port isolation group. If you add an Ethernet port to different isolation groups, the port belongs to only the latest isolation group to which the port is added.

l      Currently, cards of Type A (LS81FT48A, LS81FM24A, LS81FS24A, LS81GB8UA, and LS81GT8UA) do not support the Port Isolation feature.

 

Example

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

<H3C> system-view

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

[H3C] interface gigabitethernet1/0/1

[H3C-GigabitEthernet1/0/1] port isolate group 1

1.1.5  port-isolate group

Syntax

port-isolate group group-id

undo port-isolate group group-id

View

System view

Parameter

group-id: ID of an isolation group, in the range 1 to 64.

Description

Use the port-isolate group command to create an isolation group.

Use the undo port-isolate command to remove the specified isolation group.

By default, an isolation group contains no Ethernet ports.

Example

# Create isolation group 1.

<H3C> system-view

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

[H3C] port-isolate group 1

[H3C-port-isolate-group1]