Tuesday, August 14, 2012

no parser cache ...

I was configuring bgp earlier today and incorrectly entered an ip address in the neighbor statement… something like:

R6(config-if)# router bgp 3
R6(config-router)# neighbor 1192.168.1.5 remote-as 11
% Create the peer-group first


Upon reentering the correct ip I got the same advice from ios:

R6(config-router)# neighbor 192.168.1.5 remote-as 11
% Create the peer-group first

I wasn’t even trying to create a peer-group and couldn’t figure out why it kept telling me to do so. After some quick research online I found that after entering an incorrect ip address (apparently in the bgp neighbor statement) the machine either needs to be reloaded or I could just configure “no parser cache”:

R6(config)# no parser cache
R6(config)# router bgp 3
R6(config-router)# neighbor 192.168.1.5 remote-as 11
R6(config-router)#
*Mar  1 00:32:30.423: %BGP-5-ADJCHANGE: neighbor 192.168.1.5 Up

Problem solved.

If you would like to read about Cisco’s parser cache, check this link out.  Cheers!

No comments:

Post a Comment