List of VLAN configuration commands

Source: Internet
Author: User

Command command feature configure terminal into global configuration mode vlan  vlan-id create VLAN command name  vlan-name Add name end configuration to created VLAN, return privileged mode show VL An  {name vlan-name | id vlan-id} View the results of the configuration completion copy Running-config startup config Saves the configuration information no vlan  Vlan-id deletes an existing VLAN interface  interface-id into the specified interface shutdown closes the specified interface no shutdown turns on the specified interface switchport mode Access sets the mode of the interface to be visited Q-mode switchport access VLAN  vlan-id Add interfaces to the specified VLAN switchport mode dynamic desirable sets the interface to dynamic active Adaptive mode switchport mode D Ynamic Auto Sets the interface to a dynamic passive adaptive pattern switchport mode trunk sets the interface to the trunk mode Switchport nonegotiate sets the interface to no negotiation mode, closes the DTP protocol Switchport trunk E Ncapsulation dot1q the trunk protocol that sets the interface Switchport trunk the trunk protocol of the encapsulation ISL setting interface switchport trunk native VLAN  vlan-id set the intrinsic V LAN VTP mode  Mode set VTP's working mode VTP domain  domain-name set VTP work domain name VTP password  password set VTP password VTP versio n  version-number set VTP working version, there are 1 and 22 versions VTP pruning configuration VTP cropping feature show VTP status View VTP information Private-vlan Primary set Pvlan as primary VLAN Private-vlan Isolated SettingsPvlan set Pvlan the secondary VLAN information associated with the Community VLAN Private-vlan Association  vlan-id settings and the primary VLAN for the isolation VLAN Private-vlan community Switchport private-vlan host-association  Vlan-id settings interface and primary VLAN and secondary VLAN Private-vlan mapping  Vlan-id ... Set the mapping Association of Interfaces and 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.