03-Layer 2-LAN Switching Configuration Guide

HomeSupportConfigure & DeployConfiguration GuidesH3C S12500-X & S12500X-AF Switch Series Configuration Guides(R115x)-6W10203-Layer 2-LAN Switching Configuration Guide
06-Port isolation configuration
Title Size Download
06-Port isolation configuration 90.82 KB

Configuring port isolation

The port isolation feature isolates Layer 2 traffic for data privacy and security without using VLANs. You can also use this feature to isolate the hosts in a VLAN from one another.

You can manually create isolation groups on the switch, but only the isolation group numbered 1 is valid. The number of ports assigned to an isolation group is not limited.

Within the same VLAN, ports in an isolation group can communicate with those outside the isolation group at Layer 2.

Assigning ports to an isolation group

Step

Command

Remarks

1.       Enter system view.

system-view

N/A

2.       Create an isolation group.

port-isolate group group-number

For this switch series, only the isolation group numbered 1 is valid.

3.       Enter interface view.

·         Enter Layer 2 Ethernet interface view:
interface interface-type interface-number

·         Enter Layer 2 aggregate interface view:
interface bridge-aggregation interface-number

·         The configuration in Layer 2 Ethernet interface view applies only to the interface.

·         The configuration in Layer 2 aggregate interface view applies to the Layer 2 aggregate interface and its aggregation member ports. If the device fails to apply the configuration to the aggregate interface, it does not assign any aggregation member port to the isolation group. If the failure occurs on an aggregation member port, the device skips the port and continues to assign other aggregation member ports to the isolation group.

4.       Assign ports to the specified isolation group.

port-isolate enable group group-number

No ports are assigned to an isolation group by default.

For this switch series, you can assign ports to only isolation group 1.

 

Displaying and maintaining port isolation

Execute display commands in any view.

 

Task

Command

Display isolation group information

display port-isolate group [ group-number ] [ | { begin | exclude | include } regular-expression ]

 

Port isolation configuration example

Network requirements

As shown in Figure 1, LAN users Host A, Host B, and Host C are connected to FortyGigE 1/0/1, FortyGigE 1/0/2, and FortyGigE 1/0/3 on the device, respectively. The device connects to the Internet through FortyGigE 1/0/4.

Configure the device to provide Internet access for the hosts, and isolate them from one another at Layer 2.

Figure 1 Network diagram

 

Configuration procedure

# Create isolation group 1.

<Device> system-view

[Device] port-isolate group 1

# Assign FortyGigE 1/0/1, FortyGigE 1/0/2, and FortyGigE 1/0/3 to isolation group 1.

[Device] interface fortygige 1/0/1

[Device-FortyGigE1/0/1] port-isolate enable group 1

[Device-FortyGigE1/0/1] quit

[Device] interface fortygige 1/0/2

[Device-FortyGigE1/0/2] port-isolate enable group 1

[Device-FortyGigE1/0/2] quit

[Device] interface fortygige 1/0/3

[Device-FortyGigE1/0/3] port-isolate enable group 1

Verifying the configuration

# Display information about isolation group 1.

[Device-FortyGigE1/0/3] display port-isolate group 1

 Port isolation group information:

 Group ID: 1

 Group members:

   FortyGigE1/0/1

   FortyGigE1/0/2

   FortyGigE1/0/3

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网