Planet SGS-6341 Series Command Manual page 696

Gigabit ethernet l3 stackable managed switch with 10gbe uplink
Table of Contents

Advertisement

Chapter 38 Commands for Black Hole
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
Routing
38-1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sgs-6341-24t4x

Table of Contents