構成定義ガイド
- <この項の構成>
- (1) 設定内容の概要
- (2) 構成図と設定条件
- (3) 構成定義情報例
(1) 設定内容の概要
AS番号200(AS200),AS番号300(AS300),AS番号400(AS400)およびAS番号500(AS500)の自律システムに接続されたAS番号100の自律システム(AS100)において,AS200およびAS300から広告された経路情報をAS内およびAS400,AS500に配布し,AS400およびAS500から広告された特定ネットワーク宛の経路情報をAS内およびAS200,AS300に配布します。また,AS内のネットワークをスタティック定義し,AS200,AS300,AS400およびAS500に広告します。
(2) 構成図と設定条件
- [構成図]
図11-19 構成図
- [設定条件]
- <本装置A/Bの環境>
- AS200およびAS300のBGP4+スピーカと外部ピアによりピアリングします。
- AS内の他のBGP4+スピーカと内部ピアによりピアリングします。
- OSPFv3により直結経路を,BGP4+によりAS200およびAS300から受信した経路をAS内に広告します。その際,AS200およびAS300からの経路はAS200を優先します。
- AS400およびAS500からの経路をAS200およびAS300に広告します。また,AS内のネットワークをスタティック定義し,AS200およびAS300に広告します。
- <本装置C/Dの環境>
- AS400およびAS500のBGP4+スピーカと外部ピアによりピアリングします。
- AS内の他のBGP4+スピーカと内部ピアによりピアリングします。
- OSPFv3により直結経路を,BGP4+によりAS400およびAS500から受信した特定ネットワーク宛の経路をAS内に広告します。
- AS200およびAS300からの経路をAS400およびAS500に広告します。また,AS内のネットワークをスタティック定義し,AS400およびAS500に広告します。
(3) 構成定義情報例
- [コマンドによる設定]
- <本装置A>
1 (config)# router local-address 3ffe:501:811:ff01::1 2 (config)# autonomoussystem 100 3 (config)# routerid 172.16.2.1 4 (config)# ospf6 yes [ospf6] 5 (config)# backbone [ospf6 backbone] 6 (config)# interface Point-AB [ospf6 backbone interface Point-AB] 7 (config)# exit [ospf6 backbone] 8 (config)# interface Point-AC [ospf6 backbone interface Point-AC] 9 (config)# exit [ospf6 backbone] 10 (config)# interface Point-AD [ospf6 backbone interface Point-AD] 11 (config)# exit [ospf6 backbone] 12 (config)# interface localhost [ospf6 backbone interface localhost] 13 (config)# passive [ospf6 backbone interface localhost] 14 (config)# exit [ospf6 backbone] 15 (config)# exit [ospf6] 16 (config)# exit 17 (config)# bgp4+ yes [bgp4+] 18 (config)# externalpeeras 200 [bgp4+ externalpeeras 200] 19 (config)# peer fe80::200%AtoExt [bgp4+ externalpeeras 200 peer fe80::200%AtoExt] 20 (config)# exit [bgp4+ externalpeeras 200] 21 (config)# exit [bgp4+] 22 (config)# routingpeeras 100 [bgp4+ routingpeeras 100] 23 (config)# lcladdr 3ffe:501:811:ff01::1 [bgp4+ routingpeeras 100] 24 (config)# peer 3ffe:501:811:ff01::2 [bgp4+ routingpeeras 100 peer 3ffe:501:811:ff01::2] 25 (config)# exit [bgp4+ routingpeeras 100] 26 (config)# peer 3ffe:501:811:ff01::3 [bgp4+ routingpeeras 100 peer 3ffe:501:811:ff01::3] 27 (config)# exit [bgp4+ routingpeeras 100] 28 (config)# peer 3ffe:501:811:ff01::4 [bgp4+ routingpeeras 100 peer 3ffe:501:811:ff01::4] 29 (config)# exit [bgp4+ routingpeeras 100] 30 (config)# exit [bgp4+] 31 (config)# exit 32 (config)# attribute-list set-attribute AS200-IN-ATTR [attribute-list set-attribute AS200-IN-ATTR] 33 (config)# localpref 300 [attribute-list set-attribute AS200-IN-ATTR] 34 (config)# exit 35 (config)# route-filter name AS200-IN [route-filter name AS200-IN] 36 (config)# seq 100 set set-attribute AS200-IN-ATTR [route-filter name AS200-IN] 37 (config)# exit 38 (config)# import proto bgp4+ as 200 route-filter AS200-IN 39 (config)# route-filter name AS100-OUT [route-filter name AS100-OUT] 40 (config)# seq 100 match proto bgp4+ as 200 [route-filter name AS100-OUT] 41 (config)# exit 42 (config)# export proto bgp4+ as 100 route-filter AS100-OUT 43 (config)# static [static] 44 (config)# 3ffe:501:811:ff01::/64 interface null [static] 45 (config)# exit 46 (config)# route-filter name AS200-OUT [route-filter name AS200-OUT] 47 (config)# seq 100 match proto static [route-filter name AS200-OUT] 48 (config)# exit 49 (config)# network-filter name AS200-OUT-NET [network-filter name AS200-OUT-NET] 50 (config)# 3ffe:501:811:ff01::/64 exact [network-filter name AS200-OUT-NET] 51 (config)# exit 52 (config)# route-filter name AS200-OUT [route-filter name AS200-OUT] 53 (config)# seq 100 match network-filter AS200-OUT-NET [route-filter name AS200-OUT] 54 (config)# seq 200 match proto bgp4+ [route-filter name AS200-OUT] 55 (config)# exit 56 (config)# attribute-list attribute-filter AS200-OUT-ATTR [attribute-list attribute-filter AS200-OUT-ATTR] 57 (config)# aspath "400 .*" [attribute-list attribute-filter AS200-OUT-ATTR] 58 (config)# aspath "500 .*" [attribute-list attribute-filter AS200-OUT-ATTR] 59 (config)# exit 60 (config)# route-filter name AS200-OUT [route-filter name AS200-OUT] 61 (config)# seq 200 match attribute-filter AS200-OUT-ATTR [route-filter name AS200-OUT] 62 (config)# exit 63 (config)# export proto bgp4+ as 200 route-filter AS200-OUT表11-59 本装置Aの構成定義情報解説
解説番号 解説 1〜3 自装置アドレス,自装置の属するAS番号,およびルータIDを定義します。 4〜11 自AS内向けの各インタフェースでOSPFv3を定義します。 12〜16 自装置アドレスをOSPFv3インタフェースとして広告することを定義します。 17〜21 BGP4+プロトコルを動作させることを定義します。また,AS200に対する外部ピアを定義します。 22〜31 装置アドレスを使用し,本装置B,C,Dへの内部ピアを定義します。 32〜38 AS200から受信した経路のLOCALPREF値を300にするよう定義します。 39〜42 AS200から受信した経路をAS内の内部ピアに広告するよう定義します。 43〜45 AS内のネットワークをスタティック経路として定義します。 46〜63 生成したスタティック経路,AS400から受信した経路,AS500から受信した経路をAS200との外部ピアに広告するよう定義します。
- <本装置B>
1 (config)# router local-address 3ffe:501:811:ff01::2 2 (config)# autonomoussystem 100 3 (config)# routerid 172.16.2.2 4 (config)# ospf6 yes [ospf6] 5 (config)# backbone [ospf6 backbone] 6 (config)# interface Point-BA [ospf6 backbone interface Point-BA] 7 (config)# exit [ospf6 backbone] 8 (config)# interface Point-BC [ospf6 backbone interface Point-BC] 9 (config)# exit [ospf6 backbone] 10 (config)# interface Point-BD [ospf6 backbone interface Point-BD] 11 (config)# exit [ospf6 backbone] 12 (config)# interface localhost [ospf6 backbone interface localhost] 13 (config)# passive [ospf6 backbone interface localhost] 14 (config)# exit [ospf6 backbone] 15 (config)# exit [ospf6] 16 (config)# exit 17 (config)# bgp4+ yes [bgp4+] 18 (config)# externalpeeras 300 [bgp4+ externalpeeras 300] 19 (config)# peer fe80::300%BtoExt [bgp4+ externalpeeras 300 peer fe80::300%BtoExt] 20 (config)# exit [bgp4+ externalpeeras 300] 21 (config)# exit [bgp4+] 22 (config)# routingpeeras 100 [bgp4+ routingpeeras 100] 23 (config)# lcladdr 3ffe:501:811:ff01::2 [bgp4+ routingpeeras 100] 24 (config)# peer 3ffe:501:811:ff01::1 [bgp4+ routingpeeras 100 peer 3ffe:501:811:ff01::1] 25 (config)# exit [bgp4+ routingpeeras 100] 26 (config)# peer 3ffe:501:811:ff01::3 [bgp4+ routingpeeras 100 peer 3ffe:501:811:ff01::3] 27 (config)# exit [bgp4+ routingpeeras 100] 28 (config)# peer 3ffe:501:811:ff01::4 [bgp4+ routingpeeras 100 peer 3ffe:501:811:ff01::4] 29 (config)# exit [bgp4+ routingpeeras 100] 30 (config)# exit [bgp4+] 31 (config)# exit 32 (config)# attribute-list set-attribute AS300-IN-ATTR [attribute-list set-attribute AS300-IN-ATTR] 33 (config)# localpref 200 [attribute-list set-attribute AS300-IN-ATTR] 34 (config)# exit 35 (config)# route-filter name AS300-IN [route-filter name AS300-IN] 36 (config)# seq 100 set set-attribute AS300-IN-ATTR [route-filter name AS300-IN] 37 (config)# exit 38 (config)# import proto bgp4+ as 300 route-filter AS300-IN 39 (config)# route-filter name AS100-OUT [route-filter name AS100-OUT] 40 (config)# seq 100 match proto bgp4+ as 300 [route-filter name AS100-OUT] 41 (config)# exit 42 (config)# export proto bgp4+ as 100 route-filter AS100-OUT 43 (config)# static [static] 44 (config)# 3ffe:501:811:ff01::/64 interface null [static] 45 (config)# exit 46 (config)# route-filter name AS300-OUT [route-filter name AS300-OUT] 47 (config)# seq 100 match proto static [route-filter name AS300-OUT] 48 (config)# exit 49 (config)# network-filter name AS300-OUT-NET [network-filter name AS300-OUT-NET] 50 (config)# 3ffe:501:811:ff01::/64 exact [network-filter name AS300-OUT-NET] 51 (config)# exit 52 (config)# route-filter name AS300-OUT [route-filter name AS300-OUT] 53 (config)# seq 100 match network-filter AS300-OUT-NET [route-filter name AS300-OUT] 54 (config)# seq 200 match proto bgp4+ [route-filter name AS300-OUT] 55 (config)# exit 56 (config)# attribute-list attribute-filter AS300-OUT-ATTR [attribute-list attribute-filter AS300-OUT-ATTR] 57 (config)# aspath "400 .*" [attribute-list attribute-filter AS300-OUT-ATTR] 58 (config)# aspath "500 .*" [attribute-list attribute-filter AS300-OUT-ATTR] 59 (config)# exit 60 (config)# route-filter name AS300-OUT [route-filter name AS300-OUT] 61 (config)# seq 200 match attribute-filter AS300-OUT-ATTR [route-filter name AS300-OUT] 62 (config)# exit 63 (config)# export proto bgp4+ as 300 route-filter AS300-OUT表11-60 本装置Bの構成定義情報解説
解説番号 解説 1〜16 <本装置A>の解説番号1〜16に同じ 17〜21 BGP4+プロトコルを動作させることを定義します。また,AS300に対する外部ピアを定義します。 22〜31 装置アドレスを使用し,本装置A,C,Dへの内部ピアを定義します。 32〜38 AS300から受信した経路のLOCALPREF値を200にするよう定義します。 39〜42 AS300から受信した経路をAS内の内部ピアに広告するよう定義します。 43〜45 AS内のネットワークをスタティック経路として定義します。 46〜63 生成したスタティック経路,AS400から受信した経路,AS500から受信した経路をAS300との外部ピアに広告するよう定義します。
- <本装置C>
1 (config)# router local-address 3ffe:501:811:ff01::3 2 (config)# autonomoussystem 100 3 (config)# routerid 172.16.2.3 4 (config)# ospf6 yes [ospf6] 5 (config)# backbone [ospf6 backbone] 6 (config)# interface Point-CA [ospf6 backbone interface Point-CA] 7 (config)# exit [ospf6 backbone] 8 (config)# interface Point-CB [ospf6 backbone interface Point-CB] 9 (config)# exit [ospf6 backbone] 10 (config)# interface Point-CD [ospf6 backbone interface Point-CD] 11 (config)# exit [ospf6 backbone] 12 (config)# interface localhost [ospf6 backbone interface localhost] 13 (config)# passive [ospf6 backbone interface localhost] 14 (config)# exit [ospf6 backbone] 15 (config)# exit [ospf6] 16 (config)# exit 17 (config)# bgp4+ yes [bgp4+] 18 (config)# externalpeeras 400 [bgp4+ externalpeeras 400] 19 (config)# peer fe80::400%CtoExt [bgp4+ externalpeeras 400 peer fe80::400%CtoExt] 20 (config)# exit [bgp4+ externalpeeras 400] 21 (config)# exit [bgp4+] 22 (config)# routingpeeras 100 [bgp4+ routingpeeras 100] 23 (config)# lcladdr 3ffe:501:811:ff01::3 [bgp4+ routingpeeras 100] 24 (config)# peer 3ffe:501:811:ff01::1 [bgp4+ routingpeeras 100 peer 3ffe:501:811:ff01::1] 25 (config)# exit [bgp4+ routingpeeras 100] 26 (config)# peer 3ffe:501:811:ff01::2 [bgp4+ routingpeeras 100 peer 3ffe:501:811:ff01::2] 27 (config)# exit [bgp4+ routingpeeras 100] 28 (config)# peer 3ffe:501:811:ff01::4 [bgp4+ routingpeeras 100 peer 3ffe:501:811:ff01::4] 29 (config)# exit [bgp4+ routingpeeras 100] 30 (config)# exit [bgp4+] 31 (config)# exit 32 (config)# route-filter name AS400-IN [route-filter name AS400-IN] 33 (config)# seq 100 match aspath "400" [route-filter name AS400-IN] 34 (config)# seq 100 match network 3ffe:501:811:ff02::/64 [route-filter name AS400-IN] 35 (config)# seq 100 set localpref 400 [route-filter name AS400-IN] 36 (config)# seq 200 drop [route-filter name AS400-IN] 37 (config)# exit 38 (config)# import proto bgp4+ as 400 route-filter AS400-IN 39 (config)# route-filter name AS100-OUT [route-filter name AS100-OUT] 40 (config)# seq 100 match proto bgp4+ as 400 [route-filter name AS100-OUT] 41 (config)# exit 42 (config)# export proto bgp4+ as 100 route-filter AS100-OUT 43 (config)# static [static] 44 (config)# 3ffe:501:811:ff01::/64 interface null [static] 45 (config)# exit 46 (config)# route-filter name AS400-OUT [route-filter name AS400-OUT] 47 (config)# seq 100 match proto static [route-filter name AS400-OUT] 48 (config)# seq 100 match network 3ffe:501:811:ff01::/64 exact [route-filter name AS400-OUT] 49 (config)# seq 200 match proto bgp4+ as 100 [route-filter name AS400-OUT] 50 (config)# exit 51 (config)# export proto bgp4+ as 400 route-filter AS400-OUT表11-61 本装置Cの構成定義情報解説
解説番号 解説 1〜16 <本装置A>の解説番号1〜16に同じ 17〜21 BGP4+プロトコルを動作させることを定義します。また,AS400に対する外部ピアを定義します。 22〜31 装置アドレスを使用し,本装置A,B,Dへの内部ピアを定義します。 32〜38 AS400から受信する経路をASPATH:400,ネットワーク:3ffe:501:811:ff02::/64に限定し,当該経路のLOCALPREF値を400にするよう定義します。 39〜42 AS400から受信した経路をAS内の内部ピアに広告するよう定義します。 43〜45 AS内のネットワークをスタティック経路として定義します。 46〜51 生成したスタティック経路,AS100,AS200,AS500から受信した経路をAS400との外部ピアに広告するよう定義します。
- <本装置D>
1 (config)# router local-address 3ffe:501:811:ff01::4 2 (config)# autonomoussystem 100 3 (config)# routerid 172.16.2.4 4 (config)# ospf6 yes [ospf6] 5 (config)# backbone [ospf6 backbone] 6 (config)# interface Point-DA [ospf6 backbone interface Point-DA] 7 (config)# exit [ospf6 backbone] 8 (config)# interface Point-DB [ospf6 backbone interface Point-DB] 9 (config)# exit [ospf6 backbone] 10 (config)# interface Point-DC [ospf6 backbone interface Point-DC] 11 (config)# exit [ospf6 backbone] 12 (config)# interface localhost [ospf6 backbone interface localhost] 13 (config)# passive [ospf6 backbone interface localhost] 14 (config)# exit [ospf6 backbone] 15 (config)# exit [ospf6] 16 (config)# exit 17 (config)# bgp4+ yes [bgp4+] 18 (config)# externalpeeras 500 [bgp4+ externalpeeras 500] 19 (config)# peer fe80::500%DtoExt [bgp4+ externalpeeras 500 peer fe80::500%DtoExt] 20 (config)# exit [bgp4+ externalpeeras 500] 21 (config)# exit [bgp4+] 22 (config)# routingpeeras 100 [bgp4+ routingpeeras 100] 23 (config)# lcladdr 3ffe:501:811:ff01::4 [bgp4+ routingpeeras 100] 24 (config)# peer 3ffe:501:811:ff01::1 [bgp4+ routingpeeras 100 peer 3ffe:501:811:ff01::1] 25 (config)# exit [bgp4+ routingpeeras 100] 26 (config)# peer 3ffe:501:811:ff01::2 [bgp4+ routingpeeras 100 peer 3ffe:501:811:ff01::2] 27 (config)# exit [bgp4+ routingpeeras 100] 28 (config)# peer 3ffe:501:811:ff01::3 [bgp4+ routingpeeras 100 peer 3ffe:501:811:ff01::3] 29 (config)# exit [bgp4+ routingpeeras 100] 30 (config)# exit [bgp4+] 31 (config)# exit 32 (config)# route-filter name AS500-IN [route-filter name AS500-IN] 33 (config)# seq 100 match aspath "500" [route-filter name AS500-IN] 34 (config)# seq 100 match network 3ffe:501:811:ff03::/64 [route-filter name AS500-IN] 35 (config)# seq 100 set localpref 400 [route-filter name AS500-IN] 36 (config)# seq 200 drop [route-filter name AS500-IN] 37 (config)# exit 38 (config)# import proto bgp4+ as 500 route-filter AS500-IN 39 (config)# route-filter name AS100-OUT [route-filter name AS100-OUT] 40 (config)# seq 100 match proto bgp4+ as 500 [route-filter name AS100-OUT] 41 (config)# exit 42 (config)# export proto bgp4+ as 100 route-filter AS100-OUT 43 (config)# static [static] 44 (config)# 3ffe:501:811:ff01::/64 interface null [static] 45 (config)# exit 46 (config)# route-filter name AS500-OUT [route-filter name AS500-OUT] 47 (config)# seq 100 match proto static [route-filter name AS500-OUT] 58 (config)# seq 100 match network 3ffe:501:811:ff01::/64 exact [route-filter name AS500-OUT] 49 (config)# seq 200 match proto bgp4+ as 100 [route-filter name AS500-OUT] 50 (config)# exit 51 (config)# export proto bgp4+ as 500 route-filter AS500-OUT表11-62 本装置Dの構成定義情報解説
解説番号 解説 1〜16 <本装置A>の解説番号1〜16に同じ 17〜21 BGP4+プロトコルを動作させることを定義します。また,AS500に対する外部ピアを定義します。 22〜31 装置アドレスを使用し,本装置A,B,Cへの内部ピアを定義します。 32〜38 AS500から受信する経路をASPATH:500,ネットワーク:3ffe:501:811:ff03::/64 に限定し,当該経路のLOCALPREF値を400にするよう定義します。 39〜42 AS500から受信した経路をAS内の内部ピアに広告するよう定義します。 43〜45 AS内のネットワークをスタティック経路として定義します。 46〜51 生成したスタティック経路,AS200,AS300,AS400から受信した経路をAS500との外部ピアに広告するよう定義します。
- [構成定義情報の表示]
- <本装置A>
router local-address 3ffe:501:811:ff01::1 ! autonomoussystem 100 ! routerid 172.16.2.1 ! ospf6 yes backbone interface localhost passive interface Point-AB interface Point-AC interface Point-AD ! bgp4+ yes routingpeeras 100 lcladdr 3ffe:501:811:ff01::1 peer 3ffe:501:811:ff01::2 peer 3ffe:501:811:ff01::3 peer 3ffe:501:811:ff01::4 externalpeeras 200 peer fe80::200%AtoExt ! static 3ffe:501:811:ff01::/64 interface null ! attribute-list set-attribute AS200-IN-ATTR localpref 300 ! attribute-list attribute-filter AS200-OUT-ATTR aspath "400 .*" aspath "500 .*" ! network-filter name AS200-OUT-NET 3ffe:501:811:ff01::/64 exact ! route-filter name AS100-OUT seq 100 match proto bgp4+ as 200 ! route-filter name AS200-IN seq 100 set set-attribute AS200-IN-ATTR ! route-filter name AS200-OUT seq 100 match proto static seq 100 match network-filter AS200-OUT-NET seq 200 match proto bgp4+ seq 200 match attribute-filter AS200-OUT-ATTR ! import proto bgp4+ as 200 route-filter AS200-IN ! export proto bgp4+ as 100 route-filter AS100-OUT ! export proto bgp4+ as 200 route-filter AS200-OUT
- <本装置B>
router local-address 3ffe:501:811:ff01::2 ! autonomoussystem 100 ! routerid 172.16.2.2 ! ospf6 yes backbone interface localhost passive interface Point-BA interface Point-BC interface Point-BD ! bgp4+ yes routingpeeras 100 lcladdr 3ffe:501:811:ff01::2 peer 3ffe:501:811:ff01::1 peer 3ffe:501:811:ff01::3 peer 3ffe:501:811:ff01::4 externalpeeras 300 peer fe80::300%BtoExt ! static 3ffe:501:811:ff01::/64 interface null ! attribute-list set-attribute AS300-IN-ATTR localpref 200 ! attribute-list attribute-filter AS300-OUT-ATTR aspath "400 .*" aspath "500 .*" ! network-filter name AS300-OUT-NET 3ffe:501:811:ff01::/64 exact ! route-filter name AS100-OUT seq 100 match proto bgp4+ as 300 ! route-filter name AS300-IN seq 100 set set-attribute AS300-IN-ATTR ! route-filter name AS300-OUT seq 100 match proto static seq 100 match network-filter AS300-OUT-NET seq 200 match proto bgp4+ seq 200 match attribute-filter AS300-OUT-ATTR ! import proto bgp4+ as 300 route-filter AS300-IN ! export proto bgp4+ as 100 route-filter AS100-OUT ! export proto bgp4+ as 300 route-filter AS300-OUT
- <本装置C>
router local-address 3ffe:501:811:ff01::3 ! autonomoussystem 100 routerid 172.16.2.3 ! ospf6 yes backbone interface localhost passive interface Point-CA interface Point-CB interface Point-CD ! bgp4+ yes routingpeeras 100 lcladdr 3ffe:501:811:ff01::3 peer 3ffe:501:811:ff01::1 peer 3ffe:501:811:ff01::2 peer 3ffe:501:811:ff01::4 externalpeeras 400 peer fe80::400%CtoExt ! static 3ffe:501:811:ff01::/64 interface null ! route-filter name AS100-OUT seq 100 match proto bgp4+ as 400 ! route-filter name AS400-IN seq 100 match aspath "400" seq 100 match network 3ffe:501:811:ff02::/64 seq 100 set localpref 400 seq 200 drop ! route-filter name AS400-OUT seq 100 match proto static seq 100 match network 3ffe:501:811:ff01::/64 exact seq 200 match proto bgp4+ as 100 ! import proto bgp4+ as 400 route-filter AS400-IN ! export proto bgp4+ as 100 route-filter AS100-OUT ! export proto bgp4+ as 400 route-filter AS400-OUT
- <本装置D>
router local-address 3ffe:501:811:ff01::4 ! autonomoussystem 100 ! routerid 172.16.2.4 ! ospf6 yes backbone interface localhost passive interface Point-DA interface Point-DB interface Point-DC ! bgp4+ yes routingpeeras 100 lcladdr 3ffe:501:811:ff01::4 peer 3ffe:501:811:ff01::1 peer 3ffe:501:811:ff01::2 peer 3ffe:501:811:ff01::3 externalpeeras 500 peer fe80::500%DtoExt ! static 3ffe:501:811:ff01::/64 interface null ! route-filter name AS100-OUT seq 100 match proto bgp4+ as 500 ! route-filter name AS500-IN seq 100 match aspath "500" seq 100 match network 3ffe:501:811:ff03::/64 seq 100 set localpref 400 seq 200 drop ! route-filter name AS500-OUT seq 100 match proto static seq 100 match network 3ffe:501:811:ff01::/64 exact seq 200 match proto bgp4+ as 100 ! import proto bgp4+ as 500 route-filter AS500-IN ! export proto bgp4+ as 100 route-filter AS100-OUT ! export proto bgp4+ as 500 route-filter AS500-OUT
Copyright (c)2005 ALAXALA Networks Corporation. All rights reserved.