网络配置过程(一部分)



Login authentication


Username:admin
Password:
-----------------------------------------------------------------------------

User last login information:
-----------------------------------------------------------------------------
Access Type: Telnet
IP-Address : 172.100.100.2
Time : 2016-09-21 15:30:49+00:00
-----------------------------------------------------------------------------
sys
Enter system view, return user view with Ctrl+Z.
[AR2240]disp cur
[V200R003C01SPC300]
#
sysname AR2240
#
snmp-agent local-engineid 800007DB03200BC723897B
snmp-agent
#
http timeout 3
#
drop illegal-mac alarm
#
wlan ac-global carrier id other ac id 0
#
dhcp enable
#
undo dhcp server bootp
#
pki realm default
enrollment self-signed
#
#
acl number 2000
rule 5 permit source 172.16.0.0 0.0.255.255
rule 10 permit source 172.100.101.0 0.0.0.255
rule 15 permit source 192.168.1.0 0.0.0.255
rule 20 permit source 172.100.100.4 0.0.0.3
rule 25 permit source 172.100.100.8 0.0.0.3
rule 30 permit source 172.100.100.12 0.0.0.3
rule 35 permit source 172.100.100.16 0.0.0.3
rule 40 permit source 172.100.100.20 0.0.0.3
rule 45 permit source 172.100.100.24 0.0.0.3
rule 50 permit source 172.100.100.28 0.0.0.3
rule 55 permit source 172.100.100.32 0.0.0.3
rule 60 permit source 172.100.100.36 0.0.0.3
rule 65 permit source 172.100.100.40 0.0.0.3
rule 70 permit source 172.100.100.44 0.0.0.3
rule 75 permit source 172.100.100.48 0.0.0.3
rule 80 permit source 172.100.100.52 0.0.0.3
rule 85 permit source 172.100.100.56 0.0.0.3
rule 90 permit source 172.100.100.60 0.0.0.3
rule 95 permit source 172.100.100.64 0.0.0.3
rule 100 permit source 172.100.100.68 0.0.0.3
rule 105 permit source 172.100.100.72 0.0.0.3
rule 110 permit source 172.100.100.76 0.0.0.3
rule 115 permit source 172.100.100.80 0.0.0.3
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$h<(B2=7"j;j@Q*1io6[UesZH%$%$
local-user admin privilege level 15
local-user admin service-type telnet
#
firewall zone Local
priority 64
#
interface GigabitEthernet0/0/0
ip address 172.100.101.1 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 172.100.100.2 255.255.255.0
nat server protocol tcp global interface GigabitEthernet 0/0/1 1521 inside 172.
16.100.11 1521
nat server protocol tcp global interface GigabitEthernet 0/0/1 www inside 172.1
9.0.26 www
nat outbound 2000
#
interface GigabitEthernet0/0/2
#
interface Cellular0/0/0
link-protocol ppp

[AR2240]int g0/0/1
[AR2240-GigabitEthernet0/0/1]nat se pr tcp gl int g0/0/1 3389 ins 172.19.0.26 33
89
^
Error:Too many parameters found at '^' position.
[AR2240-GigabitEthernet0/0/1]nat se pr tcp gl int g0/0/1 3389 ins 172.19.0.26 ?
acl

Specify acl configuration information
description Specify NAT description
vpn-instance Specify a VPN instance
Please press ENTER to execute command
[AR2240-GigabitEthernet0/0/1]nat se pr tcp gl int g0/0/1 3389 ins 172.19.0.26
Error: The interface is not exist.
[AR2240-GigabitEthernet0/0/1]nat se
[AR2240-GigabitEthernet0/0/1]nat server pr
[AR2240-GigabitEthernet0/0/1]nat server protocol tcp gl
[AR2240-GigabitEthernet0/0/1]nat server protocol tcp global in
[AR2240-GigabitEthernet0/0/1]nat server protocol tcp global interface g
[AR2240-GigabitEthernet0/0/1]nat server protocol tcp global interface GigabitEth
ernet 0/0/1 ?
<0-65535> Global port of NAT
CHARgen Character generator (19)
any Any protocol (0)
bgp Border Gateway Protocol (179)
cmd Remote commands (rcmd, 514)
daytime Daytime (13)
discard Discard (9)
domain Domain Name Service (53)
echo Echo (7)
exec Exec (rsh, 512)
finger Finger (79)
ftp File Transfer Protocol (21)
gopher Gopher (70)
hostname NIC hostname server (101)
inside Specify inside information of NAT
irc Internet Relay Chat (194)
klogin Kerberos login (543)
kshell Kerberos shell (544)
login Login (rlogin, 513)
lpd Printer service (515)
nntp Network News Transport Protocol (119)
pop2 Post Office Protocol v2 (109)
pop3 Post Office Protocol v3 (110)
smtp Simple Mail Transport Protocol (25)

[AR2240-GigabitEthernet0/0/1]nat server protocol tcp global interface GigabitEth
ernet 0/0/1 3389 ?
inside Specify inside information of NAT
vpn-instance Specify a VPN instance
[AR2240-GigabitEthernet0/0/1]nat server protocol tcp global interface GigabitEth
ernet 0/0/1 3389 int
[AR2240-GigabitEthernet0/0/1]nat server protocol tcp global interface GigabitEth
ernet 0/0/1 3389 ins
[AR2240-GigabitEthernet0/0/1]nat server protocol tcp global interface GigabitEth
ernet 0/0/1 3389 inside 172.19.0.26 3389
[AR2240-GigabitEthernet0/0/1]disp th
[V200R003C01SPC300]
#
interface GigabitEthernet0/0/1
ip address 172.100.100.2 255.255.255.0
nat server protocol tcp global interface GigabitEthernet 0/0/1 1521 inside 172.
16.100.11 1521
nat server protocol tcp global interface GigabitEthernet 0/0/1 www inside 172.1
9.0.26 www
nat server protocol tcp global interface GigabitEthernet 0/0/1 3389 inside 172.
19.0.26 3389
nat outbound 2000
#
return
[AR2240-GigabitEthernet0/0/1]
[AR2240-GigabitEthernet0/0/1]qu
[AR2240]q
ping 10.10.37.212
PING 10.10.37.212: 56 data bytes, press CTRL_C to break
Reply from 10.10.37.212: bytes=56 Sequence=1 ttl=126 time=7 ms
Reply from 10.10.37.212: bytes=56 Sequence=2 ttl=126 time=6 ms
Reply from 10.10.37.212: bytes=56 Sequence=3 ttl=126 time=6 ms
Reply from 10.10.37.212: bytes=56 Sequence=4 ttl=126 time=6 ms
Reply from 10.10.37.

212: bytes=56 Sequence=5 ttl=126 time=10 ms

--- 10.10.37.212 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 6/7/10 ms

sys
Enter system view, return user view with Ctrl+Z.
[AR2240]disp th
[V200R003C01SPC300]
#
sysname AR2240
#
snmp-agent local-engineid 800007DB03200BC723897B
snmp-agent
#
http timeout 3
#
drop illegal-mac alarm
#
wlan ac-global carrier id other ac id 0
#
dhcp enable
#
undo dhcp server bootp
#
ip route-static 0.0.0.0 0.0.0.0 172.100.100.1
ip route-static 172.16.0.0 255.255.0.0 172.100.101.2
ip route-static 172.100.100.4 255.255.255.252 172.100.101.2
ip route-static 172.100.100.8 255.255.255.252 172.100.101.2
ip route-static 172.100.100.12 255.255.255.252 172.100.101.2
ip route-static 172.100.100.16 255.255.255.252 172.100.101.2
ip route-static 172.100.100.20 255.255.255.252 172.100.101.2
ip route-static 172.100.100.24 255.255.255.252 172.100.101.2
ip route-static 172.100.100.28 255.255.255.252 172.100.101.2
ip route-static 172.100.100.32 255.255.255.252 172.100.101.2
ip route-static 172.100.100.36 255.255.255.252 172.100.101.2

[AR2240]ip ro
[AR2240]ip route-s
[AR2240]ip route-static 172.19.0.0 255.255.0.0 172.100.101.2
[AR2240]disp th
[V200R003C01SPC300]
#
sysname AR2240
#
snmp-agent local-engineid 800007DB03200BC723897B
snmp-agent
#
http timeout 3
#
drop illegal-mac alarm
#
wlan ac-global carrier id other ac id 0
#
dhcp enable
#
undo dhcp server bootp
#
ip route-static 0.0.0.0 0.0.0.0 172.100.100.1
ip route-static 172.16.0.0 255.255.0.0 172.100.101.2
ip route-static 172.19.0.0 255.255.0.0 172.100.101.2
ip route-static 172.100.100.4 255.255.255.252 172.100.101.2
ip route-static 172.100.100.8 255.255.255.252 172.100.101.2
ip route-static 172.100.100.12 255.255.255.252 172.100.101.2
ip route-static 172.100.100.16 255.255.255.252 172.100.101.2

[AR2240]qu
sav
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait...
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated


Please check whether system data has been changed, and save data in time

Configuration console time out, please retry to log on


遗失对主机的连接。

C:\Users\ASUS>

相关文档
最新文档