4000系列交换机简明配置手册(中文)(15)

时间:2025-05-06

4000系列交换机简明配置手册(中文)

使用 default interface slot/port还原到缺省配置状态。 举例如下:

Switch# configure terminal

Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# interface fastethernet2/1

Switch(config-if)# switchport mode access

Switch(config-if)# switchport access vlan 2

Switch(config-if)# end Switch#

配置VLAN Trunks

4000系列交换机简明配置手册(中文)

举例:

Switch# configure terminal

4000系列交换机简明配置手册(中文)

Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# interface fastetherne2/4

Switch(config-if)# switchport mode trunk

Switch(config-if)# switchport trunk encapsulation dot1q

Switch(config-if)# end

定义trunk允许的VLAN

缺省情况下trunk允许所有的VLAN通过。可以使用 switchport trunk allowed vlan remove vlan-list 来去掉某一VLAN

回到允许所有VLAN通过时, 可用no switchport trunk allowed vlan 端口配置命令. 举例如下:

4000系列交换机简明配置手册(中文)(15).doc 将本文的Word文档下载到电脑

精彩图片

热门精选

大家正在看

× 游客快捷下载通道(下载后可以自由复制和排版)

限时特价:7 元/份 原价:20元

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219