FortiGate で PPPoE セッションを張り直す
※FortiOS 5.2 の場合です。
※FortiOS 5.4 でもできました。
接続中の PPPoE セッションを張り直す場合は、CLI で PPPoE を設定している Interface を持っている VDOM で、以下のコマンドを叩きます。
まず VDOM (ここでは root) に切り替えます。
FG60C # config vdom
FG60C (vdom) # edit root
current vf=root:0
コマンドを実行します。特に結果は教えてもらえないようです。
FG60C (root) # execute interface pppoe-reconnect wan1
Reconnecting to PPPoE on wan1
現在もらっている Global IP アドレスを知りたいときは、global か VDOM (該当の Interface を持っていない VDOM でもできるっぽい) で以下のようにコマンドを叩けばよいです (GUI で見た方が早いかも)。
FG60C (root) # get system interface physical | grep -A5 wan1
==[wan1]
mode: pppoe
ip: ***.**.24.27 255.255.255.255
ipv6: ::/0
status: up
speed: 1000Mbps (Duplex: full)
ちなみに | (パイプ) は前後にスペースを入れないとエラーになってしまいます。
Fortinet FortiGate-60E / FG-60E Next Generation (NGFW) Firewall Appliance Bundle with 1 Year 8x5 Forticare and FortiGuard by Fortinet
posted with amazlet at 17.09.24
Fortinet
売り上げランキング: 71,395
売り上げランキング: 71,395