[c-nsp] prefix list question

David Freedman david.freedman at uk.clara.net
Fri Sep 24 08:38:18 EDT 2010


Deric Kwok wrote:> Very nice. Let me try.
> 
> Two questions:
> 
> 1/ Before adding the correct one "ip prefix-list traffic-in seq 100
> permit 0/0 le 32",
> Do I remove the previous prefix list "ip prefix-list traffic-in seq
> 100 permit" or unbind the ip prefix-list
> 
> I try unbind the previous list in bgp but not successful. Why?

No need to unbind, the change should not take effect until you soft
clear / issue a route refresh / hard clear

router(confg)# no ip prefix-list traffic-in seq 100 permit any
router(confg)# ip prefix-list traffic-in seq 100 permit 0.0.0.0/0 le 32
router(confg)# exit
router# clear ip bgp x.x.x.x [soft] in

> 
> router bgp AS
> no neighbor x.x.x.x prefix-list traffic-in in
> 
> I sh run config and it is still there
> neighbor x.x.x.x prefix-list traffic-in in
> 
> 2/ How do I know ssh enabled in my IOS router?

router#sh ver | in This product contains cryptographic features
This product contains cryptographic features and is subject to United

router# conf t
router(confg)# crypto key generate rsa

Choose the size of the key modulus in the range of 360 to 2048 for your
  General Purpose Keys. Choosing a key modulus greater than 512 may take
  a few minutes.

How many bits in the modulus [512]: 1024
% Generating 1024 bit RSA keys, keys will be non-exportable...[OK]

router(confg)# line vty 0 4
router(config-line)# transport input ssh telnet
router(config-line)# transport preferred ssh


Dave.




> 
> Thank you again
> 
> 
> On Thu, Sep 23, 2010 at 2:15 PM, Gert Doering <gert at greenie.muc.de> wrote:
>> Hi,
>>
>> On Thu, Sep 23, 2010 at 02:03:13PM -0400, Deric Kwok wrote:
>>> Can I know what is different between 0.0.0.0/0 le 32
>> This will permit anything ("inside the /0, up to a /32").
>>
>>> and 0.0.0.0/0 ?
>> This will permit exactly the default route "network 0.0.0.0, mask /0".
>>
>> gert
>> --
>> USENET is *not* the non-clickable part of WWW!
>>                                                           //www.muc.de/~gert/
>> Gert Doering - Munich, Germany                             gert at greenie.muc.de
>> fax: +49-89-35655025                        gert at net.informatik.tu-muenchen.de
>>
> 
> _______________________________________________
> 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/
> 


-- 


David Freedman
Group Network Engineering
Claranet Group



More information about the cisco-nsp mailing list