<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]dis cu
[V200R001C01SPC500]
#
snmp-agent local-engineid 800007DB03707BE8EAE357
snmp-agent
#
voice
#
drop illegal-mac alarm
#
dhcp enable
#
acl number 2000
rule 5 permit source 192.168.1.0 0.0.0.255
#
ip pool one
network 192.168.1.0 mask 255.255.255.0
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password simple admin
local-user admin service-type http
#
interface Dialer0
link-protocol ppp
#
interface GigabitEthernet0/0/0
ip address 120.XX.XX.236 255.255.255.0
nat server protocol tcp global current-interface 8080 inside 192.168.1.200 8080
nat server protocol tcp global current-interface 3389 inside 192.168.1.200 3389
nat server protocol tcp global current-interface 6096 inside 192.168.1.200 6096
nat server protocol tcp global current-interface 36984 inside 192.168.1.200 36984
nat server protocol tcp global current-interface 1433 inside 192.168.1.200 1433
nat server protocol tcp global current-interface 47 inside 192.168.1.200 47
nat server protocol tcp global current-interface 10086 inside 192.168.1.200 10086
nat server protocol tcp global current-interface 10000 inside 192.168.1.200 10000
nat server protocol tcp global current-interface ftp inside 192.168.1.200 ftp
nat server protocol udp global current-interface 6096 inside 192.168.1.2 6096
nat outbound 2000
#
interface GigabitEthernet0/0/1
ip address 192.168.1.1 255.255.255.0
#
interface GigabitEthernet0/0/2
#
interface Cellular0/0/0
link-protocol ppp
#
interface Cellular0/0/1
link-protocol ppp
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 120.XX.XX.1
#
user-interface con 0
user-interface vty 0 4
user privilege level 3
set authentication password simple admin
user-interface vty 16 20
#
return
[Huawei]
本文出自 “网络小刘” 博客,转载请与作者联系!