思科

华为

H3C

描述

no

undo

undo

取消/关闭 当前设置

show

display

display

查看、显示

exit

quit

quit

退回上级

hostname

sysname

sysname

设置主机名

en, config terminal

system-view

system-view

进入全局模式

delete

delete

delete

删除文件

reload

reboot

reboot

重启

write

save

save

保存当前配置

username

local-user

local-user

创建用户

shutdown

shutdown

shutdown

禁止、关闭

show version

display version

display version

显示当前系统版本

show startup-config

display saved-configuration

display saved-configuration

查看已保存过的配置

show running-config

display current-configuration

display current-configuration

显示当前配置

no debug all

ctrl+d

ctrl+d

取消所有debug命令

erase startup-config

reset saved-configuration

reset saved-configuration

删除配置

end

return

return

退到用户视图

exit

logout

logout

登出

logging

info-center

info-center

指定信息中心配置信息

line

user-interface

user-interface

进入线路配置(用户接口)模式

start-config

saved-configuration

saved-configuration

启动配置

running-config

current-configuration

current-configuration

当前配置

host

ip host

ip host

host名字和ip地址对应

交换部份:

 

enable password

set authentication password simple

set authentication password simple

配置明文密码

interface type/number

port type/number

port type/number

进入接口

interface vlan 1

interface vlan 1

interface vlan 1

进入vlan配置vlan管理地址

interface rang

interface ethID to ID

interface ethID to ID

定议多个端口的组

enabl esecret

super password

super password

设置特权口令

duplex (half|full|auto)

duplex (half|full|auto)

duplex (half|full|auto)

配置接口状态

speed (10/100/1000)

speed (10/100/1000)

speed (10/100/1000)

配置端口速率

switchport mode trunk

port link-type trunk

port link-type trunk

配置trunk

vlan ID  /no vlan ID

vlan ID  /undo vlan ID

vlan ID  /undo vlan ID

添加、删除vlan

switchport access vlan ID

port vlan ID

port vlan ID

将端口接入vlan

show interface

display interface

display interface

查看接口

show vlan ID

display vlan ID

display vlan ID

查看vlan

encapsulation

link-protocol

link-protocol

封装协议

channel-group 1 mode on

port link-aggregation group 1

port link-aggregation group 1

链路聚合

ip routing

默认开启

默认开启

开启三层交换的路由功能

no switchport

不支持

不支持

开启接口三层功能

vtp domain

GVRP

GVRP

对跨以太网交换机的VLAN进行动态注册和删除

spanning-tree vlan ID root primary

 

 

stp配置根网桥

spanning-tree vlan ID priority

 

 

配置网桥优先级

show spanning-tree

 

 

查看STP配置

 

 

路由部份:

 

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命令对照表的更多相关文章

  1. network: 思科-华为光模块

    思科-华为光模块的分类比较   摘要:本文介绍:思科GLC-SX-MM,GLC-LH-SM光模块等产品参数与图片,华为光模块的型号与分类等知识. 光模块分类与介绍 一.思科厂家 1.多模光模块 型号: ...

  2. hg和git命令对照表

    hg和git命令对照表 来源 https://github.com/sympy/sympy/wiki/Git-hg-rosetta-stone Git hg rosetta stone   muxat ...

  3. 勒索病毒,华为/H3C三层交换机/路由器用ACL访问控制实现端口禁用

    前不久勒索病毒横行,很多人都纷纷中招,从公司到个人,损失相当惨重.有些公司在互联网入口上做了控制,但是这样并非完全,万一有人把中了毒的U盘插入网内设备上呢?那我们的内网中很有可能集体中招(打过相关补丁 ...

  4. 华为/H3C Syslog配置

    H3C交换机的设置举例1. 组网需求将系统的日志信息发送到 linux 日志主机:日志主机的IP 地址为1.2.0.1/16:信息级别高于等于 informational 的日志信息将会发送到日志主机 ...

  5. H3C命令调试debugging--用户视图

    <H3C>terminal debugging     //使用debugging必须使用的命令--打开调试信 息的屏幕输出开关 <H3C>display debugging  ...

  6. CVE-2017-17215 - 华为HG532命令注入漏洞分析

    前言 前面几天国外有个公司发布了该漏洞的详情.入手的二手 hg532 到货了,分析测试一下. 固件地址:https://ia601506.us.archive.org/22/items/RouterH ...

  7. 华为ENSP命令大全

    实验命令___ENSP   一. 生成树STP 注:桥优先级取值越小,则优先级越高,通过配置优先级(开销值cost)可控制根桥选举.当根桥发生故障则会选举新的根桥,当故障恢复根桥重新选举.通过设置端口 ...

  8. 网络 华为 ensp 命令

    VLAN 端口有三种模式:access,hybrid,trunk. Access类型端口:只能属于1个VLAN,且该端口不打tag,一般用于连接计算机端口: Trunk类型端口:可以允许多个VLAN通 ...

  9. H3C 命令行编辑功能

随机推荐

  1. Anaconda中常用的用法

    Anaconda中常用的用法 conda 是开源包(packages)和虚拟环境(environment)的管理系统. packages 管理: 可以使用 conda 来安装.更新 .卸载工具包 ,并 ...

  2. SPOJ - PGCD Primes in GCD Table(莫比乌斯反演)

    http://www.spoj.com/problems/PGCD/en/ 题意: 给出a,b区间,求该区间内满足gcd(x,y)=质数的个数. 思路: 设f(n)为 gcd(x,y)=p的个数,那么 ...

  3. 查看nginx版本和安装的模块

    查看nginx版本 # nginx -v nginx version: nginx/1.12.2 查看nginx配置了哪些模块 # nginx -V nginx version: nginx/1.12 ...

  4. Proxy(代理)

    意图: 为其他对象提供一种代理以控制对这个对象的访问. 适用性: 在需要用比较通用和复杂的对象指针代替简单的指针的时候,使用Proxy模式.下面是一 些可以使用Proxy 模式常见情况: 1) 远程代 ...

  5. Java之试题

    1.面向对象编程的三大特性是什么? 2.String 和StringBuffer的区别 3.说出ArrayList,Vector, LinkedList的存储性能和特性 4.Collection 和 ...

  6. Django配置让其他电脑访问网站(包括:修改IP和端口)

    http://blog.sina.com.cn/s/blog_9c5364110101fyk7.html

  7. 用pycharm提交代码,冲突之后文件丢失找回方法

    1: 更新代码时, 监测到本地代码改变,需要和合并,重启之后才可以, 选择No同时,代码会被冲掉,新增加的文件也会被冲掉, 但是pycharm有一个文件历史记忆,找到之后可以找到丢失的文件. 1: 选 ...

  8. vsftpd日志配置及查看——可以将vsftpd记录在系统日志里

    vsftpd日志配置及查看 vsftpd ftp服务器的日志设置,可以通过修改主配置文件/etc/vsftpd.conf实现.主配置文件中与日志设置有关的选项包括xferlog_enable .xfe ...

  9. 趣谈StateServer在Web Garden,Web Farm下的使用

    上一篇翻译的博客[译文]漫谈ASP.NET中的Session已经介绍了Session的基础知识,如果看过了的话对Session应该有了一个比较清晰的认识了,现在我来谈谈我所遇到的困境以及对Sessio ...

  10. python中多进程

    多进程 什么是进程 进程:正在进行的一个过程或者说一个任务,而负责执行任务的是CPU. 进程和程序的区别 程序仅仅是一堆代码而已,而进程指的是程序的运行过程. 举例 想象以为有着一手好厨艺的科学家肖亚 ...