CCNA全部重要实验步骤.docxVLAN,TRUNK,VTP和VLAN间路由的使用和配置实验目的:熟练掌握VLAN,TRUNK,VTP和VLAN间路由的使用和配置实验内容:在1900系列和2900系列交换机上VLAN的配置在1900系列和2900系列交换机上TRUNK的配置在1900系列和2900系列交换机上VTP的配置在1900系列和2900系列交换机以及2600系列路由器上VLAN间路由的配置实验条件:2900系列交换机两台,1900系列交换一台和2600系列路由器各一台VLAN的配置本实验需要2900交换机一台,PC机两台,,«.(RollovorJCrossovercableStep1配置交换机Switch>Switch>enableSwitchSconfigureterminalSwitch(config)tthostnameSwitch_ASwitch_A(config)SenablesecretclassSwitch_A(config)ttenablepasswordciscoSwitch_A(config)#linecon0Switch_A(configTine)SpasswordciscoSwitch_A(config-line)SloginSwitch_A(config-line)#linevty015Switch_A(config-line)#passwordciscoSwitchA(config-line)ttloginSwitch_A(configTine)SexitSwitch_A(config)#interfaceVlanlSwitchA(config-if)#(config-if)#noshutdownSwitchA(config-if)#exitSwitch_A(config)#ipdefault-・1・1SwitchA(config)#endStep2为PC配置正确的IP地址,子网掩码和缺省网关Step3检测连通性由switchping两台PC机,检测连通性Step4显示VLAN的接口信息2900:Switch_A#showvlan1900:Switch_A#showv1an-membershipStep5创建,命名VLAN2900:Switch_A#vlandatabaseSwitch_A(vlan)#vlan2nameVLAN2Switch_A(vlan)Svlan3nameVLAN3SwitchA(vlan)#exit1900:Switch_A#configureterminalSwitch_A(config)#vlan2nameVLAN2Switch_A(config)Svlan3nameVLAN3Step6安排4,5,6端口到VLAN22900:Switch_A#configureterminalA(config)#0/4A(config-if)#essA(config-if)#essvlanA(config-if)#A(config-if)essA(config-if)#essvlanA(config-if)#A(config-if)#essA(config-if)#essvlanA(config-if)#endSwitchSwitchSwitchSwitchSwitchSwitchSwitchSwitchSwitchSwitch1900:SwitchSwitchSwitchSwitchSwitchSwitchSwitchSwitch20/520/6AttconfigureterminalA(config)#0/4A(config-if)#vlanstatic2A(config-if)0/5A(config-if)#vlanstatic2A(config-if)#0/6A(config-if)#vlanstatic2A(config)#endStep7显示VLAN的接口信息2900:SwitchAttshowvlan1900:Switch_A#showvlan-membershipStep8安排7,8,9端口到VLAN3Switch_A#configureterminalSwitch_A(config-if)#0/7Switch_A(config-if)#essSwitch_A(
CCNA全部重要实验步骤 来自淘豆网m.daumloan.com转载请标明出处.