I have confiured BGP on Ex3300 VC but i am not able to adverstise my Connected Networks in BGP, The Conifguration and Output is as below:
It shows Adverstised Prefixes as zero, I have written the below export Policy
set policy-options policy-statement BGP_OUT term 1 from protocol bgp
set policy-options policy-statement BGP_OUT term 1 from route-filter 10.X.X.X/24 exact---------Connected Network
set policy-options policy-statement BGP_OUT term 1 then accept
set policy-options policy-statement BGP_OUT term default then reject
The above policy is applied as export in BGP configuration.
show route
10.X.X.X/24 *[Direct/0] 2d 18:39:06
> via vlan.50
show bgp neighbor 10.X.X.X
Type: External State: Established Flags: <Sync RSync>
Export: [ BGP_OUT ] Import: [ BGP_IN ]
Options: <Multihop Preference LocalAddress PeerAS Refresh>
Local Address: 10.X.X.X Holdtime: 90 Preference: 170
Number of flaps: 0
Peer ID: 10.X.X.X Local ID: 10.X.X.X Active Holdtime: 90
Keepalive Interval: 30 Group index: 1 Peer index: 0
Send state: in sync
Active prefixes: 2
Received prefixes: 3
Accepted prefixes: 3
Suppressed due to damping: 0
Advertised prefixes: 0
Last traffic (seconds): Received 20 Sent 4 Checked 66
Input messages: Total 737 Updates 10 Refreshes 0 Octets 14366
Output messages: Total 745 Updates 0 Refreshes 0 Octets 14195
Output Queue[0]: 0
Please let me know the reason of this.