CISCO与H3C命令行对比

合集下载

Cisco与HC命令对比

Cisco与HC命令对比
添加/删除VLAN
vlan ID / no vlan ID
vlan ID / undo vlan ID
查看端口
show interface
display interface
查看vlan
show vlan id
display vlan id
链路聚合
channel-group 1 mode on
port link-aggregation group 1
开启三层交换的路由功能
ip routing
默认开启
开启接口三层功能
no switchport
不支持
跨交换机的vlan动态注册
vtp domain
GVRP
stp配置根网桥
spanning-tree vlan ID root primary
配置网桥优先级
spanning-tree vlan ID root priority
cisco与H3C命令对比
命令的作用
思科路由器命令
华为路由器命令
显示当前配置
showrun
disp current
显示已保存的配置
show start
disp saved
显示版本
show version
disp version
显示路由器板块信息
show diag
display device
显示全面的信息
show tech-support
disp base-information
显示接口信息
show interface
disp interface
显示路由表
show ip route
display ip routing

H3C与cisco交换机配置命令对比

H3C与cisco交换机配置命令对比
<H3C>display interface Ethernet 1/0/1
配置主机名
全局配置模式
Ruijie(config)#hostname sw1
系统视图
[H3C]sysname sw1
配置特权(或高级别用户)密码
Ruijie(config)#enable password 123
[H3C]super password 123
关闭接口
Ruijie(config-if)#shutdown
[H3C-Ethernet1/0/1]shutdown
开启接口
Ruijie(config-if)#no shutdown
[H3C-Ethernet1/0/1]undo shutdown
ቤተ መጻሕፍቲ ባይዱ配置接口(VLAN)的IP地址和子网掩码
Ruijie(config-if-VLAN 1)#ip address 192.168.1.1 255.255.255.0
[H3C-Vlan-interface1]ip address 192.168.1.1 255.255.255.0
设置VLAN名称
Ruijie(config-vlan)#name vlan10
[H3C-vlan10]name vlan10
将一个Access接口指派给一个VLAN
Ruijie(config-if-FastEthernet 0/1)#switchport access vlan 10
进入使用vty线路登录的配置模式
Ruijie(config)#line vty 0 4
[H3C]user-interface vty 0 4
接口注释描述
具体配置模式
Ruijie(config-if)#description PC1

华为思科华三基本命令对比

华为思科华三基本命令对比
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)
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
华为/思科/华三基本命令对比
很多朋友反映,对华为/思科/华三交换机配置命令有些分不清楚,那么今天和大家来看下他们的区别在哪里,这里对命令做了个汇总,平时对命令不熟的朋友这次可以看下。
CISCO
H3C
HUAWEI
描述
no
undo
undo
取消、关闭当前设置
show
display
display
显示查看
exit
line
user-interface
user-interface
进入线路配置(用户接口)模式
start-config
saved-configuration
saved-configuration
启动配置
running-config
current-configuration

Cisco_H3C命令对照

Cisco_H3C命令对照

nat address-group 公网起始 IP
(5)实现地址转换 (config)#ip nat inside source list 列表号 pool 地址池名
port link-type trunk|access|hybrid
onitor session 1 destination int [ mirroring-group group-id ] mirroring-port 接口 { both | inbound | outbound }
link-protocol ppp 主认证方 local-user 用户名 password {simple|cipher}密 码 interface 串口接口 被认证方 interface 串口接口 ppp pap local-user 用户名 password {simple|cipher}密码
(config-if)#ppp authentication ppp authentication-mode chap (config-if)#ppp chap hostname 服 ppp chap user 自己主机名 务器主机名 被认证方 (config)#username 服务器主机名 password 密码 (config)#int 串口接口 (config-if)#ppp chap hostname 客 户端主机名 静态 nat (1)为内外部接口配 IP 并激活; (2)在接口上启用 NAT; 内部接口:ip nat inside 外部接口:ip nat outside (3)建立静态地址转换 (config)#ip nat inside source static 私有 IP 动态 NAT 公网 IP (1) pool 1 (2)定义内网允许访问外网的 ACL acl 列表号 rule permit source 源 IP 反向掩 码 rule deny source any (3)实现地址转换 公 int 公网接口 nat outbound 列表号 address-group pool 建立地址池 公网终止 IP interface 接口 nat server global <ip> [port] inside <ip> port [protocol] 被认证方 interface 串口接口 local-user 对方主机名 password {simple|cipher}密码 ppp chap user 自己主机名

