思科、华为、H3C主要命令对照表(三)路由部分

思科
华为
H3C
描述
路由部份:
 
 
 
ip route 0.0.0.0 0.0.0.0
ip route-static 0.0.0.0 0.0.0.0
ip route-static 0.0.0.0 0.0.0.0
配置默认路由
ip route 目标网段+掩码 下一跳
ip route-static 目标网段+掩码 下一跳
ip route-static 目标网段+掩码 下一跳
配置静态路由
show ip route
display ip routing-table
display ip routing-table
查看路由表
router rip /network 网段
rip /network 网段
rip /network 网段
启用rip、并宣告网段
router ospf
ospf enable
ospf enable
启用ospf
network ip 反码 area <area-id>
ospf enable area <area-id>
ospf enable area <area-id>
配置OSPF区域
no auto-summary
rip split-horizon
rip split-horizon
配置RIP V2水平分割
show ip protocol
display ip protocol
display ip protocol
查看路由协议
access-list 1-99 permit/deny IP
rule normal permit source IP
rule normal permit source IP
标准访问控制列表
access-list 100-199 permit/deny protocol source IP+ 反码 destination IP+反码 operator operan
rule {normal|special}{permit|deny}{tcp|udp}source {<ip wild>|any}destination <ip wild>|any}[operate]
rule {normal|special}{permit|deny}{tcp|udp}source {<ip wild>|any}destination <ip wild>|any}[operate]
扩展访问控制列表
standby group-number ip virtual-ip
vrrp vrid number virtual-ip
vrrp vrid number virtual-ip
配置HSRP
standby group-number priority
vrrp vrid number priority
vrrp vrid number priority 
配置HSRP优先级
standby group-number preempt
vrrp vrid number preempt-mode
vrrp vrid number preempt-mode
配置HSRP占先权
standby group-number track
配置端口跟踪
ip nat inside source static
nat server global <ip> [port] inside <ip> port [protocol]
nat server global <ip> [port] inside <ip> port [protocol]
配置静态地址转换

你可能感兴趣的:(职场,华为,h3c,休闲,思科,路由命令对照表)