重庆思庄Oracle、Redhat认证学习论坛

标题: 华为 disp curr 与disp this有什么区别? [打印本页]

作者: 郑全    时间: 2022-9-14 17:47
标题: 华为 disp curr 与disp this有什么区别?
两个命令都是显示配置信息,但有区别,
disp  curr 是显示所有配置,
disp this 是显示当前用户视图下的配置

如下:

[r2]disp current-configuration
[V200R003C00]
#
sysname r2
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
drop illegal-mac alarm
#
set cpu-usage threshold 80 restore 75
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-user admin service-type http
#
firewall zone Local
priority 15
#
interface GigabitEthernet0/0/0
ip address 2.2.2.254 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 3.3.3.2 255.255.255.0
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
ip route-static 1.1.1.0 255.255.255.0 GigabitEthernet0/0/1 3.3.3.1
#
user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return
[r2]


-------------------------------------------
[r2]disp this

[V200R003C00]
#
sysname r2
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
drop illegal-mac alarm
#
set cpu-usage threshold 80 restore 75
#
ip route-static 1.1.1.0 255.255.255.0 GigabitEthernet0/0/1 3.3.3.1
#
return
[r2]








欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2