Example for Configuring Port Isolation

Created Dec 09, 2012 22:05:06Latest reply Dec 09, 2012 22:05:20 5743 1 0 0

Example for Configuring Port Isolation

Networking Requirements

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

Figure 1-1 Networking diagram for port isolation configuration

 

  • x
  • convention:

user_1869547  Expert   Created Dec 09, 2012 22: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.

    • x
    • convention:

    Responses

    Reply
    You need to log in to reply to the post Login | Register

    Notice:To ensure 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 not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, 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 Policy.”
    If the attachment button is not available, update the Adobe Flash Player to the latest version!
    Fast reply Scroll to top