Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual

Page 152

Advertising
background image

12-3

Figure 12-1

Networking diagram for port isolation configuration

Internet

Host A

Host B

Host C

GE2/0/2

GE2/0/1

GE2/0/3

GE2/0/4

Device

Configuration procedure

# Add ports GigabitEthernet 2/0/1, GigabitEthernet 2/0/2 and GigabitEthernet 2/0/3 to the isolation

group.

<Device> system-view

[Device] interface gigabitethernet 2/0/1

[Device-Gigabitethernet2/0/1] port-isolate enable

[Device-Gigabitethernet2/0/1] quit

[Device] interface gigabitethernet 2/0/2

[Device-Gigabitethernet2/0/2] port-isolate enable

[Device-Gigabitethernet2/0/2] quit

[Device] interface gigabitethernet 2/0/3

[Device-Gigabitethernet2/0/3] port-isolate enable

# Configure port GigabitEthernet 2/0/4 as the uplink port of the isolation group.

[Device-Gigabitethernet2/0/3] quit

[Device] interface gigabitethernet 2/0/4

[Device-Gigabitethernet2/0/4] port-isolate uplink-port

[Device-Gigabitethernet2/0/4] return

# Display the information about the isolation group.

<Device> display port-isolate group

Port-isolate group information:

Uplink port support: NO

Group ID: 1

Group members:

Gigabitethernet2/0/1 Gigabitethernet2/0/2 Gigabitethernet2/0/3

Advertising