[index] AT-AR3050S/AT-AR4050S コマンドリファレンス 5.4.5
(本社) |
(支社) |
|
ISP接続用ユーザー名 | user@ispA | user@ispB |
ISP接続用パスワード | isppasswdA | isppasswdB |
PPPoEサービス名 | 指定なし | 指定なし |
WAN側IPアドレス | 10.1.1.1/32 | 10.1.1.2/32 |
WAN側物理インターフェース | eth1 | eth1 |
WAN側(ppp0)IPアドレス | 10.1.1.1/32 | 10.1.1.2/32 |
no spanning-tree rstp enable |
interface eth1 encapsulation ppp 0 |
interface ppp0 keepalive ip address negotiated ppp username userA@isp ppp password isppasswdA ip tcp adjust-mss 1414 |
vlan database vlan 2-3 state enable |
interface port1.0.1 switchport switchport mode trunk switchport trunk allowed vlan add 2-3 |
bridge 2 bridge 3 |
crypto isakmp key secret address 10.1.1.2/32 |
interface tunnel0 encapsulation dot1q 2 encapsulation dot1q 3 ip address 172.16.0.1/30 tunnel source ppp0 tunnel destination 10.1.1.2/32 tunnel local id 1 tunnel remote id 2 tunnel mode l2tp v3 tunnel protection ipsec |
interface tunnel0.2 bridge-group 2 |
interface tunnel0.3 bridge-group 3 |
interface vlan2 bridge-group 2 |
interface vlan3 bridge-group 3 |
zone private network lan ip subnet 192.168.2.0/24 ip subnet 192.168.3.0/24 |
zone public network ppp0 ip subnet 0.0.0.0/0 interface ppp0 |
application esp protocol 50 |
application isakmp protocol udp sport 500 dport 500 |
firewall rule 10 permit any from private to private rule 20 permit any from private to public rule 30 permit isakmp from public.ppp0 to public rule 40 permit isakmp from public to public.ppp0 rule 50 permit esp from public.ppp0 to public rule 60 permit esp from public to public.ppp0 protect |
ip route 0.0.0.0/0 ppp0 |
end |
no spanning-tree rstp enable |
interface eth1 encapsulation ppp 0 |
interface ppp0 keepalive ip address negotiated ppp username userB@isp ppp password isppasswdB ip tcp adjust-mss 1414 |
vlan database vlan 2-3 state enable |
interface port1.0.1 switchport switchport mode trunk switchport trunk allowed vlan add 2-3 |
bridge 2 bridge 3 |
crypto isakmp key secret address 10.1.1.1 |
interface tunnel0 encapsulation dot1q 2 encapsulation dot1q 3 ip address 172.16.0.2/30 tunnel source ppp0 tunnel destination 10.1.1.1 tunnel local id 2 tunnel remote id 1 tunnel mode l2tp v3 tunnel protection ipsec |
interface tunnel0.2 bridge-group 2 |
interface tunnel0.3 bridge-group 3 |
interface vlan2 bridge-group 2 |
interface vlan3 bridge-group 3 |
zone private network lan ip subnet 192.168.2.0/24 ip subnet 192.168.3.0/24 |
zone public network ppp0 ip subnet 0.0.0.0/0 interface ppp0 |
application esp protocol 50 |
application isakmp protocol udp sport 500 dport 500 |
firewall rule 10 permit any from private to private rule 20 permit any from private to public rule 30 permit isakmp from public.ppp0 to public rule 40 permit isakmp from public to public.ppp0 rule 50 permit esp from public.ppp0 to public rule 60 permit esp from public to public.ppp0 protect |
ip route 0.0.0.0/0 ppp0 |
end |
awplus# copy running-config startup-config ↓ Building configuration... [OK] |
awplus# write memory ↓ Building configuration... [OK] |
! no spanning-tree rstp enable ! interface eth1 encapsulation ppp 0 ! interface ppp0 keepalive ip address negotiated ppp username userA@isp ppp password isppasswdA ip tcp adjust-mss 1414 ! vlan database vlan 2-3 state enable ! interface port1.0.1 switchport switchport mode trunk switchport trunk allowed vlan add 2-3 ! bridge 2 bridge 3 ! crypto isakmp key secret address 10.1.1.2/32 ! interface tunnel0 encapsulation dot1q 2 encapsulation dot1q 3 ip address 172.16.0.1/30 tunnel source ppp0 tunnel destination 10.1.1.2/32 tunnel local id 1 tunnel remote id 2 tunnel mode l2tp v3 tunnel protection ipsec ! interface tunnel0.2 bridge-group 2 ! interface tunnel0.3 bridge-group 3 ! interface vlan2 bridge-group 2 ! interface vlan3 bridge-group 3 ! zone private network lan ip subnet 192.168.2.0/24 ip subnet 192.168.3.0/24 ! zone public network ppp0 ip subnet 0.0.0.0/0 interface ppp0 ! application esp protocol 50 ! application isakmp protocol udp sport 500 dport 500 ! firewall rule 10 permit any from private to private rule 20 permit any from private to public rule 30 permit isakmp from public.ppp0 to public rule 40 permit isakmp from public to public.ppp0 rule 50 permit esp from public.ppp0 to public rule 60 permit esp from public to public.ppp0 protect ! ip route 0.0.0.0/0 ppp0 ! end |
! no spanning-tree rstp enable ! interface eth1 encapsulation ppp 0 ! interface ppp0 keepalive ip address negotiated ppp username userB@isp ppp password isppasswdB ip tcp adjust-mss 1414 ! vlan database vlan 2-3 state enable ! interface port1.0.1 switchport switchport mode trunk switchport trunk allowed vlan add 2-3 ! bridge 2 bridge 3 ! crypto isakmp key secret address 10.1.1.1 ! interface tunnel0 encapsulation dot1q 2 encapsulation dot1q 3 ip address 172.16.0.2/30 tunnel source ppp0 tunnel destination 10.1.1.1 tunnel local id 2 tunnel remote id 1 tunnel mode l2tp v3 tunnel protection ipsec ! interface tunnel0.2 bridge-group 2 ! interface tunnel0.3 bridge-group 3 ! interface vlan2 bridge-group 2 ! interface vlan3 bridge-group 3 ! zone private network lan ip subnet 192.168.2.0/24 ip subnet 192.168.3.0/24 ! zone public network ppp0 ip subnet 0.0.0.0/0 interface ppp0 ! application esp protocol 50 ! application isakmp protocol udp sport 500 dport 500 ! firewall rule 10 permit any from private to private rule 20 permit any from private to public rule 30 permit isakmp from public.ppp0 to public rule 40 permit isakmp from public to public.ppp0 rule 50 permit esp from public.ppp0 to public rule 60 permit esp from public to public.ppp0 protect ! ip route 0.0.0.0/0 ppp0 ! end |
(C) 2015 アライドテレシスホールディングス株式会社
PN: 613-002107 Rev.D