H3C和CISCO交换机常用命令及对比

H3C和CISCO交换机常用命令及对比

H3C和CISCO交换机常用命令及对比1.查看所有配置命令:思科show run ,华三disp cu2.查看所有接口状态:思科 show ip inter brief ,华三 display interfaces3.查看所有vlan的信息:思科 show vlan brief ,华三 display vlan all4.查看版本信息: 思科 show version ,华三 display version5.查看CPU使用信息:思科 show process ,华三 disp cpu6.查看内存使用信息:思科 show memory ,华三 disp memory7.思科交换机进入特权用户模式: enable ,进入全局配置模式: config terminal8.华三交换机进入超级用户模式: super ,进入系统视图模式: system-view9.交换机建立vlan:思科 vlan X ,华三 vlan X10.交换机删除vlan:思科 no vlan X ,华三 undo vlan X11.进入交换机端口进行配置:思科华三: interface FastEthernet 1/0/112.交换机设置指定端口为access模式:思科 switchport mode access , 华三 port link-type access13.交换机设置指定端口为trunk模式:思科 switchport mode trunk , 华三 port link-type trunk14.分配端口到指定vlan:思科 switchport access vlan X ,华三 port access vlan X15.交换机中继端口允许通过制定vlan:思科 switchport trunk allowed vlan X,华三 port trunk permit vlan X16.交换机保存配置:思科 wr ,华三 save ,PIX525防火墙 write memory17.在华三交换机端口上起认证: dot1x ,取消认证: undo dot1x18.交换机配置清空:思科在超级用户模式下erase startup-config,华三在用户视图下reset saved-configuration。

Cisco与H3C 命令对比

Cisco与H3C 命令对比
删除整个配置文件
erase
delete
保存配置文件
write
save
设置路由器名字
hostname
sysname
创建新用户
username
local-user
设置特权密码
enable secret
super password
设置明文密码
enable password
set authentication password simple
ctrl+d
交换部分
进入接口
interface type/number
port type/number
配置管理vlan地址
interface vlan 1
interface vlan 1
定义多个端口组
interface rang
interface ethID to ID
配置接口状态
duplex(half|full|auto)
line vty 0 4
user-interface vty 0 4
设备VTY登陆密码
password
set authentication password
清除统计信息/复位进程
clear
reset
重启路由器
reload
reboot
进入中文状态
\
lang chinese
host与ip名字对应
host
进入端口设备模式
interface端口
interface端口
设置端口封装模式
encapslution
link-protocl
设置E1端口非成帧模式
unframed

思科和H3C常用配置详细对比

思科和H3C常用配置详细对比

