精品推荐
以Catalyst 6509为主网络配置!
日期:2007年5月23日 作者: 查看:[大字体
中字体 小字体 ]
bg-sw-04(config-if)#switchport trunk encapsulation dot1q bg-sw-04(config-if)#switchport trunk allowed vlan all bg-sw-04(config-if)#spanning-tree portfast bg-sw-04(config-if)#exit bg-sw-04#write memory 3.2 办公楼Catalyst 3548XL交换机配置方案 switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. switch(config)#hostname zsr-sw-01 zsr-sw-01(config)#enable password test zsr-sw-01(config)#enable secret test zsr-sw-01(config)#banner motd % Welcome to the C3548 in the Zhong San Lu ban Gong Lou % zsr-sw-01(config)#line vty 0 4 zsr-sw-01(config.line)#login zsr-sw-01(config.line)#password test zsr-sw-01(config.line)#exit zsr-sw-01(config)#int vlan 1 zsr-sw-01(config-if)#ip address 10.234.180.25 255.255.255.0 zsr-sw-01(config-if)#exit zsr-sw-01(config)#ip default.gateway 10.234.180.234 zsr-sw-01(config)#end zsr-sw-01#vlan database zsr-sw-01(vlan)#vtp domain Corp_Net zsr-sw-01(vlan)#vtp client zsr-sw-01(vlan)#exit zsr-sw-1#configure terminal zsr-sw-1(config)#int f0/1 zsr-sw-1(config-if)#switchport mode access zsr-sw-1(config-if)#switchport access vlan 31 zsr-sw-1(config-if)#exit zsr-sw-1(config)#int f0/2 。。。。。。 zsr-sw-1(config)#int f0/48 zsr-sw-1(config-if)#switchport mode access zsr-sw-1(config-if)#switchport access vlan 31 zsr-sw-1(config-if)#exit zsr-sw-01(config)#int g0/1 zsr-sw-01(config-if)#switchport mode trunk zsr-sw-01(config-if)#switchport trunk encapsulation dot1q zsr-sw-01(config-if)#switchport trunk allowed vlan all zsr-sw-01 (config-if)#spantree cost 10 zsr-sw-01(config-if)#exit zsr-sw-01(config)#int g0/2 zsr-sw-01(config-if)#switchport mode trunk zsr-sw-01(config-if)#switchport trunk encapsulation dot1q zsr-sw-01(config-if)#switchport trunk allowed vlan all zsr-sw-01 (config-if)#spantree cost 20 zsr-sw-01(config-if)#exit
复制本页网址和标题,发送给你QQ/Msn的好友一起分享
上一篇:思科认证CCNA考试基础教程
下一篇:联想为新疆财大数字图书馆提供存储解决方案
相关文章:
相关软件: