Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-ywliu authored Feb 18, 2024
1 parent 96e150d commit d8818ee
Showing 1 changed file with 2 additions and 65 deletions.
67 changes: 2 additions & 65 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ cat /proc/gtp5g/qer
### QoS Enable
Support Session AMBR and MFBR

1) Check whether QoS is enabled or disabled.(1 enabled, 0 disabled)
1) Check whether QoS is enabled or disabled. (1 means enabled, 0 means disabled)
```
cat /proc/gtp5g/qos
```
Expand All @@ -67,67 +67,4 @@ Support Session AMBR and MFBR
echo [number] > /proc/gtp5g/dbg
```
### Tools
+ [go-gtp5gnl](https://github.com/free5gc/go-gtp5gnl) usage
+ Build tool
```
# change directory
cd ./cmd/gogtp5g-tunnel
# build gogtp5g-tunnel
go build
```
+ List all PDR/FAR/QER
```
# ./gtp5g-tunnel list [pdr/far/qer]
./gtp5g-tunnel list pdr
```
+ Get/Del/Add/Mod PDR/FAR/QER
```
# ./gtp5g-tunnel [get/del/add/mod] [PDR/FAR/QER] [interface_name] [seid] [id] [option]
./gtp5g-tunnel add pdr upfgtp0 1 3 --pcd 99
```
```
PDR OPTIONS
--pcd <precedence>
--hdr-rm <outer-header-removal>
--far-id <existed-far-id>
--ue-ipv4 <pdi-ue-ipv4>
--f-teid <i-teid> <local-gtpu-ipv4>
--sdf-desp <description-string>
--sdf-tos-traff-cls <tos-traffic-class>
--sdf-scy-param-idx <security-param-idx>
--sdf-flow-label <flow-label>
--sdf-id <id>
--qer-id <id>
FAR OPTIONS
--action <apply-action>
--hdr-creation <description> <o-teid> <peer-ipv4> <peer-port>
QER OPTIONS
--qer-id <qer-id>
--qfi-id <qfi-id> [Value range: {0..63}]
--rqi-d <rqi> [Value range: {0=not triggered, 1=triggered}]
--ppp <ppp> [Value range: {0=not present, 1=present}]
--ppi <ppi> [Value range: {0..7}]
```


+ [go-gtp5gnl](https://github.com/free5gc/go-gtp5gnl)

0 comments on commit d8818ee

Please sign in to comment.