cisco与华为命令比较功能Cisco命令华为命令进入全局模式#configure terminal <Quidway>system显示当前配置show running-config display current-configuration 显示版本信息show version display version显示vlan信息show vlan display vlan显示接口信息show interface接口display interface接口交换机路由器命名hostname主机名sysname主机名修改特权密码enable password密码(明文)enable secret密码(密文)super password密码进入接口模式interface接口interface接口进入vlan模式interface vlan vlan号interface vlan vlan号给接口配IP ip address <ip> <掩码> ip address <ip> <掩码>配telnet密码line vty 0 4password密码login user-interface vty 0 4authentication-mode passwordset authentication-mode password simple密码user privilege level 3激活端口no shutdown undo shutdown 关闭端口shutdown shutdown退出exit quit创建VLAN vlan vlan号vlan vlan号VLAN中增加端口port e0/1port e0/2 to e0/4当前端口加入到VLAN switchport access vlan vlan号port access vlan vlan号设置端口工switchport mode port link-type作模式trunk|access|dynamic trunk|access|hybrid设trunk允许的VLAN switchport trunk allowed vlanremove|add IDport trunk permit vlan ID|All指定镜像端口monitor session 1 destinationint接口monitor-port接口指定被镜像端口monitor session 1 source int接口 bothport mirror接口设置生成树启动与否spanning-tree vlan vlan号(默认开启)stp enable|disable(默认关闭)端口的聚合 interface range f0/1 – 4channel-group 1 mode on link-aggregation e0/1 to e0/4 ingress|bothundo link-aggregation e0/1|all设置主vlan isolate-user-vlan enable设置主vlan 包括的子vlan isolate-user-vlan<x> secondary <vlan-list>显示路由信息show ip route display ip route 绑定HDLC协议默认就是link-protocol hdlc设静态路由 ip route网络号掩码下一跳IP/接口ip route-static网络号掩码下一跳IP/接口启用RIP路由router rip riprip workrip inputrip output配置路由器的ID int loopback 0ip add IP地址掩码router id A.B.C.D启动OSPF协议router ospf进程号ospf enable配置OSPF区域net网络号反向掩码 area<area_id>int接口ospf enable area <area_id>标准ACL命令格式access-list列表号permit|deny源IP反向掩码acl <acl-number> [match-orderconfig|auto]rule[normal|special]{permit|deny}[source source-addrsource-wildcard|any]扩展ACL配置access-list列表号permit|deny协议源IP反向掩码目的IP反向掩码 eq端口号acl <acl-number> [match-orderconfig|auto]rule{normal|special}{permit|deny}{tcp|udp}source {<ipwild>|any}destination <ipwild>|any} eq服务名PPP设置encapsulation ppp link-protocol pppPap认证主认证方(config)#username用户名password密码(config)#int串口接口(config-if)#pppauthentication pap被认证方(config)#int串口接口(config-if)#ppp papsent-username用户名password密码主认证方local-user用户名password {simple|cipher}密码interface串口接口ppp authentication-mode pap被认证方interface串口接口ppp pap local-user用户名password {simple|cipher}密码Chap认证主认证方(config)#username客户端主机名 password密码主认证方local-user对方主机名password {simple|cipher}密码(config)#int 串口接口 (config-if)#ppp authentication(config-if)#ppp chap hostname服务器主机名 被认证方(config)#username 服务器主机名 password 密码 (config)#int 串口接口(config-if)#ppp chap hostname客户端主机名interface 串口接口ppp authentication-mode chapppp chap user 自己主机名被认证方 interface 串口接口local-user 对方主机名 password {simple|cipher}密码 ppp chap user 自己主机名静态nat (1)为内外部接口配IP 并激活; (2)在接口上启用NAT ; 内部接口:ip nat inside 外部接口:ip nat outside (3)建立静态地址转换(config)#ip nat inside sourcestatic 私有IP 公网IPinterface 接口nat server global <ip> [port] inside <ip> port [protocol]动态NAT (1)为内外部接口配IP 并激活; (2)在接口上启用NAT ; 内部接口:ip nat inside外部接口:ip nat outside(3)定义内网允许访问外网的ACL(config)#access-list 列表号 permit 源IP 反向掩码(1) 建立地址池nat address-group 公网起始IP 公网终止IP pool 1 (2)定义内网允许访问外网的ACLacl 列表号rule permit source 源IP 反向掩码 rule deny sourceany (3)实现地址转换(4)定义合法IP 地址池 (config)#ip nat pool 地址池名 公网起始IP 公网终止IP netmask 掩码(5)实现地址转换(config)#ip nat inside sourcelist 列表号 pool 地址池名int 公网接口nat outbound 列表号address-group pool 1调试命令 思科:Switch#show run 显示所有配置命令Switch#show ip inter brief 显示所有接口状态 Switch#show vlan brief 显示所有VLAN 的信息 Switch#show version 显示版本信息 华为:[Quidway]dis cur 显示所有配置命令[Quidway]display interfaces 显示所有接口状态 [Quidway]display vlan all 显示所有VLAN 的信息[Quidway]display version 显示版本信息 二、接口配置命令思科:Switch(config)#interface f0/8 进入接口视图 Switch(config-if)#no shut 此命令开启接口Switch(config-if)#description to server01 端口描述Switch(config-if)#ip add 192.168.1.100 255.255.255.0 设置接口IP 华为:[Quidway]interface e0/1 进入接口视图 [Quidway]undo shutdown 此命令开启接口[Quidway]description to server02 端口描述[Quidway]ip add 192.168.1.102 255.255.255.0 设置接口IP 三、VLAN 配置命令:思科:建立和删除VLANSwitch# vlan databaseSwitch(vlan)# vlan 20 name test20Switch(vlan)# no vlan 20Switch(vlan)# exit将端口分配给一个VLANSwitch(config)# interface f0/1Switch(config-if)# switchport mode accessSwitch(config-if)# switchport access vlan 20设置VLAN TRUNKSwitch(config)# interface f0/24Switch(config-if)# switchport mode trunkSwitch(config-if)#switchport trunk allow vlan {ID|All}Switch(config-if)# switchport trunk encapsulation dot1q华为:建立和删除VLAN[Quidway]vlan 30[Quidway]undo vlan 30将端口分配给一个VLAN[Quidway]int ethernet0/1[Quidway-Ethernet0/1]port access vlan 30( port default vlan 30)或[Quidway]vlan 30[Quidway-vlan3]port ethernet 0/1 在VLAN中增加端口[Quidway-vlan3]port ethernet 0/1 to ethernet 0/4 在VLAN中增加多个连续端口设置VLAN TRUNK[Quidway]int e0/24[Quidway-Ethernet0/24] port link-type trunk[Quidway-Ethernet0/24]port trunk permit vlan {ID|All}四、端口镜像配置思科:配置镜像源端口Switch(config)#monitor session 1 source interface gigabitEthernet 0/2 –5 rx上面命令最后一个参数:both 监听双向数据,默认为bothrx 接收tx 发送配置镜像目的端口Switch(config)#monitor session 1 destination interface gigabitEthernet 0/6删除镜像端口Switch(config)#no monitor session 1华为:将端口E0/2配置为监控端口[Quidway]monitor-port Ethernet 0/2端口E0/1配置为镜像端口[Quidway]port mirror Ethernet 0/1或者直接配置监控端口和镜像端口[Quidway]port mirror Ethernet 0/1 observing-port Ethernet 0/2删除镜像[Quidway]undo monitor-port五、冗余配置思科HSRP:Switch# interface Vlan20ip address 172.29.197.33 255.255.255.248standby 20 ip 172.29.197.53standby 20 priority 105 优先级standby 20 preempt 抢占standby 20 track GigabitEthernet0/25 decrement 10 跟踪端口如果DOWN 了优先级减10华为VRRP:[Quidway]interface Vlanif30ip address 172.29.197.9 255.255.255.248vrrp vrid 30 virtual-ip 172.29.141.11vrrp vrid 30 priority 150 优先级vrrp vrid 30 preempt-mode 抢占vrrp vrid 30 track interface GigabitEthernet0/0/18 reduced 60 跟踪端口如果DOWN了优先级减60六、设置安全远程访问思科设置vty安全访问:R1(config)# access-list 1 permit 192.168.2.5R1(config)# line vty 0 4R1(config)# access-class 1 in华为设置vty安全访问:[Quidway]acl number 2000rule 1 permit source 172.29.181.150 0rule 2 deny[Quidway]user-interface vty 0 4acl 2000 inbound七、NTP配置思科:Cisco6509#show clock 显示时间Cisco6509#clock set 14:00:00 30 Sep 2011 设置时间Cisco6509(config)#ntp server 202.198.0.102 设置与其他时间服务器同步Cisco6509(config)#clock timezone beijing +8 设置时区华为:[Quidway]dis clock 显示时间[Quidway]clock datetime 23:30:00 2011/11/16 设置时间[Quidway]ntp-service unicast-server 202.198.0.102 设置与其他时间服务器同步[Quidway]clock timezone E8 add 08:00:00 设置时区八、静态路由配置思科:ip route <目的网段> <目的网段掩码><下一跳>Cisco6509# ip route 0.0.0.0 0.0.0.0 10.65.1.2 静态路由Cisco6509#ip route 0.0.0.0 0.0.0.0 192.168.3.1 150 浮动静态路由管理距离为150华为:[Quidway] ip route-static 0.0.0.0 0.0.0.0 10.65.1.2[Quidway]ip route-static 0.0.0.0 0.0.0.0192.168.3.1 preference 150九、可网管配置思科:Switch(config)#snmp-server community sunion ro 配置本交换机的只读字串为sunionSwitch(config)#snmp-server community sunion rw 配置本交换机的读写字串为sunionSwitch(config)#snmp-server enable traps 允许交换机将所有类型SNMP Trap 发送出去Switch(config)#snmp-server host 192.168.190.1 traps sunion 指定交换机SNMP Trap的接收者为192.168.190.1,发送Trap时采用sunion作为字串华为:[Quidway]snmp-agent community read datanms 配置本交换机的只读字串为datanms[Quidway]snmp-agent community write datanms 配置本交换机的读写字串为datanms[Quidway]snmp-agent sys-info location BeiJing China 设置交换机的位置信息[Quidway]snmp-agent sys-info version all 设置交换机支持所有的SNMP协议版本[Quidway]snmp-agent target-host trap address udp-domain192.168.190.121 params securityname datanms 指定交换机SNMP Trap的接收者为192.168.190.121 ,发送Trap时采用datanms作为字串。

