SRG华为路由器的脚本设置

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
authentication-mode aaa
idle-timeout 15 0
#
nat-policy interzone trust untrust outbound
policy 0
action source-nat
policy source 10.0.2.0 0.0.1.255
easy-ip Vlanif10
user-interface con 0
authentication-mode aaa
idle-timeout 15 0
user-interface tty 2
authentication-mode aaa
undo modem both
idle-timeout 15 0
user-interface vty 0 4
portswitch
port access vlan 20
#
interface Ethernet1/0/4
portswitch
port access vlan 20
#
interface Ethernet1/0/5
portswitch
port access vlan 20
#
interface Ethernet1/0/6
portswitch
port access vlan 20
#
interface GigabitEthernet0/0/0
undo ip address
portswitch
port access vlan 10
#
interface GigabitEthernet0/0/1
undo ip address
local-user bzjh service-type ftp web terminal telnet ssh
locຫໍສະໝຸດ Baidul-user bzjh level 3
undo local-user admin
#
ip route-static 0.0.0.0 0.0.0.0 Vlanif10120.192.47.240(网关)
portswitch
port access vlan 20
#
interface Ethernet1/0/1
portswitch
port access vlan 20
#
interface Ethernet1/0/2
portswitch
port access vlan 20
#
interface Ethernet1/0/3
sysname BinChengQuSanHeHuZhenZhengFu
vlan batch 1 10 20
#
undo web-manager enable
#
interface Vlanif10
ip address120.192.47.241(IP地址)255.255.255.240
#
interface Ethernet1/0/0
portswitch
port access vlan 10
#
interface Vlanif20
ip address 10.0.2.1 255.255.254.0
dhcp select interface
dhcp server dns-list 211.137.191.26 218.201.96.130
portswitch
port access vlan 20
#
interface Ethernet1/0/7
portswitch
port access vlan 20
#
interface GigabitEthernet1/1/0
portswitch
port access vlan 20
#
interface GigabitEthernet1/1/1
#
firewall zone trust
add interface Vlanif20
#
firewall zone untrust
add interface Vlanif10
#
aaa
local-user maintain state block
local-user bzjh password cipher H0LQBH+T+8HC501C\L\GD1!!
#
return
相关文档
最新文档