6509为主网络配置实例
http://tech.ddvip.com 2007年01月23日 社区交流 收藏本文
本文详细介绍6509为主网络配置实例
bg-sw-03(vlan)#vtp client /设定vtp模式
bg-sw-03(vlan)#exit
bg-sw-03(config)#spantree uplinkfast /设定端口快速上连
bg-sw-03(config)#int g0/1 /进入接口模式
bg-sw-03(config-if)#switchport mode trunk /设为trunk模式
bg-sw-03(config-if)#switchport trunk encapsulation dot1q /设定封装模式
bg-sw-03(config-if)#switchport trunk allowed vlan all /设定trunk许可vlan
bg-sw-03(config-if)#spanning-tree portfast /设定端口快速启用
bg-sw-03(config-if)#int g0/2/进入接口模式
bg-sw-03(config-if)#switchport mode trunk /设为trunk模式
bg-sw-03(config-if)#switchport trunk encapsulation dot1q/设定封装模式
bg-sw-03(config-if)#switchport trunk allowed vlan all /设定trunk许可vlan
bg-sw-03(config-if)#spanning-tree portfast /设定端口快速启用
bg-sw-03(config-if)#exit
bg-sw-03#write memory
第二台Catalyst 3548
switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)#hostname bg-sw-04 /设备名
bg-sw-04(config)#enable password test /设口令
bg-sw-04(config)#enable secret test
bg-sw-04(config)#banner motd % Welcome to the C3548 in the Office % /提示文本
责编:豆豆技术应用