[index] AT-AR3050S/AT-AR4050S コマンドリファレンス 5.4.5
Note - AMFマスター機能を使用するにはAMFマスターライセンスが必要です。
Note - AMFマスター機能はAT-AR4050Sでのみ利用可能です。
Note - AT-AR4050Sは外部メディアとしてUSBメモリーとSDHCカードの両方をサポートしていますが、AMFバックアップ機能においてはSDHCカードのみ使用可能です。
AMFネットワーク名 | AMF001 | ||
AMFマスター | ルーターA | ||
AMFバックアップ用外部メディア | SDHCカード | ||
AMF仮想リンク | 192.168.10.1(ルーターA:AMFマスター) - 192.168.20.3(スイッチA:AMFメンバー) | ||
(AT-AR4050S) |
|||
ISP接続用ユーザー名 | user@isp1 | user@isp2 | user@isp3 |
ISP接続用パスワード | isppasswd1 | isppasswd2 | isppasswd3 |
PPPoEサービス名 | 指定なし | 指定なし | 指定なし |
WAN側IPアドレス | 10.0.0.1/32 | 10.0.0.2/32 | 10.0.0.3/32 |
DNSサーバーIPアドレス | 自動取得(IPCP) | 自動取得(IPCP) | 自動取得(IPCP) |
WAN側物理インターフェース | eth1 | eth1 | eth1 |
WAN側IPアドレス | 10.0.0.1/32 (ppp0) | 10.0.0.2/32 (ppp0) | 10.0.0.3/32 (ppp0) |
LAN側IPアドレス | 192.168.10.1/24 (vlan1) | 192.168.20.1/24 (vlan20) 192.168.30.1/24 (vlan30) |
192.168.20.2/24 (vlan20) 192.168.30.2/24 (vlan30) |
no spanning-tree rstp enable |
interface eth1 encapsulation ppp 0 |
interface ppp0 ppp ipcp dns request keepalive ppp username user@isp1 ppp password isppasswd1 ip address 10.0.0.1/32 ip tcp adjust-mss 1414 |
interface vlan1 ip address 192.168.10.1/24 |
hostname RouterA |
atmf network-name AMF001 atmf master |
atmf virtual-link id 1 ip 192.168.10.1 remote-id 1 remote-ip 192.168.20.3 |
zone lan-atmf network atmf-link ip subnet 172.31.0.0/16 |
zone private network lan ip subnet 172.16.0.0/30 ip subnet 172.17.0.0/30 ip subnet 192.168.10.0/24 ip subnet 192.168.20.0/24 ip subnet 192.168.30.0/24 |
zone public network wan 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.wan to public.wan rule 40 permit esp from public.wan to public.wan rule 50 permit any from lan-atmf to lan-atmf rule 60 permit dns from public.wan to public protect |
nat rule 10 masq any from private to public enable |
crypto isakmp key secret-ab address 10.0.0.2 crypto isakmp key secret-ac address 10.0.0.3 |
interface tunnel0 ip address 172.16.0.1/30 tunnel source ppp0 tunnel destination 10.0.0.2 tunnel mode ipsec ipv4 tunnel protection ipsec |
interface tunnel1 ip address 172.17.0.1/30 tunnel source ppp0 tunnel destination 10.0.0.3 tunnel mode ipsec ipv4 tunnel protection ipsec |
ping-poll 1 ip 172.16.0.2 normal-interval 1 up-count 3 fail-count 3 active |
trigger 1 type ping-poll 1 down script 1 tunnel0_down.scp trigger 2 type ping-poll 1 up script 1 tunnel0_up.scp |
trigger 3 type interface ppp0 up script 1 ppp0-up.scp |
ip route 0.0.0.0/0 ppp0 ip route 192.168.20.0/24 tunnel1 10 ip route 192.168.20.0/24 Null 254 ip route 192.168.20.0/24 tunnel0 ip route 192.168.30.0/24 tunnel1 10 ip route 192.168.30.0/24 Null 254 ip route 192.168.30.0/24 tunnel0 |
ip dns forwarding |
end |
no spanning-tree rstp enable |
interface eth1 encapsulation ppp 0 |
interface ppp0 ppp ipcp dns request keepalive ppp username user@isp2 ppp password isppasswd2 ip address 10.0.0.2/32 ip tcp adjust-mss 1414 |
vlan database vlan 20,30 state enable |
hostname RouterB |
atmf network-name AMF001 |
interface port1.0.1 switchport atmf-link switchport mode trunk switchport trunk allowed vlan add 20,30 |
interface vlan20 ip address 192.168.20.1/24 |
interface vlan30 ip address 192.168.30.1/24 |
router vrrp 20 vlan20 virtual-ip 192.168.20.254 backup circuit-failover ppp0 2 priority 101 enable router vrrp 30 vlan30 virtual-ip 192.168.30.254 backup circuit-failover ppp0 2 priority 101 enable |
zone lan-atmf network atmf-link ip subnet 172.31.0.0/16 |
zone private network lan ip subnet 172.16.0.0/30 ip subnet 192.168.10.0/24 ip subnet 192.168.20.0/24 ip subnet 192.168.30.0/24 |
zone public network wan 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.wan to public.wan rule 40 permit esp from public.wan to public.wan rule 50 permit any from lan-atmf to lan-atmf rule 60 permit dns from public.wan to public protect |
nat rule 10 masq any from private to public enable |
crypto isakmp key secret-ab address 10.0.0.1 |
interface tunnel0 ip address 172.16.0.2/30 tunnel source ppp0 tunnel destination 10.0.0.1 tunnel mode ipsec ipv4 tunnel protection ipsec |
trigger 1 type interface port1.0.1 down script 1 lan-down.scp trigger 2 type interface port1.0.1 up script 1 lan-up.scp trigger 3 type interface ppp0 up script 1 ppp0-up.scp |
ip route 0.0.0.0/0 ppp0 ip route 192.168.10.0/24 tunnel0 ip route 192.168.10.0/24 Null 254 |
ip dns forwarding |
end |
no spanning-tree rstp enable |
interface eth1 encapsulation ppp 0 |
interface ppp0 ppp ipcp dns request keepalive ppp username user@isp3 ppp password isppasswd3 ip address 10.0.0.3/32 ip tcp adjust-mss 1414 |
vlan database vlan 20,30 state enable |
hostname RouterC |
atmf network-name AMF001 |
interface port1.0.1 switchport atmf-link switchport mode trunk switchport trunk allowed vlan add 20,30 |
interface vlan20 ip address 192.168.20.2/24 |
interface vlan30 ip address 192.168.30.2/24 |
router vrrp 20 vlan20 virtual-ip 192.168.20.254 backup enable router vrrp 30 vlan30 virtual-ip 192.168.30.254 backup enable |
zone lan-atmf network atmf-link ip subnet 172.31.0.0/16 |
zone private network lan ip subnet 172.17.0.0/30 ip subnet 192.168.10.0/24 ip subnet 192.168.20.0/24 ip subnet 192.168.30.0/24 |
zone public network wan 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.wan to public.wan rule 40 permit esp from public.wan to public.wan rule 50 permit any from lan-atmf to lan-atmf rule 60 permit dns from public.wan to public protect |
nat rule 10 masq any from private to public enable |
crypto isakmp key secret-ac address 10.0.0.1 |
interface tunnel0 ip address 172.17.0.2/30 tunnel source ppp0 tunnel destination 10.0.0.1 tunnel mode ipsec ipv4 tunnel protection ipsec |
trigger 1 type interface ppp0 up script 1 ppp0-up.scp |
ip route 0.0.0.0/0 ppp0 ip route 192.168.10.0/24 tunnel0 ip route 192.168.10.0/24 Null 254 |
ip dns forwarding |
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 ppp ipcp dns request keepalive ppp username user@isp1 ppp password isppasswd1 ip address 10.0.0.1/32 ip tcp adjust-mss 1414 ! interface vlan1 ip address 192.168.10.1/24 ! hostname RouterA ! atmf network-name AMF001 atmf master ! atmf virtual-link id 1 ip 192.168.10.1 remote-id 1 remote-ip 192.168.20.3 ! zone lan-atmf network atmf-link ip subnet 172.31.0.0/16 ! zone private network lan ip subnet 172.16.0.0/30 ip subnet 172.17.0.0/30 ip subnet 192.168.10.0/24 ip subnet 192.168.20.0/24 ip subnet 192.168.30.0/24 ! zone public network wan 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.wan to public.wan rule 40 permit esp from public.wan to public.wan rule 50 permit any from lan-atmf to lan-atmf rule 60 permit dns from public.wan to public protect ! nat rule 10 masq any from private to public enable ! crypto isakmp key secret-ab address 10.0.0.2 crypto isakmp key secret-ac address 10.0.0.3 ! interface tunnel0 ip address 172.16.0.1/30 tunnel source ppp0 tunnel destination 10.0.0.2 tunnel mode ipsec ipv4 tunnel protection ipsec ! interface tunnel1 ip address 172.17.0.1/30 tunnel source ppp0 tunnel destination 10.0.0.3 tunnel mode ipsec ipv4 tunnel protection ipsec ! ping-poll 1 ip 172.16.0.2 normal-interval 1 up-count 3 fail-count 3 active ! trigger 1 type ping-poll 1 down script 1 tunnel0_down.scp trigger 2 type ping-poll 1 up script 1 tunnel0_up.scp ! trigger 3 type interface ppp0 up script 1 ppp0-up.scp ! ip route 0.0.0.0/0 ppp0 ip route 192.168.20.0/24 tunnel1 10 ip route 192.168.20.0/24 Null 254 ip route 192.168.20.0/24 tunnel0 ip route 192.168.30.0/24 tunnel1 10 ip route 192.168.30.0/24 Null 254 ip route 192.168.30.0/24 tunnel0 ! ip dns forwarding ! end |
! no spanning-tree rstp enable ! interface eth1 encapsulation ppp 0 ! interface ppp0 ppp ipcp dns request keepalive ppp username user@isp2 ppp password isppasswd2 ip address 10.0.0.2/32 ip tcp adjust-mss 1414 ! vlan database vlan 20,30 state enable ! hostname RouterB ! atmf network-name AMF001 ! interface port1.0.1 switchport atmf-link switchport mode trunk switchport trunk allowed vlan add 20,30 ! interface vlan20 ip address 192.168.20.1/24 ! interface vlan30 ip address 192.168.30.1/24 ! router vrrp 20 vlan20 virtual-ip 192.168.20.254 backup circuit-failover ppp0 2 priority 101 enable router vrrp 30 vlan30 virtual-ip 192.168.30.254 backup circuit-failover ppp0 2 priority 101 enable ! zone lan-atmf network atmf-link ip subnet 172.31.0.0/16 ! zone private network lan ip subnet 172.16.0.0/30 ip subnet 192.168.10.0/24 ip subnet 192.168.20.0/24 ip subnet 192.168.30.0/24 ! zone public network wan 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.wan to public.wan rule 40 permit esp from public.wan to public.wan rule 50 permit any from lan-atmf to lan-atmf rule 60 permit dns from public.wan to public protect ! nat rule 10 masq any from private to public enable ! crypto isakmp key secret-ab address 10.0.0.1 ! interface tunnel0 ip address 172.16.0.2/30 tunnel source ppp0 tunnel destination 10.0.0.1 tunnel mode ipsec ipv4 tunnel protection ipsec ! trigger 1 type interface port1.0.1 down script 1 lan-down.scp trigger 2 type interface port1.0.1 up script 1 lan-up.scp trigger 3 type interface ppp0 up script 1 ppp0-up.scp ! ip route 0.0.0.0/0 ppp0 ip route 192.168.10.0/24 tunnel0 ip route 192.168.10.0/24 Null 254 ! ip dns forwarding ! end |
! no spanning-tree rstp enable ! interface eth1 encapsulation ppp 0 ! interface ppp0 ppp ipcp dns request keepalive ppp username user@isp3 ppp password isppasswd3 ip address 10.0.0.3/32 ip tcp adjust-mss 1414 ! vlan database vlan 20,30 state enable ! hostname RouterC ! atmf network-name AMF001 ! interface port1.0.1 switchport atmf-link switchport mode trunk switchport trunk allowed vlan add 20,30 ! interface vlan20 ip address 192.168.20.2/24 ! interface vlan30 ip address 192.168.30.2/24 ! router vrrp 20 vlan20 virtual-ip 192.168.20.254 backup enable router vrrp 30 vlan30 virtual-ip 192.168.30.254 backup enable ! zone lan-atmf network atmf-link ip subnet 172.31.0.0/16 ! zone private network lan ip subnet 172.17.0.0/30 ip subnet 192.168.10.0/24 ip subnet 192.168.20.0/24 ip subnet 192.168.30.0/24 ! zone public network wan 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.wan to public.wan rule 40 permit esp from public.wan to public.wan rule 50 permit any from lan-atmf to lan-atmf rule 60 permit dns from public.wan to public protect ! nat rule 10 masq any from private to public enable ! crypto isakmp key secret-ac address 10.0.0.1 ! interface tunnel0 ip address 172.17.0.2/30 tunnel source ppp0 tunnel destination 10.0.0.1 tunnel mode ipsec ipv4 tunnel protection ipsec ! trigger 1 type interface ppp0 up script 1 ppp0-up.scp ! ip route 0.0.0.0/0 ppp0 ip route 192.168.10.0/24 tunnel0 ip route 192.168.10.0/24 Null 254 ! ip dns forwarding ! end |
! no spanning-tree rstp enable ! vlan database vlan 20,30 state enable ! interface vlan20 ip address 192.168.20.3/24 ! hostname Switch ! atmf network-name AMF001 ! atmf virtual-link id 1 ip 192.168.20.3 remote-id 1 remote-ip 192.168.10.1 ! interface port1.0.1-1.0.2 switchport switchport atmf-link switchport mode trunk switchport trunk allowed vlan add 20,30 ! interface port1.0.3-1.0.8 switchport mode access switchport access vlan 20 ! interface port1.0.9-1.0.16 switchport mode access switchport access vlan 30 ! ip route 0.0.0.0/0 192.168.20.254 ! end |
enable configure terminal no ip route 192.168.20.0/24 tunnel0 no ip route 192.168.30.0/24 tunnel0 |
enable configure terminal ip route 192.168.20.0/24 tunnel0 ip route 192.168.30.0/24 tunnel0 |
ena conf t int tunnel0 shut do wait 3 no shut int tunnel1 shut do wait 3 no shut |
enable configure terminal interface tunnel0 shutdown |
enable configure terminal interface tunnel0 no shutdown |
ena conf t int tunnel0 shut do wait 3 no shut |
ena conf t int tunnel0 shut do wait 3 no shut |
(C) 2015 アライドテレシスホールディングス株式会社
PN: 613-002107 Rev.E