[H3C]dis cu
#
version 5.20, Release 2516P15
#
sysname H3C
#
domain default enable system
#
dar p2p signature-file flash:/p2p_default.mtd
#
port-security enable
#
password-recovery enable
#
vlan 1
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
user-group system
group-attribute allow-guest
#
local-user admin
password cipher $c$3$Q6QRHuL/bjSYKv7xazuQhsqw7NuoaL9p
authorization-attribute level 3
service-type telnet
service-type web
#
cwmp
undo cwmp enable
#
interface Aux0
async mode flow
link-protocol ppp
#
interface Cellular0/0
async mode protocol
link-protocol ppp
#
interface Virtual-Ethernet1
ip address 192.168.2.1 255.255.255.0
#
interface NULL0
#
interface GigabitEthernet0/0
port link-mode route
ip address 192.168.1.1 255.255.255.0
#
interface GigabitEthernet0/1
port link-mode route
#
interface GigabitEthernet0/2
port link-mode route
#
interface GigabitEthernet0/3
port link-mode route
#
interface GigabitEthernet0/4
port link-mode bridge
#
interface GigabitEthernet0/5
port link-mode bridge
#
interface GigabitEthernet0/6
port link-mode bridge
#
interface GigabitEthernet0/7
port link-mode bridge
#
interface GigabitEthernet0/8
port link-mode bridge
#
interface GigabitEthernet0/9
port link-mode bridge
#
snmp-agent
snmp-agent local-engineid 800063A20394282E9C4CCE
snmp-agent sys-info version v3
#
ip https enable
#
load xml-configuration
#
load tr069-configuration
#
user-interface tty 12
user-interface aux 0
user-interface vty 0 4
authentication-mode scheme
#
return
[H3C]
(0)
最佳答案
误打误撞搞定了。这个是配置文件,希望对大家有帮助!
[H3C]dis cu
#
version 5.20, Release 2516P29
#
sysname H3C
#
domain default enable system
#
dns proxy enable
#
password-recovery enable
#
acl number 2000
rule 1000 permit source 192.168.100.0 0.0.0.255
#
vlan 1
#
vlan 10
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
dhcp server ip-pool vlan10 extended
network ip range 192.168.100.2 192.168.100.254
network mask 255.255.255.0
gateway-list 192.168.100.1
dns-list 114.114.114.114
#
user-group system
group-attribute allow-guest
#
local-user admin
password cipher $c$3$4pJVTpl2OUltjvbyMLqcIQAla7kdpd3c
authorization-attribute level 3
service-type web
#
interface Aux0
async mode flow
link-protocol ppp
#
interface Cellular0/0
async mode protocol
link-protocol ppp
#
interface NULL0
#
interface Vlan-interface10
ip address 192.168.100.1 255.255.255.0
dhcp server apply ip-pool vlan10
#
interface GigabitEthernet0/0
port link-mode route
nat outbound 2000
ip address 192.168.1.56 255.255.255.0
undo dhcp select server global-pool
dns server 192.168.0.1
#
interface GigabitEthernet0/1
port link-mode route
undo dhcp select server global-pool
#
interface GigabitEthernet0/2
port link-mode route
undo dhcp select server global-pool
#
interface GigabitEthernet0/3
port link-mode route
undo dhcp select server global-pool
ip address dhcp-alloc
#
interface GigabitEthernet0/4
port link-mode bridge
port access vlan 10
#
interface GigabitEthernet0/5
port link-mode bridge
port access vlan 10
#
interface GigabitEthernet0/6
port link-mode bridge
port access vlan 10
#
interface GigabitEthernet0/7
port link-mode bridge
port access vlan 10
#
interface GigabitEthernet0/8
port link-mode bridge
port access vlan 10
#
interface GigabitEthernet0/9
port link-mode bridge
port access vlan 10
#
ip route-static 0.0.0.0 0.0.0.0 GigabitEthernet0/0 192.168.1.1
#
dhcp enable
#
ip https enable
#
nms primary monitor-interface GigabitEthernet0/0
#
load xml-configuration
#
load tr069-configuration
#
user-interface tty 12
user-interface aux 0
user-interface vty 0 4
#
return
[H3C]
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明