Port isolation configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S5560 Series Switches User Manual

Page 92

Advertising
background image

58

Task Command

Display isolation group information.

display port-isolate group [ group-number ]

Port isolation configuration example

Network requirements

As shown in

Figure 19

, configure port isolation on the device to meet the following requirements:

The hosts can access the Internet.

The hosts cannot communicate with each other at Layer 2.

Figure 19 Network diagram

Configuration procedure

# Create isolation group 2.

<Device> system-view

[Device] port-isolate group 2

# Assign GigabitEthernet 1/0/1, GigabitEthernet 1/0/2, and GigabitEthernet 1/0/3 to isolation

group 2.

[Device] interface gigabitethernet 1/0/1

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

[Device-GigabitEthernet1/0/1] quit

[Device] interface gigabitethernet 1/0/2

[Device-GigabitEthernet1/0/2] port-isolate enable group 2

[Device-GigabitEthernet1/0/2] quit

[Device] interface gigabitethernet 1/0/3

[Device-GigabitEthernet1/0/3] port-isolate enable group 2

Internet

Host A

Host B

Host C

GE1/0/2

GE1/0/1

GE1/0/3

Device

GE1/0/4

Advertising