思科

华为

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. kylin构建cube优化

    前言 下面通过对kylin构建cube流程的分析来介绍cube优化思路. 创建hive中间表 kylin会在cube构建的第一步先构建一张hive的中间表,该表关联了所有的事实表和维度表,也就是一张宽 ...

  2. IPv4数据报格式

    网络层的分组为数据报,数据报为首部和数据两部分组成,如下图所示. 首部的长度是以4个字节为单位,长度可以是20-60字节,这跟首部的HLEN字段有关. 版本: 这个4位字段定义了IP协议的版本,目前主 ...

  3. Java回顾之多线程同步

    在这篇文章里,我们关注线程同步的话题.这是比多线程更复杂,稍不留意,我们就会“掉到坑里”,而且和单线程程序不同,多线程的错误是否每次都出现,也是不固定的,这给调试也带来了很大的挑战. 在这篇文章里,我 ...

  4. UVA-11082 Matrix Decompressing (网络流建模)

    题目大意:给出一个由1到20组成的整数矩阵的每一行和每一列的和,构造这个矩阵.输出任意一个构造方案. 题目分析:将每一行视作一个点x,将每一列视作一个点y.对于矩阵中的每一个格子,都对应一个二元关系& ...

  5. IEnumerable<T> 接口和GetEnumerator 详解

    IEnumerable<T> 接口 .NET Framework 4.6 and 4.5   公开枚举数,该枚举数支持在指定类型的集合上进行简单迭代. 若要浏览此类型的.NET Frame ...

  6. Oracle管道函数(Pipelined Table Function)实现的实例

    1. 简单的例子(返回单列的表) 1>创建一个表类型 create or replace type t_table is table of number; 2>创建函数返回上面定义的类型 ...

  7. java垃圾回收期如何工作(编程思想)

    垃圾回收器如何工作: 在以前的程序语言中,在堆上分配对象的代价十分昂贵,因此读者会自然觉得对Java中所有对象(基本类型除外)都在堆上分配的方式也非常高昂.然而,垃圾回收期对提高对象的创建速度,却具有 ...

  8. Tomcat : IOException while loading persisted sessions: java.io.EOFException

    严重: IOException while loading persisted sessions: java.io.EOFException严重: Exception loading sessions ...

  9. 新书《Cocos2dx 3.x 3D图形学渲染技术讲解》问世

    笔者介绍:姜雪伟,IT公司技术合伙人,IT高级讲师,CSDN社区专家,特邀编辑,畅销书作者,已出版书籍:<手把手教你架构3D游戏引擎>电子工业出版社和<Unity3D实战核心技术详解 ...

  10. 阿里历年经典Java面试题汇总

    Volatile的特征: A.禁止指令重排(有例外) B.可见性 Volatile的内存语义: 当写一个volatile变量时,JMM会把线程对应的本地内存中的共享变量值刷新到主内存. 当读一个vol ...