首页 单臂路由实验详解

单臂路由实验详解

举报
开通vip

单臂路由实验详解 我是一名正在学习NA的学员 本来是小白  学习NA的时候遇到的困难不是一点半点 所以把NA中的实验难点发给大家  希望大家一起提高 PC 配置 配置IP 地址 子网掩码  网关  这是很基本的东西 不用多说 交换机配置 Switch> Switch>en Switch>en Switch#conf t Enter configuration commands, one per line.  End with CNTL/Z. Switch(config)#vlan 2  配置VLAN2 Switch(config...

单臂路由实验详解
我是一名正在学习NA的学员 本来是小白  学习NA的时候遇到的困难不是一点半点 所以把NA中的实验难点发给大家  希望大家一起提高 PC 配置 配置IP 地址 子网掩码  网关  这是很基本的东西 不用多说 交换机配置 Switch> Switch>en Switch>en Switch#conf t Enter configuration commands, one per line.  End with CNTL/Z. Switch(config)#vlan 2  配置VLAN2 Switch(config-vlan)#exit Switch(config)#vlan 3  配置VLAN3 Switch(config-vlan)#exit Switch(config)#int fa 0/1      把端口加入到VLAN Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 2 Switch(config-if)#int fa 0/2 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 3 Switch(config-if)#exit Switch(config)#int fa 0/4    设置 Trunk Switch(config-if)#switchport access trunk                                     ^ % Invalid input detected at '^' marker.     Switch(config-if)#switchport mode trunk Switch(config-if)#exit Switch(config)#exit Switch# %SYS-5-CONFIG_I: Configured from console by console Switch#show int fa 0/4 switchport  查看Trunk端口 Name: Fa0/4 Switchport: Enabled Administrative Mode: trunk Operational Mode: trunk Administrative Trunking Encapsulation: dot1q Operational Trunking Encapsulation: dot1q Negotiation of Trunking: Off Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Voice VLAN: none Administrative private-vlan host-association: none Administrative private-vlan mapping: none Administrative private-vlan trunk native VLAN: none Administrative private-vlan trunk encapsulation: dot1q Administrative private-vlan trunk normal VLANs: none Administrative private-vlan trunk private VLANs: none Operational private-vlan: none Trunking VLANs Enabled: ALL Pruning VLANs Enabled: 2-1001 Capture Mode Disabled Capture VLANs Allowed: ALL Protected: false Appliance trust: none Switch# 路由器配置、 Router>en Router#conf t Enter configuration commands, one per line.  End with CNTL/Z. Router(config)#int fa 0/0 Router(config-if)#no shutdown 打开路由器 Router(config-if)#exit Router(config)#int fa 0/0.? 查看子接口   <0-4294967295>  FastEthernet interface number Router(config)#int fa 0/0.1  配置子接口 Router(config-subif)#encapsulation dot1q 2  封装给vlan2 Router(config-subif)#ip add 192.168.1.1 255.255.255.0 Router(config-subif)#no shutdown Router(config-subif)#int fa 0/0.3 %LINK-5-CHANGED: Interface FastEthernet0/0.3, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.3, changed state to up Router(config-subif)#encapsulation dot1q 3 封装协议给vlan3 %Configuration of multiple subinterfaces of the same main interface with the same VID (3) is not permitted. This VID is already configured on FastEthernet0/0.5. Router(config-subif)#ip add 192.168.2.1 255.255.255.0 % Configuring IP routing on a LAN subinterface is only allowed if that subinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q, or ISL vLAN. Router(config-subif)#no shutdown Router(config-subif)#exit]                         ^ % Invalid input detected at '^' marker.     Router(config-subif)#exit Router(config)#exit Router# %SYS-5-CONFIG_I: Configured from console by console
本文档为【单臂路由实验详解】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_353097
暂无简介~
格式:doc
大小:82KB
软件:Word
页数:3
分类:生活休闲
上传时间:2017-09-19
浏览量:29