华为路由器常用命令

本文详细介绍了华为路由器的各种命令,涵盖系统视图设置、安全控制、路由协议配置、接口管理、多层协议选项、用户权限、网络质量监控等多个方面,是华为路由器操作的全面指南。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

系列文章目录

第一讲 华为路由器命令

提示:写完文章后,目录可以自动生成,如何生成可参考右边的帮助文档


System view commands:
aaa aaa command group
aaa-authen-bypass Set remote authentication bypass
aaa-author-bypass Set remote authorization bypass
aaa-author-cmd-bypass Set remote command authorization bypass
access-user User access
acl Specify ACL configuration information
alarm Alarm
anti-attack Specify anti-attack configurations
application-apperceive Set application-apperceive information
arp arp command group
arp-miss arp-miss command group
arp-ping ARP-ping
arp-suppress Specify arp suppress configuration information,
default is disabled
as-notation The AS notation
authentication Authentication
autoconfig Auto-config
backup Backup information
bfd Specify BFD(Bidirectional Forwarding Detection)
configuration information
bgp Border Gateway Protocol(BGP)
bitschip Reset bits chip
bridge Bridge
capture-packet Capture-packet
ccc Circuit cross connection
clear clear command group
clock Clock
command-privilege Specify the command level
config System config
controller Specify controller configuration view
cpu-defend Configure CPU defend policy
cpu-defend-policy Apply CPU defend policy
cwmp CWMP View
ddns DDNS
dhcp dhcp command group
dhcpv6 dhcpv6 command group
dialer Dialer
dialer-rule Enter dialer-rule view
display Display information
dlsw dlsw command group
dns dns command group
dns-server-select-algorithm Configure algorithm of selecting dns server
domain Default domain
dot1x 802.1x configuration information
drop Discard attribute
drop-profile Drop profile
efm EFM module
error-diffusion Error-diffusion
error-down The interface was shut down because of an error
event
event Enter the event view
execute Batch Command
explicit-path Configure explicit path
fec-list FEC list
fib fib command group
file File system command word
firewall firewall command group
firewall-nat Firewall & NAT infomation
fr fr command group
ftp ftp command group
garp Generic Attribute Registration Protocol
gvrp Generic VLAN Registration Protocol
header Define the login banner
hotkey Specify hotkey configuration information
http http command group
hwtacacs Set the status of the HWTACACS(Huawei Terminal
Access Controller Access Control System) service
hwtacacs-server Set HWTACACS server
icmp icmp command group
icmp-reply Enable ICMP reply fast
igmp igmp command group
igmp-snooping Specify parameters for IGMP-Snooping
ike Specify IKE(Internet Key Exchange) configuration
information
info-center info-center command group
interface Specify the interface configuration view
ip ip command group
ipsec Specify IPSec(IP Security) configuration
information
ipv6 ipv6 command group
isdn Specify ISDN configuration information
isis Intermediate System to Intermediate System (ISIS)
routes
keychain Keychain authentication
l2-topology Layer 2 topology
l2tp Specify L2TP(Layer Two Tunneling Protocol)
configuration information
l2tp-group Specify L2TP(Layer Two Tunneling Protocol) group
configuration information
lacp Link aggregation control protocol
lldp Link Layer Discovery Protocol
load-balance Set load-balance arithmetic
loop-detect Loop detect
lspv Lsp verification
mac-address MAC address
mac-authen MAC authenticate configure information
matched Is Command can be matched by upper template
mld-snooping Specify parameters for MLD-Snooping
mpls mpls command group
msdp Specify MSDP(Multicast Source Discovery Protocol)
configuration information
mtrace Trace route to multicast source
multicast multicast command group
multicast-mib Specify multicast MIB configuration information
nat nat command group
netconf netconf command group
nqa Network Quality Analysis(NQA)
nqa-ftp-record Save NQA record to FTP server by FTP
nqa-jitter Switch NQA jitter version
nqa-server Specify NQA echo server
ntp-service Specify NTP(Network Time Protocol) configuration
information
oam-mgr Oam-mgr view
observe-port Specify observing port
observe-server Specify remote observing server
ospf Open Shortest Path First (OSPF)
ospfv3 ospfv3 command group
pim Specify PIM(Protocol Independent Multicast)
configuration information
ping ping command group
pki pki command group
policy-based-route Specify a policy for policy based routing
port-group Port-group
port-isolate Port isolate
port-mapping Specify PAM(Port to Application Mapping)
configuration information
portal portal command group
ppp Specify PPP(the Point-to-Point Protocol)
configuration information
pppoe PPPoE users
pppoe-server Specify PPPoE(PPP over Ethernet) server
configuration information
qos qos command group
quit Exit from current mode and enter prior mode
radius-server radius-server command group
refresh refresh command group
remove Remove
reset reset command group
return Enter the privileged mode
rip RIP (Routing Information Protocol)
ripng RIPng (Routing Information Protocol next generation)
rmon rmon command group
route Routing Module
route-policy Route-policy
route-policy-change Specify route policy change parameter
router Configure router information
rsa Specify RSA module configuration information
set set command group
sftp sftp command group
shutdown Shutdown
smart-policy-route Smart Policy Route
snmp-agent snmp-agent command group
ssh Specify SSH (secure shell) configuration information
ssl SSL
sslvpn sslvpn command group
standby Specify DCC(Dial-Control-Center) configuration
information
static-cr-lsp Static CR-LSP configuration
static-lsp Static LSP configuration
stelnet stelnet command group
stp Specify Spanning Tree Protocol (STP) configuration information
super Modify super password parameters
sysname Set the host name
tcp Specify TCP(Transmission Control Protocol) configuration information
telnet telnet command group
test-aaa Accounts test
test-packet Set the test packet
tftp Establish a TFTP connection
tftp-server TFTP Server
time-range Specify time-range configuration information
tracert tracert command group
traffic Specify traffic configuration information
trunk Trunk interface
trunk-member The member of trunk
ttl Time to live
tunnel Tunnel module
tunnel-policy Tunnel policy
tunnel-selector Tunnel-policy selector
udp-helper UDP Helper
undo Negate a command or set its defaults
user-bind User bind
user-group User group
user-interface Configure the user terminal interface
vlan Virtual LAN
voice-vlan Voice VLAN
vrrp vrrp command group
web-auth-server Portal authentication server
wlan WLAN
x25 x25 command group
x29 X.29 protocol

