fc2ブログ

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)
ちなみに | (パイプ) は前後にスペースを入れないとエラーになってしまいます。

FortiGate完全攻略
FortiGate完全攻略
posted with amazlet at 17.10.01
椎屋 淳伸
技術評論社
売り上げランキング: 34,158

Posted byざるそば

Comments 0

There are no comments yet.

Leave a reply