cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
532
Views
0
Helpful
5
Replies

bgp network

Mary
Level 1
Level 1

in bgp session, my int g0/0/3 ip address 192.168.1.2/24,  i enter  command network 192.168.1.0 255.255.255.0 under router bgp 65111,

then i show ip route 192.168.1.0,but it says subnet not in table.

do i need to clear ip bgp * so, or there is other reason for it?

5 Replies 5

Julio E. Moisa
VIP Alumni
VIP Alumni

Hi

Is the interface g0/0/3 no shutdown?

Please correct me, is the network 192.168.1.0 255.255.255.0 configured on the same router where BGP is running?

If the network is not known on the router where BGP is configured it will not advertised the network.  BGP will advertised the network always the prefix is known through the routing table and it is configured with the proper subnet mask through the network command line. 

If the prefix has no entry on the routing table you can use a routing protocol to reach it. 




>> Marcar como Ćŗtil o contestado, si la respuesta resolviĆ³ la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

hi, no . we only define ip address 192.168.1.3, the interface is up/up. then we define network command in BGP, how to correct?

Hi,

Even if you dont  advertise network in BGP, still  show ip route 192.168.1.0 shows output as connected network if interface is UP.

Hi

If the interface g0/0/3 is up you should see on the routing table the entry as directly connected. Now if the interface g0/0/3 (and is up) and the BGP process are on the same router you should be able to advertise the network to your neighbors using:

router bgp 65111
network 192.168.1.0 mask 255.255.255.0

or are you using any VRF? otherwise you should use:

show ip route vrf <VRF name> 192.168.1.0

:-)




>> Marcar como Ćŗtil o contestado, si la respuesta resolviĆ³ la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

ajay chauhan
Level 7
Level 7

Do you have this interface Up ?

Ajay

Review Cisco Networking for a $25 gift card