您的位置:首页 > 其它

【CCNA学习笔记】1.思科路由器的基本配置

2014-01-02 09:37 204 查看
教学视频来源:http://edu.51cto.com/lesson/id-10930.html

怎么安装模块、连交叉线什么的视频里面老师说的很清楚了,我只记录一下IOS配置的命令(虽然一副不明觉厉的样子)

申明:我的交叉线的两端都连在了两个路由器f0/0的端口上面。

以下为个人理解,如果有误导,别骂博主。

#no         //按照提示输入
#enable   //进入特权模式
#config     //进入配置模式
#int f0/0   //进入指定端口
#no shut   //shut是关闭,no shut就是打开吧?


然后这样就配置好了一个路由器

另一个输一遍一样的命令就行了。

然后随便找一个路由,连续输入2次exit退出到主菜单,然后键入show ip inter b(不知道什么意思)

可见类似于以下内容:

Interface              IP-Address      OK? Method Status                Protocol

FastEthernet0/0        unassigned      YES unset  up                    up

FastEthernet0/1        unassigned      YES unset  administratively down down

Serial0/3/0            unassigned      YES unset  administratively down down

FastEthernet1/0        unassigned      YES unset  administratively down down

FastEthernet1/1        unassigned      YES unset  administratively down down

FastEthernet1/2        unassigned      YES unset  administratively down down

FastEthernet1/3        unassigned      YES unset  administratively down down

FastEthernet1/4        unassigned      YES unset  administratively down down

FastEthernet1/5        unassigned      YES unset  administratively down down

FastEthernet1/6        unassigned      YES unset  administratively down down

--More--
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up


status 指的OSI体系的最下面的物理层,Protocol是链路层……如果只有一边连接好了的话只有他的物理层是up的……

配置IP地址:

#config
#int f0/0
#ip ad 12.1.1.1 255.255.255.0


这个……IP随意设置了……………………

就是ip ad IP地址 子网掩码就行了

然后分别配置一个IP以后对ping

Router>ping 12.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 12.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms


大概就行了~

(显然未完,博主继续学习姿势)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: