Example for Configuring Port Isolation

Latest reply: Dec 9, 2012 14:05:20 5962 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
Example for Configuring Port Isolation-1275089-1

 

  • 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.

    • x
    • convention:

    Comment

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

    Notice 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."
    If the attachment button is not available, update the Adobe Flash Player to the latest version!
    Login and enjoy all the member benefits

    Login and enjoy all the member benefits

    Login