[c-nsp] route-map null0

Sergey Nikitin oldnick at oldnick.ru
Fri Jun 3 08:19:08 EDT 2011


Hi,

May be you could use something like this:

ip route 192.168.0.1 255.255.255.255 Null0

route-map DROP permit 10
set ip next-hop 192.168.0.1

HTH

Mohammad Khalil wrote:
> Hi all
> 
> i am trying to simulate ICMP drops via PBR
> 
> route-map DROP permit 10
>  match ip address ICMP
>  match interface FastEthernet0/0.67
>  match length 100 100
>  set default interface Null0 
> 
> Rack1R6(config)#route-map DROP              
> Rack1R6(config-route-map)#set interface null 0 
> % route-map:can not set interface.
> % Use P2P interfaces for set interface clause
> 
> any ideas to work around this ?
> i have tried the set default interface null 0 , the router takes the command , but after applying the set interface null 0 command it show the same message
> 
> 
>  		 	   		  
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
> 


More information about the cisco-nsp mailing list