Bogon ASNs

Latest reply: Jun 5, 2018 07:12:11 584 1 0 0


Hi,  who I can filter bogons AS with as-patch-filter?

Like this http://bgpfilterguide.nlnog.net/guides/bogon_asns/
  • x
  • convention:

StarOfWest
Created Jun 5, 2018 07:12:11 Helpful(1) Helpful(1)

it's possible to use as-path-filter :)
http://support.huawei.com/hedex/hdx.do?lib=EDOC1100007335NEH0528H&docid=EDOC1100007335&lang=en&v=02&tocLib=EDOC1100007335NEH0528H&tocV=02&id=dc_cfg_route-policy_0005_1&tocURL=resources%2fdc%2fdc%5fcfg%5froute%2dpolicy%5f0005%2ehtml&p=t&fe=1&ui=3&keyword=path&keyword=as&text=Configuring%252Ban%252B%25253Cb%25253EAS%25253C%25252Fb%25253E_%25253Cb%25253EPath%25253C%25252Fb%25253E%252BFilter

I have something similar for IP, not for AS.

ip prefix-list bogons index 10 deny 0.0.0.0 8 less-equal 32
ip prefix-list bogons index 20 deny 10.0.0.0 8 less-equal 32
ip prefix-list bogons index 30 deny 100.64.0.0 10 less-equal 32
ip prefix-list bogons index 40 deny 127.0.0.0 8 less-equal 32
ip prefix-list bogons index 50 deny 169.254.0.0 less-equal le 32
ip prefix-list bogons index 60 deny 172.16.0.0 12 less-equal 32
ip prefix-list bogons index 70 deny 192.0.0.0 24 less-equal 32
ip prefix-list bogons index 80 deny 192.0.2.0 24 less-equal 32
ip prefix-list bogons index 90 deny 192.168.0.0 16 less-equal 32
ip prefix-list bogons index 100 deny 198.18.0.0 15 less-equal 32
ip prefix-list bogons index 110 deny 198.51.100.0 24 less-equal 32
ip prefix-list bogons index 120 deny 203.0.113.0 24 less-equal 32
ip prefix-list bogons index 130 deny 224.0.0.0 3 less-equal 32
ip prefix-list bogons index 666 permit 0.0.0.0 0 less-equal 32



<Huawei> system-view
[Huawei] bgp 100
[Huawei-bgp] peer 10.1.1.2 as-number 200
[Huawei-bgp] ipv4-family unicast
[Huawei-bgp-af-ipv4] peer 10.1.1.2 ip-prefix bogons import
  • x
  • convention:

“We only get answers to the questions that we ask.” physicist Werner Heisenberg

Reply

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login