首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 互联网 >

华赛USG根本配置命令

2013-12-30 
华赛USG基本配置命令USG system-view [USG] dialer-rule 1 ip permit [USG] interface Dialer 1 [USG-Di

华赛USG基本配置命令

<USG> system-view
[USG] dialer-rule 1 ip permit


[USG] interface Dialer 1


[USG-Dialer1] dialer-group 1

[USG-Dialer1] ip address ppp-negotiate


[USG-Dialer1] ppp ipcp dns admit-any


[USG-Dialer1] ppp pap local-user adsluser password cipher Admin@123
[USG-Dialer1] ppp chap user adsluser
[USG-Dialer1] ppp chap password cipher Admin@123

[USG-Dialer1] dialer user admin


[USG-Dialer1] dialer bundle 1
[USG-Dialer1] quit

[USG] interface Virtual-Ethernet 1
[USG-Virtual-Ethernet1] quit


[USG] interface Atm 2/0/0
[USG-Atm2/0/0] pvc 0/35
[USG-Atm2/0/0-0/35] encapsulation llc


[USG-Atm2/0/0-0/35] map bridge virtual-ethernet 1
[USG-Atm2/0/0-0/35] quit
[USG-Atm2/0/0] quit


[USG] interface Virtual-Ethernet 1
[USG-Virtual-Ethernet1] pppoe-client dial-bundle-number 1
[USG-Virtual-Ethernet1] quit

[USG] VLAN 1
[USG-vlan-1] port Ethernet 1/0/0 to 1/0/7


[USG] interface Vlanif 1
[USG-Vlanif1] ip address 192.168.0.1 24
[USG-Vlanif1] quit


[USG] dhcp enable
[USG] interface Vlanif 1
[USG-Vlanif1] dhcp select interface


[USG-Vlanif1] dhcp server dns-list unnumbered interface Dialer 1
[USG-Vlanif1] quit


[USG] firewall zone trust
[USG-zone-trust] add interface Vlanif 1
[USG-zone-trust] quit


[USG] firewall zone untrust
[USG-zone-untrust] add interface Dialer 1
[USG-zone-untrust] quit


[USG] firewall packet-filter default permit all

[USG] ip route-static 0.0.0.0 0.0.0.0 Dialer 1


[USG] nat-policy interzone trust untrust outbound
[USG-nat-policy-interzone-trust-untrust-outbound] policy 1
[USG-nat-policy-interzone-trust-untrust-outbound-1] action source-nat
[USG-nat-policy-interzone-trust-untrust-outbound-1] policy source 192.168.0.0 0.0.0.255
[USG-nat-policy-interzone-trust-untrust-outbound-1] easy-ip Dialer 1
[USG-nat-policy-interzone-trust-untrust-outbound-1] quit
[USG-nat-policy-interzone-trust-untrust-outbound] quit


display interface dialer

热点排行