Chapter 42 black hole routing manual, 1 introduction to black hole routing, 2 ipv4 black hole routing configuration task – PLANET XGS3-24042 User Manual

Page 367: 3 ipv6 black hole routing configuration task, Chapter 42 black hole routing manual -1, Ntroduction to, Lack, Outing, Onfiguration

Advertising
background image

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

Command

Explaination

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.

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

Command

Explaination

Global Configuration Mode

ipv6 enable

To enable the IPv6 function on the switch.

2. Configure IPv6 Black Hole Routing

Command

Explaination

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.

Advertising
This manual is related to the following products: