0% found this document useful (0 votes)
74 views6 pages

APN Problem Troubleshooting

The document discusses APN configuration validation for a customer using routers with SIM cards in different branches to connect to headquarters. It provides details on: 1) The APN name, destination IP, IP pool, and number of SIM cards. 2) Showing BGP and route table configurations for the APN routing instance to check advertisement and receipt of routes. 3) Additional configuration of routing policies, prefix lists, and BGP group settings was needed to properly export and import routes between devices.

Uploaded by

Ah M Ed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views6 pages

APN Problem Troubleshooting

The document discusses APN configuration validation for a customer using routers with SIM cards in different branches to connect to headquarters. It provides details on: 1) The APN name, destination IP, IP pool, and number of SIM cards. 2) Showing BGP and route table configurations for the APN routing instance to check advertisement and receipt of routes. 3) Additional configuration of routing policies, prefix lists, and BGP group settings was needed to properly export and import routes between devices.

Uploaded by

Ah M Ed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

APN solution TS

APN configuration validation:

APN: Customer using routers with SIM cards in different branches, to reach HQ as shown

For example:

Appreciated your fast intervention to solve this APN problems as customer can’t reach his
destination;

APN behieraelectricity-st.te.eg

Destination IP 192.168.100.0/24

IP pool 172.16.24.0/21

Sim Cards count 800

Order No 6130041 for 800 Sim card

CREATED BY: MOHAMED ABD ALLAH AHMED 1


For BGP

6OCT2-R33J-GZ-EG> show bgp summary instance behieraelectricity-st.te.eg --- same as APN name
Groups: 2 Peers: 2 Down peers: 0
Table Tot Paths Act Paths Suppressed History Damp State Pending
Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn
State|#Active/Received/Accepted/Damped...
212.103.178.26 65204 769001 765944 0 2 37w0d 4:49:13 Establ ------ ip of firewall
behieraelectricity-st.te.eg_Untrust.inet.0: 1/1/1/0

212.103.178.35 64600 827166 854456 0 5 41w2d 2:07:35 Establ-------- ip of EBG


behieraelectricity-st.te.eg.inet.0: 1/4/1/0

6OCT2-R33J-GZ-EG> show route table behieraelectricity-st.te.eg advertising-protocol bgp 212.103.178.35

behieraelectricity-st.te.eg.inet.0: 13 destinations, 24 routes (13 active, 0 holddown, 3 hidden)


Prefix Nexthop MED Lclpref AS path
* 192.168.100.0/24 Self 0 I ------- problem was destination subnet not advertised to EPG

6OCT2-R33J-GZ-EG> show route table behieraelectricity-st.te.eg receive-protocol bgp 212.103.178.35

behieraelectricity-st.te.eg.inet.0: 13 destinations, 24 routes (13 active, 0 holddown, 3 hidden)


Prefix Nexthop MED Lclpref AS path
* 172.16.24.0/21 212.103.178.35 0 64600 ?

6OCT2-R33J-GZ-EG> show route table behieraelectricity-st.te.eg advertising-protocol bgp 212.103.178.26

behieraelectricity-st.te.eg_Untrust.inet.0: 199 destinations, 395 routes (199 active, 0 holddown, 0 hidden)


Prefix Nexthop MED Lclpref AS path
* 192.168.100.0/24 Self I

6OCT2-R33J-GZ-EG> show route table behieraelectricity-st.te.eg receive-protocol bgp 212.103.178.26


behieraelectricity-st.te.eg_Untrust.inet.0: 199 destinations, 395 routes (199 active, 0 holddown, 0 hidden)
Prefix Nexthop MED Lclpref AS path
* 172.16.24.0/21 212.103.178.26 100 65204 I

CREATED BY: MOHAMED ABD ALLAH AHMED 2


For routing instance behieraelectricity-st.te.eg :

6OCT2-R33J-GZ-EG>show configuration routing-instances behieraelectricity-st.te.eg protocols bgp group


