古河電工ネットワーク機器の総合ブランド ファイテルネット
古河電工
FITELnetトップ製品ラインナップイベント&セミナーセールス&サポート
Routing to the Future FITELnet
設定例
USBデータ通信端末をルータから監視する設定
F60,F200
説明
データ通信端末の動作状態を監視する機能を利用する設定です。
データ通信端末に異常がある場合はログ(slog)を記録します。
イベントアクション機能のアクション設定と組合わせることができます。
構成
通信設定一覧

キャリア モデム 電話番号
※1
認証用ID/パスワード
※2
データ端末初期化文字列
※1
au DATA03/DATA07 *99**24# au@au-win.ne.jp/au 設定不要
IIJモバイル 120FU *99***2# (任意) 設定不要
A2502 *99***2# (任意) at+cgdcont=2,"IP","iijmobile.jp"
NTTコミュニケーションズ MF110 *99***1# (任意) at+cgdcont=1,"PPP","3g-vpn.ntt.com"
MF120 *99***3# 設定不要 at+cgdcont=3,"PPP","mopera.net"
NTTドコモ L-02C *99***1# 設定不要 at+cgdcont=1,"IP","mopera.net"
L-05A/L-08C *99***5# 設定不要 設定不要
イー・モバイル D12LC/D21LC
D23HW/D23HW
D26HW
*99***1# em/em 設定不要
D33HW/GD01
D31HW/D41HW
*99***1# em/em AT+cgdcont=1,"IP","emb.ne.jp"
ウィルコム AX530S 0570570711##64 prin/prin 設定不要
HX004IN *99# wcm/wcm at+cgdcont=1,"IP","c.willcomcore.jp"
ソフトバンク C01LC/C02LC T*99***1# em/em 設定不要
C01SW/C02SW *99# ai@softbank/softbank 設定不要
004Z *99# biz@bizflat.softbank/biz at+cgdcont=1,"IP","bizflat.softbank"
日本通信 MF636 *99# (任意) at+cgdcont=1,"IP","dm.jplat.net"

※1:キャリアから指定された内容を設定してください。

※2:契約内容またはキャリアから指定される認証用ID、パスワードを設定してください。

コマンド設定

Router A

ip route 0.0.0.0 0.0.0.0 dialer 1
access-list 1 permit 192.168.0.0 0.0.0.255
proxydns mode v4
service dhcp-server
hostname Router_A
event-class 1
 check behavior modem 1 invert
 description Check-F200-Behavior-Event
 logging event state-change enable
exit
event-class 2
 check initialization modem 1 invert
 description Check-F200-Initialization-Event
 logging event state-change enable
exit
event-class 3
 check insertion modem 1 invert
 description Check-F200-Insertion-Event
 logging event state-change enable
exit
ip dhcp pool lan 1
 dns-server 0.0.0.0
 default-router 0.0.0.0
exit
interface dialer 1
 max-call off
 ip nat inside source list 1 interface
 caller ********
 ppp account ******** ******
exit
interface lan 1
 ip address 192.168.0.1 255.255.255.0
exit
interface modem 1
 idle-timer send off
 idle-timer receive off
 forced disconnect packet off
 forced disconnect cumulative-time off
 auto connect on
 modem out-strings init 1 ********
 physical-layer usb 1
exit
end
設定手順

Router A

設定内容 画面表示例
特権ユーザモードへの移行
パスワードの入力

設定情報の初期化

設定モードの変更
設定入力





※1




※2




※3



























設定保存



装置再起動
Router>enable
Enter password:
Router#
Router#clear working.cfg
Router#
Router#configure terminal
Router(config)#ip route 0.0.0.0 0.0.0.0 dialer 1
Router(config)#access-list 1 permit 192.168.0.0 0.0.0.255
Router(config)#proxydns mode v4
Router(config)#service dhcp-server
Router(config)#hostname Router_A
Router_A(config)#event-class 1
Router_A(config-event-class 1)# check behavior modem 1 invert
Router_A(config-event-class 1)# description Check-F200-Behavior-Event
Router_A(config-event-class 1)# logging event state-change enable
Router_A(config-event-class 1)#exit
Router_A(config)#event-class 2
Router_A(config-event-class 2)# check initialization modem 1 invert
Router_A(config-event-class 2)# description Check-F200-Initialization-Event
Router_A(config-event-class 2)# logging event state-change enable
Router_A(config-event-class 2)#exit
Router_A(config)#event-class 3
Router_A(config-event-class 3)# check insertion modem 1 invert
Router_A(config-event-class 3)# description Check-F200-Insertion-Event
Router_A(config-event-class 3)# logging event state-change enable
Router_A(config-event-class 3)#exit
Router_A(config)#ip dhcp pool lan 1
Router_A(config-dhcp-pool)# dns-server 0.0.0.0
Router_A(config-dhcp-pool)# default-router 0.0.0.0
Router_A(config-dhcp-pool)#exit
Router_A(config)#interface dialer 1
Router_A(config-if dialer 1)# max-call off
Router_A(config-if dialer 1)# ip nat inside source list 1 interface
Router_A(config-if dialer 1)# caller ********
Router_A(config-if dialer 1)# ppp account ******** ******
Router_A(config-if dialer 1)#exit
Router_A(config)#interface lan 1
Router_A(config-if lan 1)# ip address 192.168.0.1 255.255.255.0
Router_A(config-if lan 1)#exit
Router_A(config)#interface modem 1
Router_A(config-if modem 1)# idle-timer send off
Router_A(config-if modem 1)# idle-timer receive off
Router_A(config-if modem 1)# forced disconnect packet off
Router_A(config-if modem 1)# forced disconnect cumulative-time off
Router_A(config-if modem 1)# auto connect on
Router_A(config-if modem 1)# physical-layer usb 1
Router_A(config-if modem 1)#exit
Router_A(config)#
Router_A(config)#end
Router_A#
Router_A#save SIDE-A
% saving working-config
% finished saving

