42-1
Chapter 42 Black Hole Routing Manual
42.1 Introduction to Black Hole Routing
Black Hole Routing is a special kind of static routing which drops all the datagrams that match the routing rule.
42.2 IPv4 Black Hole Routing Configuration Task
1. Configure IPv4 Black Hole Routing
Global Configuration Mode
ip route {<ip-prefix>
<mask>|<ip-prefix>/<prefix-length>}
null0 [<distance>]
no ip route {<ip-prefix>
<mask>|<ip-prefix>/<prefix-length>}
To configure the static Black Hole Routing. The no
form of this command will remove the specified
Black Hole Routing configuration.
42.3 IPv6 Black Hole Routing Configuration Task
1. Enable the IPv6 function
2. Configure the IPv6 Black Hole Routing
1. Enable the IPv6 function
Global Configuration Mode
ipv6 enable
To enable the IPv6 function on the switch.
2. Configure IPv6 Black Hole Routing
Global Configuration Mode
ipv6 route
<ipv6-prefix/prefix-length> null0
[<precedence>]
no ipv6 route
<ipv6-prefix/prefix-length> null0
To configure static IPv6 Black Hole Routing. The
no form of this command will remove the specified
configuration.
Comments to this Manuals