File size: 4,071 Bytes
258fb37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
db_uri: mongodb://localhost/open5gs
logger:
  file:
    path: @localstatedir@/log/open5gs/pcrf.log
#  level: info   # fatal|error|warn|info(default)|debug|trace

global:
  max:
    ue: 1024  # The number of UE can be increased depending on memory size.
#    peer: 64
pcrf:
  freeDiameter: @sysconfdir@/freeDiameter/pcrf.conf

################################################################################
# Locally configured policy
################################################################################
#
#  o You don't have to use MongoDB if you use the policy configuration as below.
#
#  session:
#    - name: internet
#      type: 3  # 1:IPv4, 2:IPv6, 3:IPv4v6
#      ambr:
#        downlink:
#          value: 1
#          unit: 3  # 0:bps, 1:Kbps, 2:Mbps, 3:Gbps, 4:Tbps
#        uplink:
#          value: 1
#          unit: 3
#      qos:
#        index: 9  # 1, 2, 3, 4, 65, 66, 67, 75, 71, 72, 73, 74, 76, 5, 6, 7, 8, 9, 69, 70, 79, 80, 82, 83, 84, 85, 86
#        arp:
#          priority_level: 8  # 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
#          pre_emption_vulnerability: 1  # 1: Disabled, 2:Enabled
#          pre_emption_capability: 1  # 1: Disabled, 2:Enabled
#    - name: ims
#      type: 3  # 1:IPv4, 2:IPv6, 3:IPv4v6
#      ambr:
#        downlink:
#          value: 1
#          unit: 3  # 0:bps, 1:Kbps, 2:Mbps, 3:Gbps, 4:Tbps
#        uplink:
#          value: 1
#          unit: 3  # 0:bps, 1:Kbps, 2:Mbps, 3:Gbps, 4:Tbps
#      qos:
#        index: 5  # 1, 2, 3, 4, 65, 66, 67, 75, 71, 72, 73, 74, 76, 5, 6, 7, 8, 9, 69, 70, 79, 80, 82, 83, 84, 85, 86
#        arp:
#          priority_level: 1  # 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
#          pre_emption_vulnerability: 1  # 1: Disabled, 2:Enabled
#          pre_emption_capability: 1  # 1: Disabled, 2:Enabled
#      pcc_rule:
#        - qos:
#            index: 1  # 1, 2, 3, 4, 65, 66, 67, 75, 71, 72, 73, 74, 76, 5, 6, 7, 8, 9, 69, 70, 79, 80, 82, 83, 84, 85, 86
#            arp:
#              priority_level: 1  # 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
#              pre_emption_vulnerability: 1   # 1: Disabled, 2:Enabled
#              pre_emption_capability: 1   # 1: Disabled, 2:Enabled
#            mbr:
#              downlink:
#                value: 82
#                unit: 1  # 0:bps, 1:Kbps, 2:Mbps, 3:Gbps, 4:Tbps
#              uplink:
#                value: 82
#                unit: 1  # 0:bps, 1:Kbps, 2:Mbps, 3:Gbps, 4:Tbps
#            gbr:
#              downlink:
#                value: 82
#                unit: 1  # 0:bps, 1:Kbps, 2:Mbps, 3:Gbps, 4:Tbps
#              uplink:
#                value: 82
#                unit: 1  # 0:bps, 1:Kbps, 2:Mbps, 3:Gbps, 4:Tbps
#          flow:
#            - direction: 2
#              description: "permit out icmp from any to assigned"
#            - direction: 1
#              description: "permit out icmp from any to assigned"
#            - direction: 2
#              description: "permit out udp from 10.200.136.98/32 23455 to assigned 1-65535"
#            - direction: 1
#              description: "permit out udp from 10.200.136.98/32 1-65535 to assigned 50021"
#        - qos:
#            index: 2  # 1, 2, 3, 4, 65, 66, 67, 75, 71, 72, 73, 74, 76, 5, 6, 7, 8, 9, 69, 70, 79, 80, 82, 83, 84, 85, 86
#            arp:
#              priority_level: 4  # 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
#              pre_emption_vulnerability: 2   # 1: Disabled, 2:Enabled
#              pre_emption_capability: 2   # 1: Disabled, 2:Enabled
#            mbr:
#              downlink:
#                value: 802
#                unit: 1  # 0:bps, 1:Kbps, 2:Mbps, 3:Gbps, 4:Tbps
#              uplink:
#                value: 802
#                unit: 1  # 0:bps, 1:Kbps, 2:Mbps, 3:Gbps, 4:Tbps
#            gbr:
#              downlink:
#                value: 802
#                unit: 1  # 0:bps, 1:Kbps, 2:Mbps, 3:Gbps, 4:Tbps
#              uplink:
#                value: 802
#                unit: 1  # 0:bps, 1:Kbps, 2:Mbps, 3:Gbps, 4:Tbps
#