2024年4月25日发(作者:)
释义
品牌
思科(Cisco)
no
show
exit
hostname
en、config terminal
delete
reload
write
username
shutdown
show version
show startup-config
show running-config
no debug all
erase startup-config
end
exit
logging
start-config
host
华为(HUAWEI)
undo
display
quit
sysname
system-view
delete
reboot
save
local-user
shutdown
display version
display saved-
configuration
display current-
configuration
Ctrl+D
reset saved-
configuration
return
logout
info-center
current-configuration
ip host
取消、关闭当前设置
显示查看
退回上级
设置主机名
进入全局模式
删除文件
重启
保存当前配置
创建用户
禁止、关闭端口
显示当前系统版本
查看已保存过的配置
显示当前配置
取消所有debug命令
删除配置
退到用户视图
登出
指定信息中心配置信息
进入线路配置(用户接
口)模式
host名字和ip地址对应
交换部分
配置明文密码enable password
set authentication
password simple
进入接口
进入vlan配置vlan管理地
址
定义多个端口的组
设置特权口令
配置接口状态
配置端口速率
配置trunk
添加、删除vlan
将端口接入vlan
查看接口
查看vlan
封装协议
链路聚合
开启三层交换机的路由功
能
开启三层接口功能
对跨以太网交换机的VLAN
进行动态注册和删除
stp配置根网桥
配置网桥优先级
查看STP配置
路由部分
配置默认路由
配置静态路由
查看路由表
启用rip、并宣告网段
interface type/number
interface vlan 1
interface rang
enable secret
duplex
(half|full|auto)
speed(10/100/1000)
switchport mode trunk
vlan ID/no vlan ID
switchport access vlan
show interface
show vlan ID
encapsulation
channel-group 1 mode on
ip routing
no switchport
vtp domain
spanning-tree vlan ID
root primary
spanning-tree vlan ID
priority
show spanning-tree
interface type/number
interface vlan 1
interface ethID to ID
super password
duplex
(half|full|auto)
speed(10/100/1000)
port link-type trunk
vlan batch ID/undo
batch ID
port default vlan ID
display interface
display vlan ID
link-protocol
port link-aggregation
group 1
默认开启
不支持
GVRP
stp instance ID root
primary
stp priority vlaue
dis stp brief
ip route 0.0.0.0
0.0.0.0
ip route目标网段+掩码
下一跳
show ip route
router rip /network网段
ip route-static 0.0.0.0
0.0.0.0
ip route-static目标网段
+掩码 下一跳
display ip routing-
table
rip /network网段
启用ospf
配置ospf区域
配置RIP V2水平分割
查看路由协议
标准访问控制列表
router ospf
network ip 反码 area
no auto-summary
show ip protocol
ospf
area
rip split-horizon
display ip protocol
扩展访问控制列表
配置HSRP组
配置HSRP优先级
配置HSRP优先权
配置端口跟踪
配置静态地址转换
access-list 1-99rule id permit source
permit/deny IPIP
access-list 100-199rule{normal|special}{pe
permit/deny protocolrmit|deny}{tcp|udp}sour
source IP +反码ce{ destination IP +反码wild>|any}destination operator operanp wild>|any}[operate] standby group-number ipvrrp vrid number virtual-ipvirtual-ip standby group-number priority standby group-number preempt standby group-number track ip nat inside source static vrrp vrid number priority vrrp vrid number preempt-mode nat server global port [protocol] 华三(H3C) undo display quit sysname system-view delete reboot save local-user shutdown display version display saved- configuration display current- configuration Ctrl+D reset saved- configuration return logout info-center current-configuration ip host set authentication password simple interface type/number interface vlan 1 interface ethID to ID super password duplex (half|full|auto) speed(10/100/1000) port link-type trunk vlan batch ID/undo batch ID port access vlan ID display interface display vlan ID link-protocol port link-aggregation group 1 默认开启 不支持 GVRP stp instance ID root primary stp priority vlaue dis stp brief ip route-static 0.0.0.0 0.0.0.0 ip route-static目标网段 +掩码 下一跳 display ip routing- table rip /network网段 ospf area rip split-horizon display ip protocol rule id permit source IP rule{normal|special}{pe rmit|deny}{tcp|udp}sour ce{ wild>|any}destination p wild>|any}[operate] vrrp vrid number virtual-ip vrrp vrid number priority vrrp vrid number preempt-mode nat server global port [protocol]


发布评论