vEPG_behieraelectricity-st.te.eg | display set
set routing-instances behieraelectricity-st.te.eg protocols bgp group vEPG_behieraelectricity-st.te.eg type
external
set routing-instances behieraelectricity-st.te.eg protocols bgp group vEPG_behieraelectricity-st.te.eg
multihop
set routing-instances behieraelectricity-st.te.eg protocols bgp group vEPG_behieraelectricity-st.te.eg local-
address 212.103.178.33
set routing-instances behieraelectricity-st.te.eg protocols bgp group vEPG_behieraelectricity-st.te.eg passive
set routing-instances behieraelectricity-st.te.eg protocols bgp group vEPG_behieraelectricity-st.te.eg import
vEPG_behieraelectricity-st.te.eg_import
set routing-instances behieraelectricity-st.te.eg protocols bgp group vEPG_behieraelectricity-st.te.eg export
vEPG_behieraelectricity-st.te.eg_export
set routing-instances behieraelectricity-st.te.eg protocols bgp group vEPG_behieraelectricity-st.te.eg peer-
as 64600
set routing-instances behieraelectricity-st.te.eg protocols bgp group vEPG_behieraelectricity-st.te.eg bfd-
liveness-detection minimum-interval 200
set routing-instances behieraelectricity-st.te.eg protocols bgp group vEPG_behieraelectricity-st.te.eg bfd-
liveness-detection multiplier 3
set routing-instances behieraelectricity-st.te.eg protocols bgp group vEPG_behieraelectricity-st.te.eg
neighbor 212.103.178.35

- Above mentioned import /export was not exist on configuration and problem recovered after
adding and below configuration for Routing-police and prefix list under it

6OCT2-R33J-GZ-EG> show configuration policy-options policy-statement vEPG_behieraelectricity-


st.te.eg_import | display set

set policy-options policy-statement vEPG_behieraelectricity-st.te.eg_import term behieraelectricity-


st.te.eg_import from protocol bgp
set policy-options policy-statement vEPG_behieraelectricity-st.te.eg_import term behieraelectricity-
st.te.eg_import from prefix-list behieraelectricity-st.te.eg_Pool
set policy-options policy-statement vEPG_behieraelectricity-st.te.eg_import term behieraelectricity-
st.te.eg_import then local-preference add 50
set policy-options policy-statement vEPG_behieraelectricity-st.te.eg_import term behieraelectricity-
st.te.eg_import then accept
set policy-options policy-statement vEPG_behieraelectricity-st.te.eg_import term REJECT then reject

6OCT2-R33J-GZ-EG> show configuration policy-options prefix-list behieraelectricity-st.te.eg_Pool


172.16.24.0/21;

CREATED BY: MOHAMED ABD ALLAH AHMED 3


6OCT2-R33J-GZ-EG> show configuration policy-options policy-statement vEPG_behieraelectricity-
st.te.eg_export | display set

set policy-options policy-statement vEPG_behieraelectricity-st.te.eg_export term behieraelectricity-


st.te.eg_export from protocol bgp
set policy-options policy-statement vEPG_behieraelectricity-st.te.eg_export term behieraelectricity-
st.te.eg_export from prefix-list behieraelectricity-st.te.eg_Destination
set policy-options policy-statement vEPG_behieraelectricity-st.te.eg_export term behieraelectricity-
st.te.eg_export then accept
set policy-options policy-statement vEPG_behieraelectricity-st.te.eg_export term OSPF from protocol ospf
set policy-options policy-statement vEPG_behieraelectricity-st.te.eg_export term OSPF from prefix-list
behieraelectricity-st.te.eg_Destination
set policy-options policy-statement vEPG_behieraelectricity-st.te.eg_export term OSPF then accept
set policy-options policy-statement vEPG_behieraelectricity-st.te.eg_export term REJECT then reject

6OCT2-R33J-GZ-EG> show configuration policy-options prefix-list behieraelectricity-st.te.eg_Destination


192.168.100.0/24;

===============

For routing instance behieraelectricity-st.te.eg_Untrust we will do the same TS:

6OCT2-R33J-GZ-EG> show route table behieraelectricity-st.te.eg advertising-protocol bgp 212.103.178.26

behieraelectricity-st.te.eg_Untrust.inet.0: 199 destinations, 395 routes (199 active, 0 holddown, 0 hidden)


Prefix Nexthop MED Lclpref AS path
* 192.168.100.0/24 Self I

6OCT2-R33J-GZ-EG> show route table behieraelectricity-st.te.eg receive-protocol bgp 212.103.178.26


behieraelectricity-st.te.eg_Untrust.inet.0: 199 destinations, 395 routes (199 active, 0 holddown, 0 hidden)
Prefix Nexthop MED Lclpref AS path
* 172.16.24.0/21 212.103.178.26 100 65204 I

6OCT2-R33J-GZ-EG> show configuration routing-instances behieraelectricity-st.te.eg_Untrust protocols bgp


