找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 2102|回复: 0
收起左侧

锐捷交换机命令

[复制链接]
ID:288960 发表于 2018-3-7 22:54 | 显示全部楼层 |阅读模式
锐捷交换机命令与思科的极其相似
1. 静态配置命令格式如下:
对于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 +目的网段+目的网段的子网掩码+下一跳IP
查看配置情况 特权模式下 Router#show ip route
其他的路由同理配置
2. RIP 动态路由配置命令 network +相邻网段
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的情况

注意:在做的时候,动态配置的时候,只有全部路由都配置好以后,在查看的时候才能显示出来。
本文出自 “Running” 博客,请务必保留此出处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的情况

注意:在做的时候,动态配置的时候,只有全部路由都配置好以后,在查看的时候才能显示出来。

路由器配置.docx

25.8 KB, 下载次数: 5, 下载积分: 黑币 -5

锐捷命令

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|51黑电子论坛 |51黑电子论坛6群 QQ 管理员QQ:125739409;技术交流QQ群281945664

Powered by 单片机教程网

快速回复 返回顶部 返回列表