[index] AT-AR2050V/AT-AR3050S/AT-AR4050S コマンドリファレンス 5.5.0
NoteAMFマスター機能を使用するにはAMFマスターライセンスが必要です。
NoteAMFマスター機能はAT-AR4050Sでのみ利用可能です。
NoteAT-AR4050Sは外部メディアとしてUSBメモリーとSDHCカードの両方をサポートしていますが、AMFバックアップ機能においてはSDHCカードのみ使用可能です。
AMFネットワーク名 | AMF001 | |
AMFマスター | ルーターA | |
AMF冗長バックアップ機能 | 有効 | |
AMFバックアップ用SSHサーバー | 192.168.0.100 | |
AMFバックアップ用外部メディア | SDHCカード | |
AMF仮想リンク | 192.168.0.1(ルーターA:AMFマスター) - 192.168.10.2(スイッチB:AMFメンバー) | |
(AT-AR4050S) |
||
ISP接続用ユーザー名 | user@isp1 | user@isp2 |
ISP接続用パスワード | isppasswd1 | isppasswd2 |
PPPoEサービス名 | 指定なし | 指定なし |
WAN側IPアドレス | 10.0.0.1/32 | 10.0.0.2/32 |
DNSサーバーIPアドレス | 自動取得(IPCP) | 自動取得(IPCP) |
WAN側物理インターフェース | eth1 | eth1 |
WAN側(ppp0)IPアドレス | 10.0.0.1/32 | 10.0.0.2/32 |
LAN側(vlan1)IPアドレス | 192.168.0.1/24 | 192.168.10.1/24 |
no spanning-tree rstp enable
interface eth1 encapsulation ppp 0
interface ppp0 ppp ipcp dns request keepalive ip address negotiated ppp username user@isp1 ppp password isppasswd1 ip tcp adjust-mss pmtu
interface vlan1 ip address 192.168.0.1/24
hostname RouterA
atmf network-name AMF001 atmf master atmf backup redundancy enable atmf backup server id 1 192.168.0.100 username test atmf virtual-link id 1 ip 192.168.0.1 remote-id 1 remote-ip 192.168.10.2
interface port1.0.1 switchport atmf-link
zone private network lan ip subnet 192.168.0.0/24 ip subnet 0.0.0.0/0 interface vlan1 network ospf ip subnet 224.0.0.5/32 ip subnet 224.0.0.6/32 network tunnel ip subnet 0.0.0.0/0 interface tunnel0
zone public network wan ip subnet 0.0.0.0/0 interface ppp0 host ppp0 ip address dynamic 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.ppp0 to public.wan rule 40 permit isakmp from public.wan to public.wan.ppp0 rule 50 permit esp from public.wan.ppp0 to public.wan rule 60 permit esp from public.wan to public.wan.ppp0 rule 70 permit dns from public.wan.ppp0 to public.wan protect
nat rule 10 masq any from private to public enable
crypto isakmp key secret address 10.0.0.2
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 ip tcp adjust-mss 1260 mtu 1300
ip dns forwarding
router ospf ospf router-id 0.0.0.1 network 172.16.0.0/30 area 0 network 192.168.0.0/24 area 0
ip route 0.0.0.0/0 ppp0 ip route 192.168.10.0/24 Null 254
end
no spanning-tree rstp enable
interface eth1 encapsulation ppp 0
interface ppp0 ppp ipcp dns request keepalive ip address negotiated ppp username user@isp2 ppp password isppasswd2 ip tcp adjust-mss pmtu
interface vlan1 ip address 192.168.10.1/24
hostname RouterB
atmf network-name AMF001
interface port1.0.1 switchport atmf-link
zone private network lan ip subnet 192.168.10.0/24 network ospf ip subnet 224.0.0.5/32 ip subnet 224.0.0.6/32 network tunnel ip subnet 0.0.0.0/0 interface tunnel0
zone public network wan ip subnet 0.0.0.0/0 interface ppp0 host ppp0 ip address dynamic 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.ppp0 to public.wan rule 40 permit isakmp from public.wan to public.wan.ppp0 rule 50 permit esp from public.wan.ppp0 to public.wan rule 60 permit esp from public.wan to public.wan.ppp0 rule 70 permit dns from public.wan.ppp0 to public.wan protect
nat rule 10 masq any from private to public enable
crypto isakmp key secret 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 ip tcp adjust-mss 1260 mtu 1300
ip dns forwarding
router ospf ospf router-id 0.0.0.2 passive-interface vlan1 network 172.16.0.0/30 area 0 network 192.168.10.0/24 area 0
ip route 0.0.0.0/0 ppp0 ip route 192.168.0.0/24 Null 254
end
copy running-config startup-config
」の書式で実行します。awplus# copy running-config startup-config ↓ Building configuration... [OK]
awplus# write memory ↓ Building configuration... [OK]
awplus(config)# log buffered level informational facility kern msgtext Firewall ↓
awplus# show log | include Firewall ↓
Note仮想リンクが設定されている構成図中のスイッチBは、隣接するノード(ルーターB)の補助によりオートリカバリーが可能です。詳細は、AMF運用編の「仮想リンク経由で接続しているAMFノードのオートリカバリー」をご覧ください。なお、スイッチBをオートリカバリーするためには、ルーターBのインターネット接続とIPsecトンネル接続が確立されている必要があります。
Note一般的な手順については、AMF応用編の「拠点側ルーターの手動リカバリー」をご参照ください。
! no spanning-tree rstp enable ! interface eth1 encapsulation ppp 0 ! interface ppp0 ppp ipcp dns request keepalive ip address negotiated ppp username user@isp2 ppp password isppasswd2 ip tcp adjust-mss pmtu ! interface vlan1 ip address 192.168.10.1/24 ! atmf network-name AMF001 ! interface port1.0.1 switchport atmf-link ! zone private network lan ip subnet 192.168.10.0/24 network ospf ip subnet 224.0.0.5/32 ip subnet 224.0.0.6/32 network tunnel ip subnet 0.0.0.0/0 interface tunnel0 ! zone public network wan ip subnet 0.0.0.0/0 interface ppp0 host ppp0 ip address dynamic 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.ppp0 to public.wan rule 40 permit isakmp from public.wan to public.wan.ppp0 rule 50 permit esp from public.wan.ppp0 to public.wan rule 60 permit esp from public.wan to public.wan.ppp0 rule 70 permit dns from public.wan.ppp0 to public.wan protect ! nat rule 10 masq any from private to public enable ! crypto isakmp key secret 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 ip tcp adjust-mss 1260 mtu 1300 ! ip route 0.0.0.0/0 ppp0 ip route 192.168.0.0/24 tunnel0 ip route 192.168.0.0/24 Null 254 !
awplus# atmf recover RouterB ↓
! no spanning-tree rstp enable ! interface eth1 encapsulation ppp 0 ! interface ppp0 ppp ipcp dns request keepalive ip address negotiated ppp username user@isp1 ppp password isppasswd1 ip tcp adjust-mss pmtu ! interface vlan1 ip address 192.168.0.1/24 ! hostname RouterA ! atmf network-name AMF001 atmf master atmf backup redundancy enable atmf backup server id 1 192.168.0.100 username test atmf virtual-link id 1 ip 192.168.0.1 remote-id 1 remote-ip 192.168.10.2 ! interface port1.0.1 switchport atmf-link ! zone private network lan ip subnet 192.168.0.0/24 ip subnet 0.0.0.0/0 interface vlan1 network ospf ip subnet 224.0.0.5/32 ip subnet 224.0.0.6/32 network tunnel ip subnet 0.0.0.0/0 interface tunnel0 ! zone public network wan ip subnet 0.0.0.0/0 interface ppp0 host ppp0 ip address dynamic 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.ppp0 to public.wan rule 40 permit isakmp from public.wan to public.wan.ppp0 rule 50 permit esp from public.wan.ppp0 to public.wan rule 60 permit esp from public.wan to public.wan.ppp0 rule 70 permit dns from public.wan.ppp0 to public.wan protect ! nat rule 10 masq any from private to public enable ! crypto isakmp key secret address 10.0.0.2 ! 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 ip tcp adjust-mss 1260 mtu 1300 ! ip dns forwarding ! router ospf ospf router-id 0.0.0.1 network 172.16.0.0/30 area 0 network 192.168.0.0/24 area 0 ! ip route 0.0.0.0/0 ppp0 ip route 192.168.10.0/24 Null 254 ! end
! no spanning-tree rstp enable ! interface eth1 encapsulation ppp 0 ! interface ppp0 ppp ipcp dns request keepalive ip address negotiated ppp username user@isp2 ppp password isppasswd2 ip tcp adjust-mss pmtu ! interface vlan1 ip address 192.168.10.1/24 ! hostname RouterB ! atmf network-name AMF001 ! interface port1.0.1 switchport atmf-link ! zone private network lan ip subnet 192.168.10.0/24 network ospf ip subnet 224.0.0.5/32 ip subnet 224.0.0.6/32 network tunnel ip subnet 0.0.0.0/0 interface tunnel0 ! zone public network wan ip subnet 0.0.0.0/0 interface ppp0 host ppp0 ip address dynamic 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.ppp0 to public.wan rule 40 permit isakmp from public.wan to public.wan.ppp0 rule 50 permit esp from public.wan.ppp0 to public.wan rule 60 permit esp from public.wan to public.wan.ppp0 rule 70 permit dns from public.wan.ppp0 to public.wan protect ! nat rule 10 masq any from private to public enable ! crypto isakmp key secret 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 ip tcp adjust-mss 1260 mtu 1300 ! ip dns forwarding ! router ospf ospf router-id 0.0.0.2 passive-interface vlan1 network 172.16.0.0/30 area 0 network 192.168.10.0/24 area 0 ! ip route 0.0.0.0/0 ppp0 ip route 192.168.0.0/24 Null 254 ! end
(C) 2015 - 2023 アライドテレシスホールディングス株式会社
PN: 613-003184 Rev.A