待解决问题
[H3C MSR36-40]dis cu
#
version 7.1.059, Release 0304P14
#
sysname H3C MSR36-40
#
telnet server enable
#
dhcp enable
#
dns server 8.8.8.8
dns server 114.114.114.114
password-recovery enable
#
vlan 1
#
vlan 4093 to 4094
#
controller Cellular0/0
#
controller Cellular0/1
#
interface Aux0
#
interface NULL0
#
interface GigabitEthernet0/0
port link-mode route
combo enable copper
ip address X.X.X.X 255.255.255.0
nat outbound 3050 address-group 0
nat server protocol tcp global X.X.X.X 90 inside 172.16.0.254 80
nat server protocol udp global X.X.X.X 90 inside 172.16.0.254 80
#
interface GigabitEthernet0/1
port link-mode route
combo enable copper
ip address 10.12.151.222 255.255.255.0
nat outbound
#
interface GigabitEthernet0/2
port link-mode route
ip address 172.16.0.253 255.255.255.0
#
interface GigabitEthernet5/0
port link-mode route
#
interface GigabitEthernet5/1
port link-mode route
#
scheduler logfile size 16
#
line class aux
user-role network-admin
#
line class tty
user-role network-operator
#
line class vty
user-role network-operator
#
line aux 0
user-role network-admin
#
line vty 0 63
authentication-mode scheme
user-role level-15
user-role network-operator
#
ip route-static 0.0.0.0 0 117.172.161.1
ip route-static 10.0.0.0 8 10.12.151.1
ip route-static 192.168.0.0 24 172.16.0.254
ip route-static 192.168.1.0 24 172.16.0.254
ip route-static 192.168.11.0 24 172.16.0.254
ip route-static 192.168.12.0 24 172.16.0.254
ip route-static 192.168.13.0 24 172.16.0.254
ip route-static 192.168.14.0 24 172.16.0.254
ip route-static 192.168.15.0 24 172.16.0.254
ip route-static 192.168.16.0 24 172.16.0.254
#
acl basic 2001
rule 0 permit
rule 5 permit source 192.0.0.0 0.255.255.255
#
acl advanced 3000
rule 0 permit ip source 192.168.10.0 0.0.0.255 destination 192.168.3.0 0.0.0.255
#
acl advanced 3050
description NAT_Outbound
rule 5 deny ip source 192.168.10.0 0.0.0.255 destination 192.168.3.0 0.0.0.255
rule 60 permit ip source 192.0.0.0 0.255.255.255
#
domain system
#
domain default enable system
#
role name level-0
description Predefined level-0 role
#
role name level-1
description Predefined level-1 role
#
role name level-2
description Predefined level-2 role
#
role name level-3
description Predefined level-3 role
#
role name level-4
description Predefined level-4 role
#
role name level-5
description Predefined level-5 role
#
role name level-6
description Predefined level-6 role
#
role name level-7
description Predefined level-7 role
#
role name level-8
description Predefined level-8 role
#
role name level-9
description Predefined level-9 role
#
role name level-10
description Predefined level-10 role
#
role name level-11
description Predefined level-11 role
#
role name level-12
description Predefined level-12 role
#
role name level-13
description Predefined level-13 role
#
role name level-14
description Predefined level-14 role
#
role name 0
#
user-group system
#
local-user `admin class manage
authorization-attribute user-role network-operator
#
local-user admin class manage
password hash $h$6$p1kTBAn2XnmYxoGK$TcXR53JnpN+0iDLtTzdHj5/zJ57Qu5FqXcI3l6+8SMxzOMp1m/MnRWqRtpzywSE3RI37yb+bUKa9tfnJ0Nt+cw==
service-type telnet terminal
authorization-attribute user-role level-15
authorization-attribute user-role network-admin
authorization-attribute user-role network-operator
#
ipsec policy 镲ipsecvpn 1 isakmp
#
nat address-group 0
address X.X.X.X
#
nat address-group 1
address 10.12.151.222 10.12.151.222
#
version 7.1.059, Release 0304P14
#
sysname H3C MSR36-40
#
telnet server enable
#
dhcp enable
#
dns server 8.8.8.8
dns server 114.114.114.114
password-recovery enable
#
vlan 1
#
vlan 4093 to 4094
#
controller Cellular0/0
#
controller Cellular0/1
#
interface Aux0
#
interface NULL0
#
interface GigabitEthernet0/0
port link-mode route
combo enable copper
ip address X.X.X.X 255.255.255.0
nat outbound 3050 address-group 0
nat server protocol tcp global X.X.X.X 90 inside 172.16.0.254 80
nat server protocol udp global X.X.X.X 90 inside 172.16.0.254 80
#
interface GigabitEthernet0/1
port link-mode route
combo enable copper
ip address 10.12.151.222 255.255.255.0
nat outbound
#
interface GigabitEthernet0/2
port link-mode route
ip address 172.16.0.253 255.255.255.0
#
interface GigabitEthernet5/0
port link-mode route
#
interface GigabitEthernet5/1
port link-mode route
#
scheduler logfile size 16
#
line class aux
user-role network-admin
#
line class tty
user-role network-operator
#
line class vty
user-role network-operator
#
line aux 0
user-role network-admin
#
line vty 0 63
authentication-mode scheme
user-role level-15
user-role network-operator
#
ip route-static 0.0.0.0 0 117.172.161.1
ip route-static 10.0.0.0 8 10.12.151.1
ip route-static 192.168.0.0 24 172.16.0.254
ip route-static 192.168.1.0 24 172.16.0.254
ip route-static 192.168.11.0 24 172.16.0.254
ip route-static 192.168.12.0 24 172.16.0.254
ip route-static 192.168.13.0 24 172.16.0.254
ip route-static 192.168.14.0 24 172.16.0.254
ip route-static 192.168.15.0 24 172.16.0.254
ip route-static 192.168.16.0 24 172.16.0.254
#
acl basic 2001
rule 0 permit
rule 5 permit source 192.0.0.0 0.255.255.255
#
acl advanced 3000
rule 0 permit ip source 192.168.10.0 0.0.0.255 destination 192.168.3.0 0.0.0.255
#
acl advanced 3050
description NAT_Outbound
rule 5 deny ip source 192.168.10.0 0.0.0.255 destination 192.168.3.0 0.0.0.255
rule 60 permit ip source 192.0.0.0 0.255.255.255
#
domain system
#
domain default enable system
#
role name level-0
description Predefined level-0 role
#
role name level-1
description Predefined level-1 role
#
role name level-2
description Predefined level-2 role
#
role name level-3
description Predefined level-3 role
#
role name level-4
description Predefined level-4 role
#
role name level-5
description Predefined level-5 role
#
role name level-6
description Predefined level-6 role
#
role name level-7
description Predefined level-7 role
#
role name level-8
description Predefined level-8 role
#
role name level-9
description Predefined level-9 role
#
role name level-10
description Predefined level-10 role
#
role name level-11
description Predefined level-11 role
#
role name level-12
description Predefined level-12 role
#
role name level-13
description Predefined level-13 role
#
role name level-14
description Predefined level-14 role
#
role name 0
#
user-group system
#
local-user `admin class manage
authorization-attribute user-role network-operator
#
local-user admin class manage
password hash $h$6$p1kTBAn2XnmYxoGK$TcXR53JnpN+0iDLtTzdHj5/zJ57Qu5FqXcI3l6+8SMxzOMp1m/MnRWqRtpzywSE3RI37yb+bUKa9tfnJ0Nt+cw==
service-type telnet terminal
authorization-attribute user-role level-15
authorization-attribute user-role network-admin
authorization-attribute user-role network-operator
#
ipsec policy 镲ipsecvpn 1 isakmp
#
nat address-group 0
address X.X.X.X
#
nat address-group 1
address 10.12.151.222 10.12.151.222
回答时间:2016-2-25 11:52
热点问题