VTP的配置文档格式.docx
《VTP的配置文档格式.docx》由会员分享,可在线阅读,更多相关《VTP的配置文档格式.docx(11页珍藏版)》请在冰豆网上搜索。
2013年5月28日
实
验
内
容
实验拓扑图:
过
程
及
步
骤
一、虚拟机的配置
2、路由器与交换机的配置
3、验证结果
结
果
分
析
本实验是通过配置路由器与交换机将虚拟机1以配置为DHCP服务器其中配置了地址池,虚拟机2可以通过虚拟机以动态的获得IP地址和网管。
配置实验室要注意接口的配置,各个接口的类型。
另外虚拟机的配置也比较繁琐配置时要注意。
实验代码:
r1-------------------
vlandatabase
vtpdomaincisco
vtpclient
exit
conft
interfacef0/0
switchportaccessvlan10
switchportmodeaccess
interfacef0/1
switchportmodetrunk
end
r2---------------------
switchportaccessvlan20
interfacef0/1
r3----------------------
vtpserver
vlan10
vlan20
conft
iprouting
interfacevlan10
ipaddress192.168.10.254255.255.255.0
noshut
interfacevlan20
ipaddress192.168.20.254255.255.255.0
iphelper-address192.168.10.1
interfacef0/2
noswitchport
ipaddress10.0.0.1255.255.255.0
iproute192.168.0.0255.255.255.010.0.0.2
r4-------------------
interfacee0/1
ipaddress192.168.0.254255.255.255.0
interfacee0/0
ipaddress10.0.0.2255.255.255.0
iproute192.168.10.0255.255.255.010.0.0.1
iproute192.168.20.0255.255.255.010.0.0.1
教
师
评
阅
教师签名:
年月日