AS?p?X?̃??X?g??ݒ肵?܂??B
AS?p?X?̃??X?g?͖????I?ȋ??ݒ肪?Ȃ??ƁA?s???Ƃ??Ĉ????܂??̂ŁA?????????ꍇ?ɂ͕K??permit?̐ݒ???s???Ă????????B
??????AS??ݒ肷??ꍇ?́A?X?y?[?X?ŋ???ċL?q???܂??B
AS?p?X?̎w????@?́A?ݒ肵???????܂܂????̂??ΏۂƂȂ?܂??B?Ⴆ??遊雅堂 危険性;100遊雅堂 危険性;?Ǝw?肵???ꍇ?́A遊雅堂 危険性;100遊雅堂 危険性;?????łȂ?遊雅堂 危険性;1001遊雅堂 危険性;, 遊雅堂 危険性;1002遊雅堂 危険性;, 遊雅堂 危険性;10010遊雅堂 危険性;?E?E?̂悤?ɁA遊雅堂 危険性;100遊雅堂 危険性;?̕????܂܂????̂??ΏۂƂȂ?܂??B
?܂??A???K?\???ł̎w????s?Ȃ????Ƃ??ł??܂??B
refresh?R?}???h??ɗL???ɂȂ?R?}???h?ł??B
V01.01(00)?ȍ~?T?|?[?g
Router(config)# ip as-path access-list as-path1 permit 100 101 102
ip as-path access-list <AS?A?N?Z?X???X?g?? {deny|permit} <AS?ԍ?
?p?????[?^ ?ݒ???e ?ݒ?͈? ?ȗ????̒l AS?A?N?Z?X???X?g?? AS?A?N?Z?X???X?g?ɖ??̂????܂??B???̖??̂́ABGP?????address-family?ݒ胂?[?h?́Aneighbor filter-list?R?}???h?Ŏw?肵?܂??B 254?????ȓ??̉p???? ?ȗ??s?? deny | permit ??????(permit)???A?s??????(deny)????I?????܂??B deny
permit?ȗ??s?? AS?ԍ? AS?p?X???w?肵?܂??B??????AS?p?X???w?肷??ꍇ?́A?X?y?[?X?ŋ???ċL?q???܂??B 1?`65535 ?ȗ??s??
?????̒l???A1?̏????ŋL?ڂ???@?\???A???K?\???i?????j?ƌĂ?ł??܂??B
?Ⴆ?A?u?O?ƂP?ƂQ?ƂR?v???w?肵?????ꍇ?ɁA4?̃R?}???h????͂???̂ł͂Ȃ??A1?̓??͂?4??\?????邱?Ƃ??ł??A?????Ŏg?p???鏑???????K?\???ł??B
FITELnet F200/F200 Plus?̐??K?\???Ŏg?p?\?ȕ????????\?ɂ܂Ƃ߂܂??B
?Ȃ??A???K?\???͖{?R?}???h?ł̂ݎg?p?\?ł??B
???K?\???Ŏg?p????
?????ݒ???e?Ӗ? ?g?p?? . ?s???I?h ?C?ӂ?1???????Ӗ????܂??B?i?X?y?[?X???܂ށj 1. 10, 11, 12,?E?E?E19?????1a, 1b, ?E?E?E???Y?????܂??B * ?A?X?^???X?N ???O?̕?????0??ȏ?J??Ԃ????Ƃ??Ӗ????܂??B?i?X?y?[?X?͊܂܂Ȃ??j 12* 1, 12, 122, 1222, 12222, ?E?E?E?Ȃ?遊雅堂 危険性;1遊雅堂 危険性;?̎???遊雅堂 危険性;2遊雅堂 危険性;??0??ȏ?J??Ԃ??????̂??Y?????܂??B + ?v???X ???O?̕?????1??ȏ?J??Ԃ????Ƃ??Ӗ????܂??B?i?X?y?[?X?͊܂܂Ȃ??j 12+ 12, 122, 1222, 12222, ?E?E?E?Ȃ?遊雅堂 危険性;1遊雅堂 危険性;?̎???遊雅堂 危険性;2遊雅堂 危険性;??1??ȏ?J??Ԃ??????̂??Y?????܂??B ^ ?L?????b?g ?????̐擪??\???܂??B ^1 1, 10, 11, 100, 1a?E?E?ȂǁA1?????ڂ?遊雅堂 危険性;1遊雅堂 危険性;?̂??̂??Y?????܂??B ^11 11, 111, 112, 1123?E?E?ȂǁA?ŏ???2??????遊雅堂 危険性;11遊雅堂 危険性;?̂??̂??Y?????܂??B $ ?h?? ?????̍Ō??\???܂??B 1$ 1, 11, 21, 321?E?E?ȂǁA?Ō?̕?????遊雅堂 危険性;1遊雅堂 危険性;?̂??̂??Y?????܂??B 11$ 11, 111, 211, 3211?E?E?ȂǁA?Ō??2??????遊雅堂 危険性;11遊雅堂 危険性;?̂??̂??Y?????܂??B _ ?A???_?[?X?R?A ???̒???1???????Ӗ????܂??B
, ?J???} { ?????ʊJ?? } ?????ʕ??? ( ???ʊJ?? ) ???ʕ??? ?擪?????i^?Ɠ????j ?ŏI?????i$?Ɠ????j ?X?y?[?X 1_ 1, ?@1{ ?@1}?@ 1(?@ 1)?????1, 11, 21, 321?E?E?ȂǁA?Ō?̕?????遊雅堂 危険性;1遊雅堂 危険性;?̂??̂??Y?????܂??B [ ] ?劇?? ?????͈̔͂?\???܂??B [1234] 1, 2, 3, 4 ???Y?????܂??B [13] 1, 3 ???Y?????܂??B - ?n?C?t?? [1-4] 1, 2, 3, 4 ???Y?????܂??B [a-bA-B] a, b, A, B ???Y?????܂??B | ?p?C?v ?u?܂??́v??\???܂??B ^1|^2 1?????ڂ?遊雅堂 危険性;1遊雅堂 危険性;?܂???遊雅堂 危険性;2遊雅堂 危険性;?̂??̂??Y?????܂??B ^1|2$ 1?????ڂ?遊雅堂 危険性;1遊雅堂 危険性;?܂??͍Ō?̕?????遊雅堂 危険性;2遊雅堂 危険性;?̂??̂??Y?????܂??B { } ?????? ?J??Ԃ???\???܂??B 1{2} 11, 111, 211, 11222?ȂǁA遊雅堂 危険性;1遊雅堂 危険性;??2??J??Ԃ????̂??Y?????܂??B 1{2,} 11, 111, 211, 1112, 11112?ȂǁA遊雅堂 危険性;1遊雅堂 危険性;??2??ȏ?J??Ԃ????̂??Y?????܂??B 1{2,3} 11, 111, 211, 1112?ȂǁA遊雅堂 危険性;1遊雅堂 危険性;??2??ȏ?3??ȉ??J??Ԃ????̂??Y?????܂??B \ ?o?b?N?X???b?V?? ???K?\???p?̕????̓???ȈӖ?????菜???܂??B \*1 遊雅堂 危険性;*1遊雅堂 危険性;?Ƃ????????Y?????܂??B [a-z\-] a, b, c, ?E?E?Ez?ƁA遊雅堂 危険性;-遊雅堂 危険性;???Y?????܂??B
AS?ԍ?1000, 1001, 1002, 1003??ʉ߂????v???t?B?b?N?X???͕s???Ƃ??A????ȊO?̃v???t?B?b?N?X???͋?????B
Router(config)# ip as-path access-list 1 deny ^100[0-3]
Router(config)# ip as-path access-list 1 permit .*
AS?p?X???X?g?ɂ??t?B???^?͍s???܂???B
??{?ݒ胂?[?h