码迷,mamicode.com
首页 > 数据库 > 详细

access改hybrid trunk改hybrid

时间:2017-04-25 21:21:51      阅读:232      评论:0      收藏:0      [点我收藏+]

标签:access   trunk   hybrid   

access改hybrid 


[SW2-Ethernet0/0/3]dis th

#

interface Ethernet0/0/3

 port link-type access

 port default vlan 10

#

return

[SW2-Ethernet0/0/3]undo port default vlan 

[SW2-Ethernet0/0/3]port link-type hybrid 


trunk改hybrid


[SW2-Ethernet0/0/1]dis th

#

interface Ethernet0/0/1

 port link-type trunk

 port trunk allow-pass vlan 2 to 4094

#

return

[SW2-Ethernet0/0/1]

[SW2-Ethernet0/0/1]

[SW2-Ethernet0/0/1]clear conf inter eth0/0/1

Warning: All configurations of the interface will be cleared, and its state will

 be shutdown. Continue? [Y/N] :y

Info: Total execute 2 command(s), 2 successful, 0 failed.

[SW2-Ethernet0/0/1]undo shutdown 

[SW2-Ethernet0/0/1]port link-type hybrid 





access改hybrid trunk改hybrid

标签:access   trunk   hybrid   

原文地址:http://alibaby.blog.51cto.com/10239253/1919336

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!