- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
实验四 路由器基本配置演示文稿
实验四 路由器的基本配置;路由器工作流程;路由器的结构;AR28-31;配置路由器;通过console口配置;创建超级终端(II);选择串口(III);端口设置(IV);进入路由器配置界面;用户模式下常用命令;特权模式下常用命令;全局配置模式; 单臂路由配置实验组网拓扑图 ;Router#configure terminal
Router(config)#interface f1/0
Router(config-if)#inter f1/0.1 //定义子接口f1/0.1
Router(config-subif)#encapsulation dot1Q 1
Router(config-subif)#ip address 172.16.1.1 255.255.255.0
//指定以太网子接口属于VLAN1,此命令应用在以太网子接口上。只有配置了该命令之后,以太网子接口才会根据配置的VLAN ID 号在以太网帧头中嵌入VLAN 标签,与该网口相连的交换机接口才能正确处理接收到的帧。
Router(config-if)#inter f1/0.2 //定义子接口f1/0.2
Router(config-subif)#encapsulation dot1Q 2
Router(config-subif)#ip address 172.16.2.1 255.255.255.0 //指定以太网子接口属于VLAN2
Router(config-if)#inter f1/0.3 //定义子接口f1/0.3
Router(config-subif)#encapsulation dot1Q 3
Router(config-subif)#ip address 172.16.3.1 255.255.255.0 //指定以太网子接口属于VLAN3;Switchenable
Switch#configure terminal
Switch(config)#vlan 2
Switch(config)#interface range f0/1-5
Switch(config-if-range)#switchport access vlan 2
Switch(config)#vlan 3
Switch(config)#interface range f0/7-11
Switch(config-if-range)#switchport access vlan 3
Switch(config)#inter e0/24
Switch(config-if)#switchport mode trunk 设为trunk
Switch(config-if)#switchport trunk allowed vlan all
;步骤三 工作站配置;C:\Documents and Settings\Administratoripconfig
IP Address. . . . . . . . . . . . : 172.16.2.22
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 172.16.2.1
C:\Documents and Settings\Administratorping 172.16.3.1
Pinging 172.16.3.1 with 32 bytes of data:
Reply from 172.16.3.1: bytes=32 time10ms TTL=255
Reply from 172.16.3.1: bytes=32 time10ms TTL=255
Reply from 172.16.3.1: bytes=32 time10ms TTL=255
Reply from 172.16.3.1: bytes=32 time10ms TTL=255
Ping statistics for 172.16.3.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms;Router#show ip route
Codes: C -
文档评论(0)