<think>好的,我现在需要处理用户关于华为路由器常用查看命令的查询。用户提到想查找相关的命令,特别是提到了“list”可能和访问控制列表有关。我需要结合提供的引用内容来回答。 首先,查看引用[1]和引用[2],发现引用[1]提到了华为查看配置命令,可能包含display current-configuration这样的命令。引用[2]提到了访问控制列表的配置命令,比如access-list,这可能和用户提到的“list”相关。 接下来,我需要整理常见的华为路由器查看命令。通常包括查看配置、接口状态、路由表、ARP表、日志和ACL等。例如,display current-configuration用于显示当前配置,display interface brief查看接口状态,display ip routing-table显示路由表,display arp查看ARP缓存,display acl all列出所有ACL,display logbuffer查看日志。这些命令应该能满足用户的基本需求。 然后,需要确认引用中的内容是否支持这些命令。引用[1]提到无线路由器是AP和路由器的结合,应用场景包括用户上网和无线覆盖,并给出了查看配置命令的示例。引用[2]具体提到了access-list命令用于配置ACL,可能和display acl all相关。因此,这些命令可以引用对应的来源。 用户可能还关心如何具体使用这些命令,比如查看运行状态或日志,所以需要分点说明每个命令的作用,并附上引用标注。此外,生成相关问题时,要考虑用户可能进一步询问命令的详细用法、配置示例或故障排除方法,比如如何查看接口详细状态或如何配置ACL规则。 最后,确保回答结构清晰,使用中文,并正确应用LaTeX格式。需要检查是否有遗漏的常用命令,比如display version查看版本信息,或者诊断相关的命令如ping和tracert。这些可能对用户也有帮助,但如果没有出现在引用中,可能不需要包括,除非确定属于常用查看命令。 总结回答应包括常用命令列表,每个命令的简要说明,并正确标注引用来源。同时生成的相关问题要引导用户深入了解更多细节或具体配置步骤。</think>### 华为路由器常用查看命令汇总 华为路由器提供丰富的命令行工具用于查看设备状态、配置信息和网络运行情况。以下为常用命令分类整理: #### 1. **查看基础配置** - **显示当前配置文件** ```bash display current-configuration ``` 此命令可查看路由器当前的完整配置,包括接口、路由协议、ACL等[^1]。 - **查看启动配置文件** ```bash display saved-configuration ``` #### 2. **查看接口与链路状态** - **查看接口简要状态** ```bash display interface brief ``` 输出包含接口名称、物理状态(UP/DOWN)、协议状态、IP地址等信息。 - **查看指定接口详情** ```bash display interface GigabitEthernet0/0/1 ``` #### 3. **查看路由与ARP信息** - **显示路由表** ```bash display ip routing-table ``` 可查看所有路由条目,包括直连、静态、动态路由(如OSPF、BGP)。 - **查看ARP缓存表** ```bash display arp ``` 列出IP地址与MAC地址的映射关系。 #### 4. **查看访问控制列表(ACL)** - **显示所有ACL规则** ```bash display acl all ``` 包括基本ACL(2000-2999)、高级ACL(3000-3999)的配置详情[^2]。 - **查看特定ACL** ```bash display acl 2001 ``` #### 5. **查看日志与诊断信息** - **显示系统日志** ```bash display logbuffer ``` 输出设备运行中的告警和事件记录。 - **查看CPU/内存利用率** ```bash display cpu-usage display memory-usage ``` #### 6. **其他实用命令** - **查看设备版本信息** ```bash display version ``` - **诊断网络连通性** ```bash ping 192.168.1.1 tracert 8.8.8.8 ``` --- ###
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值