h3c企业路由器命令整理
下列命令是在hcl中摘抄出来的
MSR3620
用户视图命令:
文件操作 dir 显示存储介质上的文件和目录 pwd 显示当前工作目录 mkdir 创建一个新目录 rmdir 删除一个现有的目录 cd 改变当前目录 copy 复制一个文件 more 显示一个文件的内容 move 移动一个文件 rename 重命名一个文件或目录 delete 删除一个文件 undelete 恢复已删除的文件(在回收站中恢复一个文件) archive 归档配置 format 格式化一个存储介质 gunzip 解压文件 gzip 压缩文件 logfile 日志文件配置 mount 挂载一个存储介质 umount 卸载一个存储介质 tar 归档管理 客户端操作 tftp 打开一个TFTP连接 sftp 建立一个SFTP连接 ftp 打开一个FTP连接 ssh2 建立一个安全的shell客户端连接(虽然没有这个ssh命令只有ssh,ssh命令可以直接使用,属于隐藏命令) telnet 建立一个telnet连接 scp 建立一个SCP连接 系统操作 backup 备份操作 boot-loader 软件镜像文件管理 bootrom 更新/读取/备份/恢复 bootrom bootrom-access Bootrom访问控制 clock 指定系统时间 firmware 固件管理 install 执行软件包管理操作 local-guest 管理访客用户 monitor 系统监控 power-supply 指定供电配置信息 quit 退出当前命令视图 system-view 进入系统视图 tclquit 退出TCL shell tclsh 进入TCL shell xml 进入XML视图 process 进程管理 reboot 重启操作 refresh 做软复位 repeat 重复执行历史命令 reset 重置操作 restore 恢复操作 save 保存当前配置 scheduler 调度器配置 screen-length 多屏幕输出功能 startup 指定系统启动参数 super 切换到一个用户角色 undo 取消当前设置 修复测试 exception 异常信息配置 diagnostic-logfile 诊断日志文件配置 fixdisk 检查和修复一个存储介质 md5sum 使用MD5算法计算一个文件的哈希值 sha256sum 使用SHA256算法计算一个文件的哈希值 ping Ping功能 tracert Tracert功能 security-logfile 安全日志文件配置 网络配置 arp 地址解析协议(ARP)模块 debugging 启用系统调试功能 dialer 指定按需拨号路由(DDR)配置信息 display 显示当前系统信息 dp-switchover DP切换操作 free 释放一条线路 ip 指定IP配置 l2vpn 二层虚拟专用网络(L2VPN)模块 lock 锁定当前线路 loopback-test 配置回环测试设置 mpls 多协议标签交换(MPLS)模块 oam 配置OAM参数 oap 开放式应用平台模块 packet-capture 抓包模块 send 向其他线路发送信息 terminal 设置终端线路特征 别名配置 erase "delete"的别名 exit "quit"的别名 no "undo "的别名 show "display "的别名 write "save "的别名 高级扩展功能 python 使用python脚本的源代码
系统视图命令:
[H3C]? System view commands: aaa AAA配置 access-list 'access'的别名 acl 指定ACL配置信息 alias 配置一个命令的别名 apn-profile 指定接入点参数配置文件 app-group 指定一个应用组 apply 应用一个PoE配置文件 archive 归档参数 arp 地址解析协议(ARP)模块 aspf 高级状态包过滤(ASPF)模块 attack-defense 配置攻击防御功能 autodeploy 自动配置 bandwidth-based-sharing 指定基于带宽的负载分担模式 bfd 双向转发检测(BFD)模块 bgp 边界网关协议(BGP)模块 blacklist 配置黑名单功能 bmp BGP监控协议模块 card-mode 设置卡模式 chassis 配置一个chassis client-verify 配置客户端验证功能 clock 指定系统时钟 cloud 云管理模块 cmtunnel 云管理隧道功能 configuration 配置文件操作参数 connection-limit 连接限制模块 control-plane 控制平面 controller 指定控制器配置视图 copyright-info 版权信息配置 cwmp CPE广域网管理协议(CWMP)模块 dcn 启用数据通信网络功能 ddns 动态域名系统(DDNS)模块 delete 删除功能 dhcp DHCP模块 diagnostic-logfile 诊断日志文件配置 dialer 指定按需拨号路由(DDR)配置 信息 dialer-group 创建一个dialer-group规则 display 显示当前系统信息 dns 域名系统(DNS)模块 domain ISP域名配置 dot1x 802.1X模块 end 'return'的别名 erase "删除 "的别名 evi 以太网虚拟互连模块 evi-isis EVI IS-IS设置 exit "quit "的别名 explicit-path 配置一个明确的路径 file 文件系统配置 fips 联邦信息处理标准(FIPS)140-2模块 flow-interval 设置接口统计的时间间隔 flow-monitor 流量监控模块 forwarding 流量分类转发数据包 fr 指定FR配置信息 ftp FTP配置信息 gdoi 解释组域模块 global-address-family 指定一个地址族 gratuitous-arp-learning 指定Graduitous ARP学习功能 gratuitous-arp-sending 指定在收到不同子网ARP数据包时发送gratuitous-arp数据包 hardware-resource 指定硬件资源工作模式配置信息 header 指定登录标语 hostname 'sysname'的别名 hotkey 指定一个命令的热键 http-redirect HTTP重定向功能 hwtacacs HW终端访问控制器访问控制系统(HWTACACS)模块 igmp 互联网组管理协议模块 igmp-snooping 互联网组管理协议snooping模块 ike 互联网密钥交换模块 ikev2 互联网密钥交换版本2(IKEv2)模块 info-center 信息中心模块 interface 接口配置 ip 指定IP配置 ipsec IP安全模块 ipv6 指定IPv6配置 irf 指定IRF配置信息 irf-port IRF端口 isis IS-IS模块 ita 智能目标会计配置 keychain 配置一个钥匙链 l2tp 第二层隧道协议模块 l2tp-group 配置一个 L2TP 组 l2vpn 第二层虚拟专用网络(L2VPN)模块 l3vpn 第三层虚拟专用网络(L3VPN)模块 lacp 配置LACP协议 ldap 指定LDAP配置信息 license 许可证管理 line 配置线路 link-aggregation 指定链路聚合组配置信息 lldp 链接层发现协议(802.1ab) local-guest 管理访客用户 local-user 配置一个本地用户 local-user-export 导出本地用户账户 local-user-import 导入本地用户账户 lock 锁定当前线路 logfile 日志文件配置 logging "info-center "的别名 loopback-detection 环回检测模块 loopback-test 配置回环测试设置 mac-address 配置MAC地址 mac-authentication MAC认证模块 mac-list 配置MAC地址列表 memory-threshold 设置内存阈值 mirroring-group 指定镜像组 mld Multicast Listener Discovery Protocol模块 mld-snooping Multicast Listener Discovery snooping module modem 指定调制解调器特性 monitor 系统监视器 mpls 多协议标签交换(MPLS)模块 msdp 多播源发现协议(MSDP)模块 mtr-policy 配置一个MTR策略 multicast 多播模块 multicast-domain 多播域(MD)模块 nat 网络地址转换器(NAT)模块 netconf 网络配置协议(NETCONF)配置 no "undo "的别名 nqa NQA模块 ntp-service 网络时间协议(NTP)模块 nvgre 使用通用路由封装的网络虚拟化模块 oam 配置OAM参数 oap 开放应用平台(OAP)模块 object-group 配置一个对象组 object-policy 指定对象策略配置信息 openflow OpenFlow模块 ospf 开放最短路径优先(OSPF)模块 ospfv3 开放最短路径优先版本3(OSPFv3)模块 packet-filter 数据包过滤器设置 password-control 密码控制功能 password-recovery 密码恢复功能 pim 协议独立组播(PIM)模块 ping Ping function pki 公钥基础设施(PKI)模块 poe 以太网供电 poe-profile PoE配置文件 policy-based-route 指定一个基于策略的路由 port-mapping 配置端口映射 port-security 端口安全模块 portal 门户认证模块 posa 销售点接入模块 ppp 点对点协议模块 pppoe-server 以太网PPP服务器模块 probe 探针模块 public-key 公钥命令 pw-class 配置一个伪线类别 qinq 802.1QinQ功能 qos 服务质量模块 quit 退出当前命令视图 radius 远程认证拨入用户服务(RADIUS)模块 radius-server RADIUS服务器功能 repeat 重复执行历史命令 reserved 为协议保留的VXLAN reset 重置操作 restful RESTful模块 return 退出到用户视图 rib 路线信息库(RIB)命令 rip 路由信息协议(RIP)命令 ripng 路由信息协议下一代(RIPng)命令 rmon RMON模块 role 指定用户角色配置信息 route-policy 指定一个路由策略 router 配置路由器信息 rsvp 启用资源保留协议(RSVP)。 rta 配置远程终端访问模块 rtm 实时管理(RTM)模块 sampler 配置一个采样器 save 保存当前配置 scheduler 调度器 配置 scp 指定SCP服务属性 security-logfile 安全日志文件配置 security-zone 配置一个安全区域 service 增强的动态服务网关设置 session 会话管理模块 sflow sFlow功能 sftp 指定SFTP服务属性 show "display "的别名 shutdown-interval 关机检测 snmp 配置SNMP MIB snmp-agent 指定简单网络管理协议(SNMP)配置信息 sntp 简单网络时间协议(SNTP)模块 ssh 安全壳模块 ssh2 安全壳模块2.0版 ssl 安全套接字层(SSL)模块 standby 指定待机配置信息 static-cr-lsp 配置一个静态CRLSP static-lsp 配置一个静态LSP static-sr-mpls 使用MPLS的静态分段路由 stp 生成树协议模块 super 用户角色切换配置 sysname 指定主机名 system-working-mode 系统工作模式 tcp 指定TCP(传输控制协议)配置信息 telnet 指定telnet配置信息 temperature-limit 设置温度报警阈值 tftp TFTP配置 tftp-server 指定可以访问哪些TFTP服务器 time-range 指定时间范围配置信息 trace 用户跟踪模块 tracert Tracert功能 track 追踪模块 traffic 指定流量配置信息 tunnel 配置隧道 tunnel-policy 配置一个隧道策略 udp-helper UDP辅助功能 undo 取消当前设置 usb 通用串行总线(USB)接口管理 user-group 指定用户组配置信息 user-interface 配置线路 vam VPN地址管理模块 vlan VLAN模块 vlan-group 配置一个VLAN组 vrrp 虚拟路由器冗余协(VRRP)模块 vsi 配置一个虚拟交换机实例(VSI vxlan 虚拟可扩展局域网模块 vxlan-isis 配置VXLAN IS-IS write "保存 "的别名 xconnect-group 配置一个xconnect-group zone-pair 配置一个区域对 [H3C]
S5820v2与路由器比较
交换机区别路由器的命令 cfd Connectivity Fault Detection (CFD) module emulate-ping Emulate ping function fdisk Partition a storage medium free Release a connection(line) issu In-Service Software Upgrade module oam OAM module web Web configuration 没有的命令 oap Open application platform module power-supply Specify power supply configuration information loopback-test Configure loopback test settings firmware Firmware management dialer Specify Dial-on-Demand Routing(DDR) configuration information
【h3c】 系统视图
buffer Buffer management function burst-mode Specify the burst function cfd Connectivity Fault Detection (CFD) module cut-through Specify the cut-through switching function, which starts forwarding a packet before the whole packet has been received dldp DLDP module easy-irf Easy IRF feature ecmp Equal-cost multi-path (ECMP) emulate-ping Emulate ping function erps Ethernet Ring Protection Switching(ERPS) module evb Edge Virtual Bridging (EVB) module fan Fan configuration flex10 Configure Flex10 irf-port-configuration Specify IRF port configuration information issu In-Service Software Upgrade module mac-vlan MAC VLAN configuration mad Multi-active detection information maintain Maintain feature max-ecmp-num Specify maximum ECMP number configuration monitor-link Monitor Link module mtr-policy Configure an MTR policy ptp Precision Time Protocol module qcn Quantized Congestion Notification (QCN) module multicast-vlan Multicast VLAN module mvrp Multiple VLAN registration protocol pex Port Extender module pex-port Configure a port-extender port placement Program placement configuration port-isolate Port isolation configuration rrpp Rapid Ring Protection Protocol(RRPP) module service-loopback Service loop back group smart-link Smart Link module spbm Enable SPBM globally storm-constrain Port storm control trill TRansparent Interconnection of Lots of Links (TRILL) module user-profile Specify a user profile voice-vlan Voice VLAN configuration web Web configuration webui Web user interface configuration 没有 apn-profile Specify access point parameter profile app-group Specify an application group apply Apply a PoE profile aspf Advanced Stateful Packet Filter(ASPF) module autodeploy Automatic configuration bandwidth-based-sharing Specify the bandwidth-based load-sharing mode blacklist Configure the blacklist function card-mode Set the card mode chassis Configure a chassis client-verify Configure the client verification function connection-limit Connection limit module controller Specify controller configuration view dialer Specify Dial-on-Demand Routing(DDR) configuration information dialer-group Create a dialer-group rule evi Ethernet Virtual Interconnect module evi-isis EVI IS-IS settings flow-monitor Flow monitor module forwarding Flow classification forward packets fr Specify FR configuration information gdoi Group Domain of Interpretation module global-address-family Specify an address family l2tp Layer 2 Tunneling Protocol module l2tp-group Configure an L2TP group loopback-test Configure loopback test settings modem Specify the modem characteristics nat Network Address Translator (NAT) module nvgre Network Virtualization using Generic Routing Encapsulation module oap Open Application Platform (OAP) module object-group Configure an object group object-policy Specify object policy configuration information poe Power over Ethernet poe-profile PoE profile port-mapping Configure port mapping posa Point Of Sale Access module ppp Point-to-Point Protocol module pppoe-server PPP over Ethernet server module reserved Reserved a VXLAN for protocol rta Configure remote terminal access module sampler Configure a sampler security-zone Configure a security zone session Session management module standby Specify standby configuration information trace User trace module vam VPN Address Management module vxlan Virtual eXtensible LAN module vxlan-isis Configure VXLAN IS-IS zone-pair Configure a zone pair
F1060v3
brand BRAND information fdisk Partition a storage medium loadbalance Load Balancing module issu In-Service Software Upgrade module locator Locate devices web Web configuration 没有 arp Address Resolution Protocol (ARP) module dp-switchover DP switchover operation ip Specify IP configuration loopback-test Configure loopback test settings mpls Multiprotocol Label Switching (MPLS) module oap Open application platform module packet-capture Packet capture module power-supply Specify power supply configuration information aft Address Family Translation module anti-virus Antivirus module app-profile Create an application profile apr Specify nbar settings bootrom-update Bootrom update bridge Configure bridge instances burst-mode Specify the burst function cloud-management Cloud connection module collaboration-group Collaboration group module content-filtering Content filtering module context Manage a context customlog Custom log configuration cut-through Specify the cut-through switching function, which starts forwarding a packet before the whole packet has been received data-filter Data filter module dldp DLDP module domain Add domain or modify domain attributes easy-irf Easy IRF feature evb Edge Virtual Bridging (EVB) module file-filter File filtering module http Hypertext Transfer Protocol (HTTP) module inspect Deep inspect management configuration ip-mac IP-MAC module ips Intrusion Prevention System module irf-port-configuration Specify IRF port configuration information loadbalance Load Balancing module mad Multi-active detection information maintain Maintain feature monitor-link Monitor Link module mvrp Multiple VLAN registration protoco nbar Specify nbar settings parameter-profile Configure a parameter profile placement Program placement configuration port-isolate Port isolation configuration real-server Configure a real server redundancy Redundancy group feature reload Reload a response file security-policy Security policy module server-farm Configure a server farm service-chain Service-chain module service-loopback Service loop back group session-based Session-based traffic statistics collection smart-link Smart Link module sslvpn SSL VPN module sticky-group Configure a sticky group storm-constrain Port storm control switchto Switch to a context traffic-policy Enter the traffic policy view url-filter URL filtering module user-identity User identification module userlog User log module virtual-server Configure a virtual server web Web configuration webui Web user interface configuration whitelist Configure the whitelist function 没有 apn-profile Specify access point parameter profile apply Apply a PoE profile autodeploy Automatic configuration bandwidth-based-sharing Specify the bandwidth-based load-sharing mode bmp BGP Monitoring Protocol module card-mode Set the card mode chassis Configure a chassis cloud Cloud management module control-plane Control plane controller Specify controller configuration view evi Ethernet Virtual Interconnect module evi-isis EVI IS-IS settings explicit-path Configure an explicit path flow-interval Set the interface statistics interval flow-monitor Flow monitor module forwarding Flow classification forward packets fr Specify FR configuration information gdoi Group Domain of Interpretation module global-address-family Specify an address family hardware-resource Specify hardware resource working mode configuration information http-redirect HTTP redirect feature igmp-snooping Internet Group Management Protocol snooping module l3vpn Layer 3 Virtual Private Network (L3VPN) module loopback-test Configure loopback test settings mirroring-group Specify mirroring group mld-snooping Multicast Listener Discovery snooping module modem Specify the modem characteristics mpls Multiprotocol Label Switching (MPLS) module msdp Multicast Source Discovery Protocol (MSDP) module mtr-policy Configure an MTR policy multicast-domain Multicast Domain (MD) module nvgre Network Virtualization using Generic Routing Encapsulation module oap Open Application Platform (OAP) module packet-filter Packet filter settings poe Power over Ethernet poe-profile PoE profile posa Point Of Sale Access module pppoe-server PPP over Ethernet server module qinq 802.1QinQ function reserved Reserved a VXLAN for protocol rsvp Enable Resource Reservation Protocol (RSVP) rta Configure remote terminal access module sampler Configure a sampler service Enhanced Dynamic Service Gateway settings static-cr-lsp Configure a static CRLSP static-lsp Configure a static LSP static-sr-mpls Static segment routing with MPLS system-working-mode System working mode topology Create an LB topology entry that associates the ISP list or IP address range of a region with the virtual service IP addresses tunnel-policy Configure a tunnel policy vxlan-isis Configure VXLAN IS-IS
不知道你们有没有考虑过,为什么路由器交换机防火墙命令不同,是因为 目的决定用途,用途决定功能,功能决定代码,代码决定bin。反过讲,如果你愿意可以用任何设备干任何事情 ,你可以将路由器变成防火墙或防火墙变路由器。他们之间硬件差异不是主要原因。那为什么设备厂家还要生产那么多不同的设备,防火墙、IDS、IPS、堡垒机,网闸等等。原因有两个,1.买更多的设备挣更多的钱。2.核心竞争力