欢迎来到天天文库
浏览记录
ID:50830572
大小:37.95 KB
页数:3页
时间:2020-03-15
《SRG华为路由器的脚本设置.doc》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、sysnameBinChengQuSanHeHuZhenZhengFuvlanbatch11020#undoweb-managerenable#interfaceVlanif10ipaddress120.192.47.241(IP地址)255.255.255.240#interfaceEthernet1/0/0portswitchportaccessvlan20#interfaceEthernet1/0/1portswitchportaccessvlan20#interfaceEthernet1/0/2port
2、switchportaccessvlan20#interfaceEthernet1/0/3portswitchportaccessvlan20#interfaceEthernet1/0/4portswitchportaccessvlan20#interfaceEthernet1/0/5portswitchportaccessvlan20#interfaceEthernet1/0/6portswitchportaccessvlan20#interfaceEthernet1/0/7portswitchportacc
3、essvlan20#interfaceGigabitEthernet1/1/0portswitchportaccessvlan20#interfaceGigabitEthernet1/1/1portswitchportaccessvlan20#interfaceGigabitEthernet0/0/0undoipaddressportswitchportaccessvlan10#interfaceGigabitEthernet0/0/1undoipaddressportswitchportaccessvlan1
4、0#interfaceVlanif20ipaddress10.0.2.1255.255.254.0dhcpselectinterfacedhcpserverdns-list211.137.191.26218.201.96.130#firewallzonetrustaddinterfaceVlanif20#firewallzoneuntrustaddinterfaceVlanif10#aaalocal-usermaintainstateblocklocal-userbzjhpasswordcipherH0LQBH
5、+T+8HC501CLGD1!!local-userbzjhservice-typeftpwebterminaltelnetsshlocal-userbzjhlevel3undolocal-useradmin#iproute-static0.0.0.00.0.0.0Vlanif10120.192.47.240(网关)user-interfacecon0authentication-modeaaaidle-timeout150user-interfacetty2authentication-modeaaaun
6、domodembothidle-timeout150user-interfacevty04authentication-modeaaaidle-timeout150#nat-policyinterzonetrustuntrustoutboundpolicy0actionsource-natpolicysource10.0.2.00.0.1.255easy-ipVlanif10#return
此文档下载收益归作者所有