↑↓ 选择 · Enter 打开 · Esc 关闭

锐捷 命令速查

70 条命令 · 点击右侧按钮复制命令

故障排查 70

show version 查看设备版本 ⭐ 基础
2
show running-config 查看当前配置 ⭐⭐ 常用
2
show startup-config 查看启动配置 ⭐⭐ 常用
2
show clock 查看系统时间 ⭐ 基础
2
show cpu 查看 CPU 使用率 ⭐⭐ 常用
1
show memory 查看内存使用 ⭐⭐ 常用
2
interface GigabitEthernet 0/1 进入接口 ⭐⭐ 常用
2
ip address 192.168.1.1 255.255.255.0 配置接口 IP ⭐ 基础
1
no shutdown 启用接口 ⭐ 基础
2
show interfaces status 查看接口状态 ⭐ 基础
1
show interfaces brief 查看接口简表 ⭐ 基础
1
show interfaces description 查看接口描述 ⭐ 基础
1
description "To-Server" 接口描述 ⭐⭐ 常用
2
vlan 10 创建 VLAN ⭐⭐ 常用
2
name Sales VLAN 命名 ⭐⭐ 常用
1
switchport mode access 配置 access 端口 ⭐⭐ 常用
1
switchport mode trunk 配置 trunk 端口 ⭐⭐ 常用
2
switchport trunk allowed vlan all trunk 允许所有 VLAN ⭐⭐ 常用
2
show vlan 查看 VLAN ⭐⭐ 常用
2
show vlan brief 查看 VLAN 简表 ⭐⭐ 常用
1
spanning-tree 启用 STP ⭐⭐ 常用
2
spanning-tree mode rapid-pvst 设置 RPVST+ 模式 ⭐⭐ 常用
1
spanning-tree vlan 10 priority 4096 设置 VLAN 10 STP 优先级 ⭐⭐ 常用
2
show spanning-tree 查看 STP 状态 ⭐⭐ 常用
1
show spanning-tree interface 查看接口 STP 状态 ⭐⭐ 常用
1
show ip route 查看路由表 ⭐⭐ 常用
1
ip route 0.0.0.0 0.0.0.0 192.168.1.254 配置默认路由 ⭐⭐ 常用
2
router ospf 1 启用 OSPF ⭐⭐⭐ 高级
2
network 192.168.1.0 0.0.0.255 area 0 OSPF 宣告 ⭐⭐⭐ 高级
2
show ip ospf neighbor 查看 OSPF 邻居 ⭐⭐⭐ 高级
1
router bgp 65001 启用 BGP ⭐⭐⭐ 高级
2
show ip bgp summary BGP 摘要 ⭐⭐⭐ 高级
1
ip access-list standard 10 创建标准 ACL ⭐⭐⭐ 高级
2
ip access-list extended 100 创建扩展 ACL ⭐⭐⭐ 高级
1
show ip access-lists 查看 ACL ⭐⭐⭐ 高级
1
enable password 123456 设置 enable 密码 ⭐ 基础
2
username admin password admin123 创建用户 ⭐⭐ 常用
2
line vty 0 4 配置 VTY 线路 ⭐⭐ 常用
1
transport input ssh 只允许 SSH ⭐⭐ 常用
2
crypto key generate rsa 生成 RSA 密钥 ⭐⭐ 常用
2
ip dhcp pool LAN DHCP 地址池 ⭐ 基础
1
show ip dhcp binding DHCP 绑定 ⭐ 基础
2
ip nat inside source list 1 interface GigabitEthernet 0/0 overload 配置 NAT ⭐⭐ 常用
1
show ip nat translations 查看 NAT ⭐⭐ 常用
1
interface aggregateport 1 创建聚合口 ⭐⭐ 常用
2
aggregateport member 0/1-0/4 聚合成员口 ⭐⭐ 常用
1
show aggregateport summary 查看聚合口 ⭐⭐ 常用
2
switchport port-security 启用端口安全 ⭐⭐ 常用
1
show port-security 查看端口安全 ⭐⭐ 常用
1
configure terminal 进入全局配置 ⭐ 基础
2
end 退出到特权模式 ⭐⭐ 常用
2
exit 退出当前模式 ⭐⭐ 常用
2
enable 进入特权模式 ⭐ 基础
1
disable 退出特权模式 ⭐⭐ 常用
1
write 保存配置 ⭐ 基础
1
copy running-config startup-config 保存到 NVRAM ⭐⭐ 常用
2
reload 重启设备 ⭐⭐ 常用
2
hostname RG-S2910 设置主机名 ⭐ 基础
2
show interfaces counters 接口计数器 ⭐ 基础
1
show ip arp 查看 ARP ⭐⭐ 常用
1
show mac address-table MAC 表 ⭐⭐ 常用
1
ping 8.8.8.8 ping 测试 ⭐ 基础
1
traceroute 8.8.8.8 路由追踪 ⭐ 基础
1
show log 查看日志 ⭐⭐ 常用
1
terminal monitor 日志实时显示 ⭐⭐ 常用
1
debug ip ospf events OSPF 调试 ⭐⭐⭐ 高级
2
no debug all 关闭调试 ⭐⭐ 常用
1
power inline enable 启用 PoE ⭐ 基础
2
power inline maximum 30000 设置 PoE 功率 ⭐⭐ 常用
1
show power inline 查看 PoE 状态 ⭐⭐ 常用
1