group behieraelectricity-st.te.eg_FW | display set
set routing-instances behieraelectricity-st.te.eg_Untrust protocols bgp group behieraelectricity-st.te.eg_FW
type external
set routing-instances behieraelectricity-st.te.eg_Untrust protocols bgp group behieraelectricity-st.te.eg_FW
local-address 212.103.178.25
set routing-instances behieraelectricity-st.te.eg_Untrust protocols bgp group behieraelectricity-st.te.eg_FW
passive

CREATED BY: MOHAMED ABD ALLAH AHMED 4


set routing-instances behieraelectricity-st.te.eg_Untrust protocols bgp group behieraelectricity-st.te.eg_FW
import behieraelectricity-st.te.eg_FW_import
set routing-instances behieraelectricity-st.te.eg_Untrust protocols bgp group behieraelectricity-st.te.eg_FW
export behieraelectricity-st.te.eg_FW_export
set routing-instances behieraelectricity-st.te.eg_Untrust protocols bgp group behieraelectricity-st.te.eg_FW
remove-private
set routing-instances behieraelectricity-st.te.eg_Untrust protocols bgp group behieraelectricity-st.te.eg_FW
peer-as 65204
set routing-instances behieraelectricity-st.te.eg_Untrust protocols bgp group behieraelectricity-st.te.eg_FW
bfd-liveness-detection minimum-interval 100
set routing-instances behieraelectricity-st.te.eg_Untrust protocols bgp group behieraelectricity-st.te.eg_FW
bfd-liveness-detection multiplier 3
set routing-instances behieraelectricity-st.te.eg_Untrust protocols bgp group behieraelectricity-st.te.eg_FW
neighbor 212.103.178.26

6OCT2-R33J-GZ-EG> show configuration policy-options policy-statement behieraelectricity-


st.te.eg_FW_import | display set
set policy-options policy-statement behieraelectricity-st.te.eg_FW_import term 1 from protocol bgp
set policy-options policy-statement behieraelectricity-st.te.eg_FW_import term 1 from prefix-list
behieraelectricity-st.te.eg_Pool
set policy-options policy-statement behieraelectricity-st.te.eg_FW_import term 1 then accept
set policy-options policy-statement behieraelectricity-st.te.eg_FW_import term REJECT then reject

6OCT2-R33J-GZ-EG> show configuration policy-options prefix-list behieraelectricity-st.te.eg_Pool


172.16.24.0/21;

6OCT2-R33J-GZ-EG> show configuration policy-options policy-statement behieraelectricity-


st.te.eg_FW_export | display set
set policy-options policy-statement behieraelectricity-st.te.eg_FW_export term 1 from protocol bgp
set policy-options policy-statement behieraelectricity-st.te.eg_FW_export term 1 from prefix-list
behieraelectricity-st.te.eg_Destination
set policy-options policy-statement behieraelectricity-st.te.eg_FW_export term 1 then accept
set policy-options policy-statement behieraelectricity-st.te.eg_FW_export term REJECT then reject

6OCT2-R33J-GZ-EG> show configuration policy-options prefix-list behieraelectricity-st.te.eg_Destination


192.168.100.0/24;

CREATED BY: MOHAMED ABD ALLAH AHMED 5


For destination (192.168.100.0/24 )

6OCT2-R33J-GZ-EG> show route table behieraelectricity-st.te.eg_Untrust.inet.0 192.168.100.0 extensive |


match ori
AS path: 65216 I (Originator)
Originator ID: 10.45.0.66
10.45.0.66/32 Originating RIB: inet.3
AS path: 65216 I (Originator)
Originator ID: 10.45.0.66
10.45.0.66/32 Originating RIB: inet.3

telnet 10.45.0.66
DMNHRE1-R02J-BH-EG> show route table BCED.inet.0 192.168.100.0

BCED.inet.0: 257 destinations, 492 routes (257 active, 0 holddown, 0 hidden)


+ = Active Route, - = Last Active, * = Both

192.168.100.0/24 *[BGP/170] 1d 03:03:44, MED 0, localpref 100


AS path: 65216 I, validation-state: unverified
> to 172.16.100.6 via ge-0/2/6.1274 ------ ip of neighbor

DMNHRE1-R02J-BH-EG> show route table BCED.inet.0 advertising-protocol bgp 172.16.100.6 | match


172.16.24.0

* 172.16.24.0/21 Self 65204 I ----- advertised subnet for SIM pool

DMNHRE1-R02J-BH-EG> show route table BCED.inet.0 receive-protocol bgp 172.16.100.6 | match


192.168.100.0

* 192.168.100.0/24 172.16.100.6 0 65216 I ------ received subnet for destination

CREATED BY: MOHAMED ABD ALLAH AHMED 6

You might also like