Got it

How to Configure Port Isolation

Latest reply: Apr 18, 2020 17:48:38 6258 3 0 0

Hello, 

In this post, I would like to share you a case about configuring port isolation.

Networking Requirements

As shown in picture below, it is required that PC1 and PC2 cannot communicate with each other, but they can communicate with PC3.

PC1----------------------(g0/0/1)

--------------------------------l

PC2----------(g0/0/2)  switch

--------------------------------l

PC3----------------------(g0/0/3)


  • Enable port isolation.

    # Isolate ports on Layer 2 and allow them to communicate on Layer 3.


    <Quidway> system-view [Quidway] port-isolate mode l2

    # Enable port isolation on GigabitEthernet 0/0/1.


    [Quidway] interface gigabitethernet 0/0/1 [Quidway-GigabitEthernet0/0/1] port-isolate enable [Quidway-GigabitEthernet0/0/1] quit

    # Enable port isolation on GigabitEthernet 0/0/2.


    [Quidway] interface gigabitethernet 0/0/2 [Quidway-GigabitEthernet0/0/2] port-isolate enable [Quidway-GigabitEthernet0/0/2] quit

  • Verify the configuration.

    PC1 and PC2 cannot ping each other.

    PC1 and PC3 can ping each other.

    PC2 and PC3 can ping each other.


That's all for this post. 

If you have any suggestions, please comment below.


  • x
  • convention:

user_1869547
Created Dec 9, 2012 14:05:20 Helpful(0) Helpful(0)

  • Enable port isolation.

    # Isolate ports on Layer 2 and allow them to communicate on Layer 3.

    <Quidway> system-view [Quidway] port-isolate mode l2 

    # Enable port isolation on GigabitEthernet 0/0/1.

    [Quidway] interface gigabitethernet 0/0/1 [Quidway-GigabitEthernet0/0/1] port-isolate enable [Quidway-GigabitEthernet0/0/1] quit 

    # Enable port isolation on GigabitEthernet 0/0/2.

    [Quidway] interface gigabitethernet 0/0/2 [Quidway-GigabitEthernet0/0/2] port-isolate enable [Quidway-GigabitEthernet0/0/2] quit 
  • Verify the configuration.

    PC1 and PC2 cannot ping each other.

    PC1 and PC3 can ping each other.

    PC2 and PC3 can ping each other.

  • View more
    • x
    • convention:

    EdimarG
    Created Apr 18, 2020 17:48:31 Helpful(0) Helpful(0)

    Useful document, thanks
    View more
    • x
    • convention:

    EdimarG
    Created Apr 18, 2020 17:48:38 Helpful(4) Helpful(4)

    thanks for sharing!
    View more
    • x
    • convention:

    Comment

    You need to log in to comment to the post Login | Register
    Comment

    Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
    • Politically sensitive content
    • Content concerning pornography, gambling, and drug abuse
    • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
    Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."

    My Followers

    Login and enjoy all the member benefits

    Login

    Block
    Are you sure to block this user?
    Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
    Reminder
    Please bind your phone number to obtain invitation bonus.