root> show route 10.2.3.0/24
inet.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.2.3.0/24 *[BGP/170] 15:58:38, localpref 100
AS path: 7224 I
> to 169.254.255.77 via ge-2/0/0.1
The interface is correct, it just seems the SRX doesnt want to route the traffic between router A and C
root# run show bgp summary
Groups: 2 Peers: 2 Down peers: 0
Table Tot Paths Act Paths Suppressed History Damp State Pending
inet.0
2 2 0 0 0 0
Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
169.254.255.73 7224 2070 2209 0 2 16:28:15 1/1/1/0 0/0/0/0
169.254.255.77 7224 2062 2193 0 2 16:28:29 1/1/1/0 0/0/0/0
root# run show bgp neighbor
Peer: 169.254.255.73+179 AS 7224 Local: 169.254.255.74+64709 AS 65000
Type: External State: Established Flags: <Sync>
Last State: OpenConfirm Last Event: RecvKeepAlive
Last Error: Hold Timer Expired Error
Export: [ ebgp-export bgp-export1 ]
Options: <Preference AuthKey AddressFamily PeerAS LocalAS Refresh As Override>
Options: <AdvertisePeerAs PeerSpecficLoopsAllowed>
Authentication key is configured
Address families configured: inet-unicast
Holdtime: 90 Preference: 170 Local AS: 65000 Local System AS: 100
Number of flaps: 2
Last flap event: HoldTime
Error: 'Hold Timer Expired Error' Sent: 2 Recv: 0
Peer ID: 169.254.255.73 Local ID: 192.168.1.1 Active Holdtime: 90
Keepalive Interval: 30 Peer index: 0
BFD: disabled, down
Local Interface: ge-2/0/0.0
NLRI for restart configured on peer: inet-unicast
NLRI advertised by peer: inet-unicast
NLRI for this session: inet-unicast
Peer supports Refresh capability (2)
Stale routes from peer are kept for: 300
Peer does not support Restarter functionality
NLRI that restart is negotiated for: inet-unicast
NLRI of received end-of-rib markers: inet-unicast
NLRI of all end-of-rib markers sent: inet-unicast
Peer supports 4 byte AS extension (peer-as 7224)
Peer does not support Addpath
Table inet.0 Bit: 10001
RIB State: BGP restart is complete
Send state: in sync
Active prefixes: 1
Received prefixes: 1
Accepted prefixes: 1
Suppressed due to damping: 0
Advertised prefixes: 3
Last traffic (seconds): Received 8 Sent 17 Checked 33
Input messages: Total 2071 Updates 4 Refreshes 0 Octets 39475
Output messages: Total 2209 Updates 8 Refreshes 0 Octets 42362
Output Queue[0]: 0
Peer: 169.254.255.77+49645 AS 7224 Local: 169.254.255.78+179 AS 65001
Type: External State: Established Flags: <Sync>
Last State: OpenConfirm Last Event: RecvKeepAlive
Last Error: Hold Timer Expired Error
Export: [ ebgp-export bgp-export ]
Options: <Preference AuthKey AddressFamily PeerAS LocalAS Refresh As Override>
Options: <AdvertisePeerAs PeerSpecficLoopsAllowed>
Authentication key is configured
Address families configured: inet-unicast
Holdtime: 90 Preference: 170 Local AS: 65001 Local System AS: 100
Number of flaps: 2
Last flap event: HoldTime
Error: 'Hold Timer Expired Error' Sent: 2 Recv: 0
Peer ID: 169.254.255.77 Local ID: 192.168.1.1 Active Holdtime: 90
Keepalive Interval: 30 Peer index: 0
BFD: disabled, down
Local Interface: ge-2/0/0.1
NLRI for restart configured on peer: inet-unicast
NLRI advertised by peer: inet-unicast
NLRI for this session: inet-unicast
Peer supports Refresh capability (2)
Stale routes from peer are kept for: 300
Peer does not support Restarter functionality
NLRI that restart is negotiated for: inet-unicast
NLRI of received end-of-rib markers: inet-unicast
NLRI of all end-of-rib markers sent: inet-unicast
Peer supports 4 byte AS extension (peer-as 7224)
Peer does not support Addpath
Table inet.0 Bit: 10000
RIB State: BGP restart is complete
Send state: in sync
Active prefixes: 1
Received prefixes: 1
Accepted prefixes: 1
Suppressed due to damping: 0
Advertised prefixes: 3
Last traffic (seconds): Received 26 Sent 15 Checked 22
Input messages: Total 2062 Updates 2 Refreshes 0 Octets 39261
Output messages: Total 2193 Updates 4 Refreshes 0 Octets 41862
Output Queue[0]: 0
[edit]
root#
policy-statement bgp-export {
from {
protocol bgp;
route-filter 10.2.4.0/23 exact accept;
}
then accept;
}
policy-statement bgp-export1 {
from {
protocol bgp;
route-filter 10.2.3.0/24 exact accept;
}
then accept;
}
policy-statement ebgp-export {
from {
protocol [ direct local static ];
route-filter 10.2.6.0/30 exact accept;
route-filter 192.168.1.0/24 exact accept;
}
then accept;
}
root# show protocols
router-advertisement {
interface em0.0;
}
bgp {
family inet {
unicast {
loops 2;
}
}
group external-peers {
type external;
advertise-peer-as;
authentication-key "nothing"; ## SECRET-DATA
export [ ebgp-export bgp-export1 ];
peer-as 7224;
local-as 65000;
neighbor 169.254.255.73 {
as-override;
}
}
group external-peer1 {
type external;
advertise-peer-as;
authentication-key "nothing"; ## SECRET-DATA
export [ ebgp-export bgp-export ];
peer-as 7224;
local-as 65001;
neighbor 169.254.255.77 {
as-override;
}
}
}
stp;