Cisco-H3C配置对比

Cisco-H3C配置对比

更新:2008/12/15設定内容を取り消すno undo 設定内容確認(但しCiscoは特権モードからのみ)show display 動作中のプロセス再起動clearresetrunning-configを表示show running-config display current-configuration startup-configを表示show startup-config display saved-configuration running-configを保存write memory savestartup-configを消去write erase delete </flash:filename>稼働中のOSのVersionを表示show versiondisplay versionconfig及びソフト、ハード両方の詳細情報を表示show tech-support display diagnostic-information enableconfigure terminal インターフェース設定モードへ移行interface <int_id>interface <int_id>telnet に関する設定line vty user-interface vty consoleに関する設定line console user-interface aux 0ホスト名設定hostnamesysname時刻の設定clock set <HH:MM:SS DD Month YYYY>clock datetime <HH:MM:SS><YYYY/MM/DD>タイムゾーンの設定clock timezone <name>clock timezone <name><add |minus><HH:MM:SS>同期するNTPサーバの指定ntp server <ip address>ntp-service unicast-server <ip address>CDP(CiscoDiscoveryProtocol)有効化cdp run-NTDP有効化-ntdp enable LLDP有効化lldp runlldp enableInfo-Center有効化-info-center enableSyslogサーバの指定logging {Hostname |ip address }出力するログのレベル選択logging trapSNMPエージェント有効化snmp-server enable snmp-agent trap enable SNMPコミュニティ名設定snmp-server communitysnmp-agent communitySNMPのプロトコルバージョン指定snmp-agent sys-info version all SNMPトラップ送信先の設定snmp-agent target-host デバッグ情報の表示debugdebuggingデバッグの停止no debug allundo debugging all インターフェース設定モードへ移行interface <int_id>interface <int_id>VLANインターフェースの作成interface <vlan_id>interface <vlan_id>Loopbackインターフェースの作成interface loopback <id>interface loopback <id>IPアドレスの付与ip address ip address インターフェースのshutdown shutdown shutdownインターフェースのupno shutdown undo shutdown インターフェースの説明文を追加descriptiondescriptionインターフェース情報参照(L2)show interface {<int_id>}display interface {<int_id>}インターフェース情報参照(L3)show ip interface {<int_id>}display ip interface {<int_id>}VLAN作成vlan <vlan_id>vlan <vlan_id>VLAN削除no vlan <vlan_id>undo vlan <vlan_id>物理ポートをアクセスポートとして設定switchport mode access port link-type access 物理ポートをトランクポートとして設定switchport mode trunkport link-type trunkトランク時のカプセル化方式選択※4-1switchport trunk encapsulation <dot1q |isl >-port access vlan <vlan_id>(I/F-View)port <int_id>(Vlan-View)トランクポートへVLANを追加switchport trunk allowed vlan <vlan_id>port trunk permit vlan <vlan_id>トランクポートへPVIDを設定※4-2switchport trunk native-vlan <vlan_id>port trunk pvid vlan <vlan_id>STPを有効化spanning-tree enablestp enable STPを無効化※5-1no spanning-tree vlan <vlan_id>undo stpSTPの動作モード選択※5-2spanning-tree mode {pvst|rapid-pvst|mst}stp mode {stp|rstp|mst}STPインスタンスのPriority設定spanning-tree mst <id>priority stp instance <id>priority STPリージョン情報設定モードへ移行spanning-tree mst configuration stp region-configuration リージョン名設定name region-name リヴィジョン番号設定revisionrevision-levelインスタンスへVLANをマッピングinstance <id>vlan <vlan_id>instance <id>vlan <vlan_id>MSTリージョン情報の設定を有効化-active region configuration STP情報の参照show spanning-treedisplay stpinfo-center loghost <ip address>snmp-server host {hostname}version <no.>H3C-Cisco コマンド対比表(Configuration Commands)switchport access vlan <vlan_id>アクセスポートへVLANを追加VLANカテゴリCisco全般目的Interface管理system-viewユーザモード→特権モードへの移行H3CSTP更新:2008/12/15channel-group <id>mode {active |passive }link-aggregation group <id>mode static channel-protocol lacp port link-aggregation group <id>link-aggregation group <id>mode manual port link-aggregation group <id>channel-group <id>mode {auto |desirable }channel-protocol pagp LAG情報の参照show etherchanneldisplay link-aggregationトラック対象のインターフェースを指定するtrack <id>interface <int_id>line-protocol vrrp vrid <group_id>track interface <int_id>{reduced <value>}VRRP有効化及びグループID、VIP設定vrrp <group_id>ip <ip-address>vrrp vrid <group_id>virtual-ip <ip-address>VRRPのPriority設定vrrp <group_id>priority <value>vrrp vrid <group_id>priority <value>切り戻り(preempt)の所要時間を指定する※7-1vrrp <group_id>preempt {delay minimum <sec>}vrrp vrid <group_id>preempt-mode timer delay トラック対象のインターフェースがダウンしたらdecremantで指定した数値だけVRRPのPriorityを下げる。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
reboot
reboot
重启动设备
user
Local-user
Local-user
新建用户
end
return
return
退回到系统试图
Ctrl+z
Ctrl+z
退回到系统视图
exit
quit
quit
返回上级视图
exit
quit
quit
退出telnet
Router rip
rip
启动rip
Router ospf
进入接口配置模式
Speed 1000
Speed 1000
Speed 1000
设置端口速度为千兆
Duplex full
Duplex full
Duplex full
设置端口为全双工
switchport mode access
port link-type access
设置端口类型为access
switchport accessvlan 1
Display current-configuration
显示当前配置
Show start
Disp saved-configuration
显示已保存的配置
show interface fastethernet 0/1
Disp th
Disp th
显示某个端口的配置
no
undo
undo
删除,取消
reload
ospf
启动ospf
Router bgp
bgp
启动bgp
hostname
sysname
设置主机名字
Access-list
Acl
访问控制列表
write
save
Save (必须系统视图)
保存配置
erase
delete
0
simple
明文
7
cipher
密文
host
Ip host
Host名字和IP地址对应
logging
port access vlan1
port default vlan1
设置端口VLAN
switchport modetrunk
port link-type trunk
设置端口类型为trunk
Switchporttrunk allowed vlan 1
port trunk permit vlan1
port trunk allow-pass vlan1
Terminal logging
日志信息
encapslution
Link-protocol
封装链路层协议
Show version
Disp version
显示版本
Show tech-support
Disp diagnostic-information
显示全面的信息
Ctrl+p
Ctrl+p
上一条命令
Ctrl+n
Undo summary
RIPv2关闭聚合路由
Inside
inbound
流量进入
outside
Outbound
流量流出
telnet server enable
开启telnet服务
http server enable
开启web服务
接口配置
Interface G0/1
Interface G1/0/1
Interface G1/0/1
设置trunk口允许通过的VLAN
Line vty 0 4
user-interface vty 0 15
远程登录验证方式
authentication-mode scheme
authentication-mode aaa
远程登录验证方式是用户名和密码登录
Interface rage g0/1-24
Port g1/0/1 to g1/0/24
Ctrl+n
下一条命令
Ctrl+g
Display cur
Ctrl+l
Disp ip routing-table
No debug all
Ctrl+o
取消所有debug命令
Show ip int brief
Display ip int brief
显示接口信息
No shutdown
Undo shutdown
CISCO
设置路由器名称Cisco:hostname名称;H3C:sysname名称。
进入特权模式Cisco:1、enable 2、config terminal
H3C:system-view(cisco要两步,H3C特权模式和用户模式只需一步)
CISCO
H3C
华为
注释
show
display
显示
Show run
开启端口
Show processes CPU
Display cpu-usage
查看CPU占用率
Show ip route
Display ip route
查看路由表
Show controllers接口
Display interface接口
查看口
Ping –a目的地址源地址
扩展PING
No auto-summary
相关文档
最新文档