コンフィグレーションガイド
- <この項の構成>
- (1) 特定プロトコル経路の広告
- (2) 特定プロトコルの特定経路の広告
- (3) 特定インタフェースからの経路の広告
- (4) 特定インタフェースからの経路の広告抑止
- (5) 特定インタフェースへの広告
- (6) 特定タグ値の経路の広告
- (7) 特定タグ値の経路の広告抑止
- (8) route-filterによる経路の広告
- (9) route-filter,network-filterによる経路の広告
(1) 特定プロトコル経路の広告
(a) 設定内容
インタフェース経路,およびスタティック経路を広告します。
(b) コンフィグレーション例
- [コマンドによる設定]
1 (config)# export proto ripng [export proto ripng] 2 (config)# proto direct [export proto ripng proto direct] 3 (config)# exit [export proto ripng] 4 (config)# proto static metric 2 [export proto ripng proto static metric 2] 5 (config)# exit [export proto ripng] 6 (config)# exit表12-74 コンフィグレーション解説
解説番号 解説 1〜3 インタフェース経路を広告します。 4〜6 スタティック経路をメトリック2で広告します。
- [コンフィグレーションの表示]
export proto ripng proto direct proto static metric 2
(2) 特定プロトコルの特定経路の広告
(a) 設定内容
スタティック経路のうち,デフォルト経路だけ広告します。
(b) コンフィグレーション例
- [コマンドによる設定]
1 (config)# export proto ripng [export proto ripng] 2 (config)# proto static [export proto ripng proto static] 3 (config)# ip6-default metirc 2 [export proto ripng proto static] 4 (config)# exit [export proto ripng] 5 (config)# exit表12-75 コンフィグレーション解説
解説番号 解説 1〜5 スタティック経路のうち,デフォルト経路だけメトリック2で広告します。
- [コンフィグレーションの表示]
export proto ripng proto static ip6-default metirc 2
(3) 特定インタフェースからの経路の広告
(a) 設定内容
インタフェースPoint-1から受信した経路だけ広告します。
(b) コンフィグレーション例
- [コマンドによる設定]
1 (config)# export proto ripng [export proto ripng] 2 (config)# proto ripng interface Point-1 [export proto ripng proto ripng interface Point-1] 3 (config)# exit [export proto ripng] 4 (config)# proto ripng restrict [export proto ripng] 5 (config)# exit表12-76 コンフィグレーション解説
解説番号 解説 1〜5 インタフェースPoint-1から受信した経路だけ,その他のインタフェースに広告します。
- [コンフィグレーションの表示]
export proto ripng proto ripng interface Point-1 proto ripng restrict
(4) 特定インタフェースからの経路の広告抑止
(a) 設定内容
インタフェースPoint-1から受信した経路を,その他のインタフェースに広告しません。
(b) コンフィグレーション例
- [コマンドによる設定]
1 (config)# export proto ripng [export proto ripng] 2 (config)# proto ripng interface Point-1 restrict [export proto ripng] 3 (config)# exit表12-77 コンフィグレーション解説
解説番号 解説 1〜3 インタフェースPoint-1から受信した経路を,その他のインタフェースに広告しません。
- [コンフィグレーションの表示]
export proto ripng proto ripng interface Point-1 restrict
(5) 特定インタフェースへの広告
(a) 設定内容
インタフェースPoint-1に対し,インタフェース経路,およびスタティック経路を広告します。
(b) コンフィグレーション例
- [コマンドによる設定]
1 (config)# export proto ripng interface Point-1 [export proto ripng interface Point-1] 2 (config)# proto direct [export proto ripng interface Point-1 proto direct] 3 (config)# exit [export proto ripng interface Point-1] 4 (config)# proto static metric 2 [export proto ripng interface Point-1 proto static metric 2] 5 (config)# exit [export proto ripng interface Point-1] 6 (config)# exit表12-78 コンフィグレーション解説
解説番号 解説 1〜6 インタフェースPoint-1に対し,インタフェース経路,およびスタティック経路をメトリック2で広告します。
- [コンフィグレーションの表示]
export proto ripng interface Point-1 proto direct proto static metric 2
(6) 特定タグ値の経路の広告
(a) 設定内容
タグ値100を持つRIPng経路だけを広告します。
(b) コンフィグレーション例
- [コマンドによる設定]
1 (config)# export proto ripng [export proto ripng] 2 (config)# proto ripng tag 100 [export proto ripng proto ripng tag 100] 3 (config)# exit [export proto ripng] 4 (config)# proto ripng restrict [export proto ripng] 5 (config)# exit表12-79 コンフィグレーション解説
解説番号 解説 1〜5 タグ値100を持つ経路だけを広告します。
- [コンフィグレーションの表示]
export proto ripng proto ripng tag 100 proto ripng restrict
(7) 特定タグ値の経路の広告抑止
(a) 設定内容
タグ値100を持つ経路以外を広告します。
(b) コンフィグレーション例
- [コマンドによる設定]
1 (config)# export proto ripng [export proto ripng] 2 (config)# proto ripng tag 100 restrict [export proto ripng] 3 (config)# exit表12-80 コンフィグレーション解説
解説番号 解説 1〜3 タグ値100を持つ経路の広告を抑止します。
- [コンフィグレーションの表示]
export proto ripng proto ripng tag 100 restrict
(8) route-filterによる経路の広告
(a) 設定内容
インタフェースPoint-1に対し,インタフェース経路,スタティック経路,およびインタフェースPoint-2から受信したデフォルト経路だけを広告します。
(b) コンフィグレーション例
- [コマンドによる設定]
1 (config)# route-filter name RIPng-OUT [route-filter name RIPng-OUT] 2 (config)# seq 100 match proto direct [route-filter name RIPng-OUT] 3 (config)# seq 200 match proto static [route-filter name RIPng-OUT] 4 (config)# seq 200 set metric 2 [route-filter name RIPng-OUT] 5 (config)# seq 300 match proto ripng interface Point-2 [route-filter name RIPng-OUT] 6 (config)# seq 300 match network ip6-default [route-filter name RIPng-OUT] 7 (config)# seq 400 drop [route-filter name RIPng-OUT] 8 (config)# exit 9 (config)# export proto ripng interface Point-1 route-filter RIPng-OUT表12-81 コンフィグレーション解説
解説番号 解説 1〜9 インタフェースPoint-1に対し,インタフェース経路,スタティック経路,およびインタフェースPoint-2から受信したデフォルト経路だけを広告します。
- [コンフィグレーションの表示]
route-filter name RIPng-OUT seq 100 match proto direct seq 200 match proto static seq 200 set metric 2 seq 300 match proto ripng interface Point-2 seq 300 match network ip6-default seq 400 drop ! export proto ripng interface Point-1 route-filter RIPng-OUT
(9) route-filter,network-filterによる経路の広告
(a) 設定内容
インタフェースPoint-1に対し,インタフェース経路,スタティック経路,およびインタフェースPoint-2から受信したデフォルト経路だけを広告します。
(b) コンフィグレーション例
- [コマンドによる設定]
1 (config)# network-filter name ADV-NET [network-filter name ADV-NET] 2 (config)# ip6-default [network-filter name ADV-NET] 3 (config)# exit 4 (config)# route-filter name RIPng-OUT [route-filter name RIPng-OUT] 5 (config)# seq 100 match proto direct [route-filter name RIPng-OUT] 6 (config)# seq 200 match proto static [route-filter name RIPng-OUT] 7 (config)# seq 200 set metric 2 [route-filter name RIPng-OUT] 8 (config)# seq 300 match proto ripng interface Point-2 [route-filter name RIPng-OUT] 9 (config)# seq 300 match network-filter ADV-NET [route-filter name RIPng-OUT] 10 (config)# seq 400 drop [route-filter name RIPng-OUT] 11 (config)# exit 12 (config)# export proto ripng interface Point-1 route-filter RIPng-OUT表12-82 コンフィグレーション解説
解説番号 解説 1〜12 インタフェースPoint-1に対し,インタフェース経路,スタティック経路,およびインタフェースPoint-2から受信したデフォルト経路だけを広告します。
- [コンフィグレーションの表示]
network-filter name ADV-NET ip6-default ! route-filter name RIPng-OUT seq 100 match proto direct seq 200 match proto static seq 200 set metric 2 seq 300 match proto ripng interface Point-2 seq 300 match network-filter ADV-NET seq 400 drop ! export proto ripng interface Point-1 route-filter RIPng-OUT
- [注意事項]
- 経路フィルタ(route-filter)未使用時のエキスポート・フィルタの検索順序を次に示します。下記検索順序で検索した結果,最初に一致したフィルタの指定値(metric,またはrestrict)に従い,広告経路を取り扱います。
- 「フィルタリング条件」
- (a)広告先ターゲット情報:interface指定,未指定(全指定)
- (b)学習元プロトコル情報:<source-protocol>
- (c)宛先ネットワーク情報:<Route_Filter>
- なお,「一致」とは,定義されたフィルタリング条件(上記(a),(b),(c))がすべて一致した場合を指します。
- 「フィルタ検索順序」
- (a)広告先ターゲット情報:interface指定,未指定の順に検索します。各指定(interface指定,未指定)が複数定義されている場合は各指定内での定義順に検索します。
- (b)学習元プロトコル情報:<source-protocol>の定義順に検索します。
- (c)宛先ネットワーク情報:よりマスク長の長い<Route_Filter>順に検索します。
- 経路フィルタ(route-filter)使用時のエキスポート・フィルタの検索順序を次に示します。下記検索順序で検索した結果,最初に一致したフィルタの指定値(route-filter内のset,drop,またはaccept)に従い,広告経路を取り扱います。なお,エキスポート・フィルタに複数の経路フィルタ識別子を列記指定した場合は,列記指定した経路フィルタのどれかで一致すると,当該フィルタにdropまたはacceptの指定がなければ,次に列記されている経路フィルタを続けて検索します。
- 「フィルタリング条件」
- (a)広告先ターゲット情報:interface指定,未指定(全指定)
- (b)経路フィルタ情報:route-filter内のmatch情報
- なお,「一致」とは,定義されたフィルタリング条件(上記(a),(b))がすべて一致した場合を指します。
- 「フィルタ検索順序」
- (a) 広告先ターゲット情報:interface指定,未指定の順に検索します。各指定(interface指定,未指定)が複数定義されている場合は各指定内での定義順に検索します。
- (b) 経路フィルタ情報:seq番号順に検索します。
- 本装置内に持つ経路情報が定義されたフィルタリング条件に一致しない場合,当該経路の取り扱いはデフォルト動作(直結経路,およびRIPng経路を広告)と同様となります。
- RIPngは経路情報のメトリック値で経路選択を行います。RIPng以外(直結経路および集約経路を除く)で学習した経路情報をRIPngでエキスポートする場合,RIPngのデフォルト・メトリックまたはエキスポート・フィルタのメトリックを指定してください。指定されていない場合,当該経路情報は広告されません。
Copyright (c)2005, 2011, ALAXALA Networks Corporation. All rights reserved.