Juniper Networks
Log in
|
How to Buy
|
Contact Us
|
United States (Change)
Choose Country
Close

Choose Country

North America

  • United States

Europe

  • Deutschland - Germany
  • España - Spain
  • France
  • Italia - Italy
  • Россия - Russia
  • United Kingdom

Asia Pacific

  • Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
  • Australia
  • 中国 - China
  • India
  • 日本 - Japan
  • 대한민국 - Korea
  • 台灣 - Taiwan
Solutions
Products & Services
Company
Partners
Support
Education
Community
Security Intelligence Center

Technical Documentation

Support
Technical Documentation
Content Explorer New
 
Enterprise MIBs
 
EOL Documentation
 
Feature Explorer Login required New
 
File Format Help
 
Glossary
 
Portable Libraries
 
 
Home > Support > Technical Documentation > JunosE Software > Enabling or Disabling the Transmission of ICMP Unreachable Messages for Static Routes on Null Interfaces
Print
Rate and give feedback:  Feedback Received. Thank You!
Rate and give feedback: 
Close
This document helped resolve my issue.  Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:  
E-mail: 
Submitting...
 

Related Documentation

  • Understanding ICMP Unreachable Messages for Static Routes Sent on Null Interfaces
  • Monitoring the Current State of IP Interfaces
  • Monitoring the Status of IP Static Routes in the Routing Table
  • Monitoring TCP Statistics for IP
  • Monitoring IP Traffic Statistics
  • ip route
 

Enabling or Disabling the Transmission of ICMP Unreachable Messages for Static Routes on Null Interfaces

You can configure a static route using the ip route command and direct traffic to the null interface by specifying the null 0 keyword with this command, instead of a next-hop or destination address.

To configure an IP static route with a null 0 interface as the next-hop:

  • Issue the ip route command with the null 0 keyword in Global Configuration mode.
    host1(config)#ip route 192.168.10.0/24 null0

    The default behavior for packets reaching null 0 interfaces with static routes takes effect, which is to discard the received packets and not send ICMP unreachable messages to the originator.

To enable the transmission of ICMP unreachable messages for IPv4 packets that reach the static route configured on the null 0 interface and are discarded:

  • Issue the ip route command with the null 0 and reject keywords in Global Configuration mode.
    host1(config)#ip route 192.168.10.0/24 null0 reject

To disable the transmission of ICMP unreachable messages for IPv4 packets that reach the static route configured on the null 0 interface and are discarded:

  • Issue the ip route command with the null 0 and discard keywords in Global Configuration mode.
    host1(config)#ip route 192.168.10.0/24 null0 discard

Use the no version to remove a static route from the routing table.

 

Related Documentation

  • Understanding ICMP Unreachable Messages for Static Routes Sent on Null Interfaces
  • Monitoring the Current State of IP Interfaces
  • Monitoring the Status of IP Static Routes in the Routing Table
  • Monitoring TCP Statistics for IP
  • Monitoring IP Traffic Statistics
  • ip route
 

Published: 2012-06-20

 
  • About Juniper
  • Investor Relations
  • Press Releases
  • Newsletters
  • Juniper Offices
  • Green Networking
  • Resources
  • How to Buy
  • Partner Locator
  • Image Library
  • Visio Templates
  • Security Center
  • Community
  • Forums
  • Blogs
  • Junos Central
  • Social Media
  • Developers
  • Support
  • Technical Documentation
  • Knowledge Base (KB)
  • Software Downloads
  • Product Licensing
  • Contact Support
Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2012 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out