Huawei switch changes port from trunk to access error resolution

Source: Internet
Author: User

When I recently tried to change the interface of the Huawei s2300-52p switch from the previous trunk to access, the changes were unsuccessful and the error message was as follows:

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>

[Zgk-bg-ethernet0/0/6]dis This

#

Interface ETHERNET0/0/6

Port Link-type Trunk

Port Trunk Allow-pass VLAN 2 to 4094

Loopback-detect Enable

#

Return

[Zgk-bg-ethernet0/0/6]port link-t

[Zgk-bg-ethernet0/0/6]port link-type Access

Error:please Renew the default configurations.

... ...

[Zgk-bg-ethernet0/0/6]undo Port Link-type Trunk

^

Error:too many parameters found at ' ^ ' position.

[Zgk-bg-ethernet0/0/6]undo Port Link-type

Error:please Renew the default configurations.

[ZGK-BG-ETHERNET0/0/6]


Regardless of configuration, you cannot change the port trunk to access

After this configuration is found, you can change the port:


[Zgk-bg-ethernet0/0/6]dis This

#

Interface ETHERNET0/0/6

Port Link-type Trunk

Port Trunk Allow-pass VLAN 2 to 4094

Loopback-detect Enable

#

Return

[ZGK-BG-ETHERNET0/0/6] undo Port Trunk Allow-pass VLAN all

Info:this operation may take a few seconds. Please wait for a moment...done.

[ZGK-BG-ETHERNET0/0/6] Port trunk allow-pass VLAN 1

Info:this operation may take a few seconds. Please wait for a moment...done.

[Zgk-bg-ethernet0/0/6]port link-type Access

[Zgk-bg-ethernet0/0/6]dis This

#

Interface ETHERNET0/0/6

Port Link-type Access

Loopback-detect Enable

#

Return


Success!

Go first to enable all VLANs through the port and then re-add the default VLAN 1 through, then you can change the port type!

This article from the "full of strokes, modest benefits!" "Blog, be sure to keep this provenance http://lanfenggo.blog.51cto.com/6322019/1886836

Huawei switch changes port from trunk to access error resolution

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.