Router_A#reset
Going to reset with SIDE-A.frm and SIDE-A.cfg.
Boot-back not scheduled for next boot.
Next rebooting firmware SIDE-A.frm is fine.
Are you OK to cold start?(y/n)y

※1:invertを指定した場合、 真(true)と偽(false)の状態を反転させて通知します。
     logging event state-change enable でログ(slog)を記録します。
     event-classの各クラスの状態変化が発生した場合にログを記載します。

※2:データ通信端末の初期化が正常か確認します。
     logging event state-change enable でログ(slog)を記録します。
     event-classの各クラスの状態変化が発生した場合にログを記載します。

※3:アタッチ状態においてデータ通信端末が挿入されていることを確認します。
     invertを指定した場合、 真(true)と偽(false)の状態を反転させて通知します。
     logging event state-change enable でログ(slog)を記録します。
     event-classの各クラスの状態変化が発生した場合にログを記載します。

設定状態の確認 1

イベントクラス情報を確認します。

確認内容 画面表示例
イベントクラス情報を表示
※1








※2









※1








※2









※1








※2









Router_A#show event-class
Event-class[1] : False
 Description : Check-F200-Behavior-Event
 Conditions : (Match-all)
  ICMP information
  I/F information
  VRRP information
  Signal level information
  Signal quality information
  Modem status information
   modem 1 behavior : False (Inverted from True)
  Fan information
  Watch information
  duration
 Logging enabled
 Dampening Penalty: Current/Suppress-Threshold/Reuse-Threshold 465/20000/10000
 Flapped Frequency: 0
 Total State changes : 1 times
   Change to True : 0, False : 1, Unknown : 0
   Last state change : 11:47:13 2012/02/08
Event-class[2] : False
 Description : Check-F200-Initialization-Event
 Conditions : (Match-all)
  ICMP information
  I/F information
  VRRP information
  Signal level information
  Signal quality information
  Modem status information
   modem 1 initialization : Unknown
  Fan information
  Watch information
  duration
 Logging enabled
 Dampening Penalty: Current/Suppress-Threshold/Reuse-Threshold 465/20000/10000
 Flapped Frequency: 0
 Total State changes : 1 times
   Change to True : 0, False : 1, Unknown : 0
   Last state change : 11:47:13 2012/02/08
Event-class[3] : False
 Description : Check-F200-Insertion-Event
 Conditions : (Match-all)
  ICMP information
  I/F information
  VRRP information
  Signal level information
  Signal quality information
  Modem status information
   modem 1 insertion : False (Inverted from True)
  Fan information
  Watch information
  duration
 Logging enabled
 Dampening Penalty: Current/Suppress-Threshold/Reuse-Threshold 465/20000/10000
 Flapped Frequency: 0
 Total State changes : 1 times
   Change to True : 0, False : 1, Unknown : 0
   Last state change : 11:47:13 2012/02/08

※1:Event-class登録番号とEvent-class状態を確認します。

※2:モデムイベントアクションの状態を確認します。

設定状態の確認 2

slogを確認します。

確認内容 画面表示例
slogを表示










※1

※2

※3
Router_A#show slog

0000 0000:00:00.00 2012/02/07 (tue) 19:33:13 0 00000000 4f1e662c
  #BOOT[V01.06(02)-020112] SIDE-A.frm SIDE-A.cfg
0001 0000:00:02.34 2012/02/07 (tue) 19:33:17 71 00020000 06190204
  Attach 0/ohci0 mfct:SII pdct:PHS AX530S
0002 0000:00:03.35 2012/02/07 (tue) 19:33:19 50 00000000 00000000
  ssh-server disabled.
0003 0000:00:06.44 2012/02/07 (tue) 19:33:22 47 2f000000 00000000
  usb 1 is attached ().
0004 0000:00:06.89 2012/02/07 (tue) 19:33:22 59 3b020001 00000000
  Evactd:Event-class 1: state change to False
0005 0000:00:06.89 2012/02/07 (tue) 19:33:22 59 3b020001 00000000
  Evactd:Event-class 2: state change to False
0006 0000:00:06.89 2012/02/07 (tue) 19:33:22 59 3b020001 00000000
  Evactd:Event-class 3: state change to False
0007 0000:00:09.34 2012/02/07 (tue) 19:33:25 5 00000000 00000a00
  Interface lan 1, changed state to up
0008 0000:00:52.99 2012/02/07 (tue) 19:34:08 5 0000001b 08050a00
  Modem1 Connected Calling ********. by dialer1

※1:Event-class 1(behaviorイベント)の状態を確認します。

※2:Event-class 2(initializationイベント)の状態を確認します。

※3:Event-class 3(insertionイベント)の状態を確認します。

ページトップへ

All Rights Reserved, Copyright(C) FURUKAWA ELECTRIC CO., LTD. 2012