找回密碼
 立即注冊(cè)

QQ登錄

只需一步,快速開始

搜索
查看: 2116|回復(fù): 0
打印 上一主題 下一主題
收起左側(cè)

銳捷交換機(jī)命令

[復(fù)制鏈接]
跳轉(zhuǎn)到指定樓層
樓主
ID:288960 發(fā)表于 2018-3-7 22:54 | 只看該作者 回帖獎(jiǎng)勵(lì) |倒序?yàn)g覽 |閱讀模式
銳捷交換機(jī)命令與思科的極其相似
1. 靜態(tài)配置命令格式如下:
對(duì)于R1
Router>e
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.2
ip route +目的網(wǎng)段+目的網(wǎng)段的子網(wǎng)掩碼+下一跳IP
查看配置情況 特權(quán)模式下 Router#show ip route
其他的路由同理配置
2. RIP 動(dòng)態(tài)路由配置命令 network +相鄰網(wǎng)段
Router#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#router ri
Router(config-router)#network 192.168.1.0
Router(config-router)#network 192.168.2.0
Router#write
Building configuration...
[OK]
第2頁 /(共3頁)
查看命令
Router#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
C    192.168.1.0/24 is directly connected, FastEthernet0/0
C    192.168.2.0/24 is directly connected, FastEthernet0/1
S    192.168.3.0/24 [1/0] via 192.168.2.2
R    192.168.4.0/24 [120/2] via 192.168.2.2, 00:00:19, FastEthernet0/1
3.查看pc 互ping的情況

注意:在做的時(shí)候,動(dòng)態(tài)配置的時(shí)候,只有全部路由都配置好以后,在查看的時(shí)候才能顯示出來。
本文出自 “Running” 博客,請(qǐng)務(wù)必保留此出處http://dg123.blog.51cto.com/4750342/1008640
第3頁 /(共3頁)
查看命令
Router#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
C    192.168.1.0/24 is directly connected, FastEthernet0/0
C    192.168.2.0/24 is directly connected, FastEthernet0/1
S    192.168.3.0/24 [1/0] via 192.168.2.2
R    192.168.4.0/24 [120/2] via 192.168.2.2, 00:00:19, FastEthernet0/1
3.查看pc 互ping的情況

注意:在做的時(shí)候,動(dòng)態(tài)配置的時(shí)候,只有全部路由都配置好以后,在查看的時(shí)候才能顯示出來。

路由器配置.docx

25.8 KB, 下載次數(shù): 5, 下載積分: 黑幣 -5

銳捷命令

分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享淘帖 頂 踩
回復(fù)

使用道具 舉報(bào)

本版積分規(guī)則

小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術(shù)交流QQ群281945664

Powered by 單片機(jī)教程網(wǎng)

快速回復(fù) 返回頂部 返回列表