EasyManua.ls Logo

Planet SGS-6341 Series - Page 696

Planet SGS-6341 Series
1206 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
38-1
Chapter 38 Commands for Black Hole
Routing
38.1 ip route null0
Command:
ip route {<ip-prefix> <mask>|<ip-prefix>|<prefix-length>} null0 [<distance>]
no ip route {<ip-prefix> <mask>|<ip-prefix>|<prefix-length>} null0
Function:
To configure routing destined to the specified network to the interface of null0.
Parameters:
<ip-prefix> and <mask> are the IP address and network address mask of the destination, in dotted
decimal format: <ip-prefix> and <prefix-length> are the IP address of the destination and the
length of the prefix respectively; null0 is the output interface for the black hole routing; <distance>
is the management distance of the routing entry with limitation between 1 and 255.
Command Mode:
Global Configuration Mode.
Usage Guide:
Null0 should be used as the output interface for IPv4 Black Hole Routing.
Example:
To configure the routing to 192.168.188.0/24 as a Black Hole Routing.
Example:
Switch (config)# ip route 192.168.188.0/24 null0 20
38.2 ipv6 route null0
Command:
ipv6 route <ipv6-prefix|prefix-length> null0 [<precedence>]
no ipv6 route <ipv6-prefix|prefix-length> null0
Function:
To configure routing destined to the specified network to the interface of null0.
Parameters:
<ipv6-prefix> is the IPv6 network static route addressof the destination, in dotted decimal format.
<prefix-length> is the IPv6 address of the destination and the length of the prefix. null0 is the

Table of Contents

Related product manuals