
247
Chapter 2 Black Hole Routing Manual
2.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.
2.2 IPv4 Black Hole Routing Configuration Tasks
1. To configure IPv4 Black Hole Routing
1. To configure IPv4 Black Hole Routing
Command
Notes
Global Configuration Mode
ip route {<ip-prefix> <mask> |<ip-prefix> |
<prefix-length>} null0 [<distance>]
no ip route {<ip-prefix> <mask> | <ip-prefix> |
<prefix-length>} null0
To configure the static Black Hole
Routing. The no form of this
command will remove the
specified black hole routing
configuration.
2.3 IPv6 Black Hole Routing Configuration Task
1. Enable the IPv6 function
2. Configure the IPv6 Black Hole Routing
1. Enable the IPv6 function
Command
Notes
Global Configuration Mode
ipv6 enable
To enable the IPv6 function on the
switch.
2.Configure the IPv6 Black Hole Routing
Command
Notes