Files
osmo-upf/contrib/osmo-pfcp-tool-scripts/encaps_plus_tunmap.vty
Neels Hofmeyr 972810e00d add osmo-pfcp-tool
Related: SYS#5599
Change-Id: I34a80d43a14c7b68952c7d337d8042d6f28ceae7
2022-03-25 02:01:07 +01:00

31 lines
876 B
Plaintext

# ACCESS HOP CORE
# session 23 = tunmap session 42 = encaps/decaps
# GTP 127.0.0.13 127.0.0.12 127.0.0.11
# TEID l:23 r:123 <---> r:23 l:123 | l:142 r:42 <---> r:142 l:42 | 192.168.100.42
#
# Run two UPF, one listening on / sending from 127.0.0.11, the other on 127.0.0.12.
# (Each has to match on the sender address of incoming GTP packets.)
timer pfcp x23 0
pfcp-peer 127.0.0.11
tx assoc-setup-req
sleep 1
session endecaps 42
ue ip 192.168.100.42
gtp access ip 127.0.0.12
gtp access teid local 42 remote 142
tx session-est-req
sleep 1
pfcp-peer 127.0.0.12
tx assoc-setup-req
sleep 1
session tunmap 23
gtp core ip 127.0.0.11
gtp core teid local 142 remote 42
gtp access ip 127.0.0.13
gtp access teid local 123 remote 23
tx session-est-req
sleep 1