取消 undo
显示 display
显示当前配置,在用户模式下与在特权模式下看到的内容是不一样的,密码在用户模式下面看不到
display current-configuration
system-view
[H3C] super password H3C ##设置密码为H3C
#配管理ip
[H3C] interface vlan-interface 1
[H3C] ip address 192.168.0.10 255.255.255.0
[H3C] ip gateway 192.168.0.1
##telnet
[H3C] user-interface vty 0
[H3C-vty0] set authentication password H3C
##snmp
[H3C]snmp-agent
[H3C]snmp-agent community read comaccess
[H3C]snmp-agent sys-info version all
#保存配置
save
#恢复缺省配置
restore default
#重启
reboot
#命名
sysname sysname
#显示arp
display arp 192.168.0.5
阅读(1398) | 评论(0) | 转发(0) |