Use Access mode for interoperability with VLANs

Source: Internet
Author: User

Use Access mode for interoperability with VLANs
Display MAC address VLAN 10
View VLAN10 MAC Address Table
Display MAC Address Aging Time
View MAC address Survival time
Display VLAN
View VLAN and port correspondence above the switch
Display Port VLAN
View the mode of the port on the switch and the VLAN correspondence
<sw1>undo Terminal Monitor
Undo the log on the terminal display


Interoperability with VLANs
SW1 settings
<sw1>system-view
Enter system view to join VLAN 10
[Sw1]vlan 10
Enter interface
[Sw1]interface GIG0/0/1
Port connection type is access mode
[Sw1-gig0/0/1]port link-type Access
Port joins default VLAN 10
[Sw1-gig0/0/1]port Default VLAN 10
[Sw1]interface GIG0/0/2
[Sw1-gig0/0/2]port link-type Access
[Sw1-gig0/0/2]port Default VLAN 10
PC Settings
pc1:192.168.1.1 255.255.255.0
pc2:192.168.1.2 255.255.255.0
Results: Realizing PC1 and PC2 interoperability
SW1 settings
[Sw1]vlan 30
[Sw1]interface GIG0/0/3
[Sw1-gig0/0/3]port link-type Access
[Sw1-gig0/0/3]port Default VLAN 30
[Sw1]interface GIG0/0/4
[Sw1-gig0/0/4]port link-type Access
[Sw1-gig0/0/4]port Default VLAN 30
SW2 settings
[Sw2]vlan 30
[Sw2]interface GIG0/0/1
[Sw2-gig0/0/1]port link-type Access
[Sw2-gig0/0/1]port Default VLAN 30
[Sw2]vlan 30
[Sw2]interface GIG0/0/2
[Sw2-gig0/0/2]port link-type Access
[Sw2-gig0/0/2]port Default Vlan30
Pc settings
pc5:192.168.3.1 255.255.255.0
pc3:192.168.3.2 255.255.255.0
Results: Realizing PC5 and PC3 interoperability

Use Access mode for interoperability with VLANs

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.