[Xorp-users] How can I delete an item of routing table

wubaochuan wubaochuan at seu.edu.cn
Mon Dec 13 23:36:04 PST 2010


hi Aaron,
    Thank you for your response!
    I just run ./xorpsh, and run the following command: show route table 
ipv4 unicast final. This command can display
route table, and I want to delete one route. But I don't know how to 
delele one route.

[wubaochuan at localhost rtrmgr]$ ./xorpsh
Welcome to XORP on localhost.localdomain
wubaochuan at localhost.localdomain> show route table ipv4 unicast final
10.0.0.0/24    [ospf(110)/3]
        > to 10.0.6.2 via eth1/eth1
10.0.1.0/24    [ospf(110)/3]
        > to 10.0.6.2 via eth1/eth1
10.0.2.0/24    [ospf(110)/2]
        > to 10.0.6.2 via eth1/eth1
10.0.3.0/24    [connected(0)/0]
        > via eth3/eth3
10.0.4.0/24    [ospf(110)/2]
        > to 10.0.5.1 via eth0/eth0
10.0.5.0/24    [connected(0)/0]
        > via eth0/eth0
10.0.6.0/24    [connected(0)/0]
        > via eth1/eth1
10.0.7.0/24    [ospf(110)/3]
        > to 10.0.5.1 via eth0/eth0
10.0.8.0/24    [connected(0)/0]
        > via eth2/eth2
10.0.9.0/24    [ospf(110)/2]
        > to 10.0.8.2 via eth2/eth2
10.0.10.0/24    [ospf(110)/3]
        > to 10.0.5.1 via eth0/eth0
10.0.11.0/24    [ospf(110)/2]
        > to 10.0.5.1 via eth0/eth0
10.0.12.0/24    [ospf(110)/3]
        > to 10.0.8.2 via eth2/eth2
10.0.13.0/24    [ospf(110)/2]
        > to 10.0.6.2 via eth1/eth1
10.0.14.0/24    [ospf(110)/3]
        > to 10.0.5.1 via eth0/eth0
wubaochuan at localhost.localdomain> del
Not a XORP command!
wubaochuan at localhost.localdomain>
 


Thank you,
Yours
Chuan




xorp-users-request at xorp.org wrote:
> Send Xorp-users mailing list submissions to
> 	xorp-users at xorp.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
> or, via email, send a message with subject or body 'help' to
> 	xorp-users-request at xorp.org
>
> You can reach the person managing the list at
> 	xorp-users-owner at xorp.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Xorp-users digest..."
>
>
> Today's Topics:
>
>    1. How can I delete an item of  routing table (wubaochuan)
>    2. Re: How can I delete an item of routing table (Aaron Shang)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 13 Dec 2010 11:26:04 +0800
> From: wubaochuan <wubaochuan at seu.edu.cn>
> Subject: [Xorp-users] How can I delete an item of  routing table
> To: xorp-users at xorp.org
> Message-ID: <492210967.06685 at seu.edu.cn>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Dear everyone,
>        When I show all routes in the routing table, I want to delete one 
> item, I type "del" in XORPSH, but it tells me the command "del" is not 
> available.
>        How to delete an item of routing table ?
>        Thank you.
>
>
> Yours
> Chuan
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 13 Dec 2010 11:59:50 +0800
> From: Aaron Shang <aaronshang at gmail.com>
> Subject: Re: [Xorp-users] How can I delete an item of routing table
> Cc: xorp-users at xorp.org
> Message-ID:
> 	<AANLkTi==TX27GPhE3Pgo72o1KaDi4VarHKqBZzJdPDAf at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Can you post your operating process/steps as more as detailed?
>
> Just for your info: I am not very sure, but perhaps the configure mode and
> showing mode provide different operation/functions.
> Good luck.
>
>
> On Mon, Dec 13, 2010 at 11:26, wubaochuan <wubaochuan at seu.edu.cn> wrote:
>
>   
>> Dear everyone,
>>       When I show all routes in the routing table, I want to delete one
>> item, I type "del" in XORPSH, but it tells me the command "del" is not
>> available.
>>       How to delete an item of routing table ?
>>     
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20101213/6e785578/attachment-0001.html 
>
> ------------------------------
>
> _______________________________________________
> Xorp-users mailing list
> Xorp-users at xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
>
>
> End of Xorp-users Digest, Vol 57, Issue 5
> *****************************************
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20101214/bad2d173/attachment.html 


More information about the Xorp-users mailing list