📄 diffserv.dml
字号:
ProtocolSession [name S_CRLDP use gov.nist.antd.mpls.signaling.S_CRLDP debug on ]
ProtocolSession [name MPLSModule use gov.nist.antd.mpls.mgmt.MPLSMgmt
logfile on
_find .dictionary.mplsinit
]
ProtocolSession [name te-app use gov.nist.antd.ospf_te.TEPath]
ProtocolSession [name ospf-te use gov.nist.antd.ospf_te.sOSPF_TE]
ProtocolSession [name ip use gov.nist.antd.ssf.os.IP]
ProtocolSession [name DiffServ use gov.nist.antd.diffserv.DiffServTrafficConditioner
logfile on
# DiffServ Flow Configuration : 0
diffServFlow [
# DiffServ Classifier Configuration
Classifier [
CT_EF [ SrcHostIdList [ ID 151 ] DestHostIdList [ ID 150 ]
Protocol 17 ToS 0
SrcPortMin 0 SrcPortMax 20000
DestPortMin 0 DestPortMax 20000
]
CT_AF4 [ SrcHostIdList [ ID 153 ] DestHostIdList [ ID 152 ]
Protocol 17 ToS 0
SrcPortMin 0 SrcPortMax 20000
DestPortMin 0 DestPortMax 20000
]
CT_BF [ SrcHostIdList [ ID 155 ] DestHostIdList [ ID 154 ]
Protocol 17 ToS 0
SrcPortMin 0 SrcPortMax 20000
DestPortMin 0 DestPortMax 20000
]
]
# DiffServ ActionPrifile Configuration
ActionProfile [
QueueMonitor on
Prf_EF [
Priority 5 Weight 1
Meter [ name SRTCM use gov.nist.antd.diffserv.SRTCMMeter
CIR 50000 CBS 10000 EBS 5000
]
Queue [ name DropTail use gov.nist.antd.diffserv.DiffServDropTailQueue
BufferSize 10000
]
]
Prf_AF4 [
Priority 3 Weight 1
Meter [ name SRTCM use gov.nist.antd.diffserv.SRTCMMeter
CIR 125000 CBS 20000 EBS 10000
]
Queue [ name DropTail use gov.nist.antd.diffserv.DiffServDropTailQueue
BufferSize 10000
]
]
Prf_BF [
Priority 1 Weight 1
Meter [ name SRTCM use gov.nist.antd.diffserv.SRTCMMeter
CIR 100000 CBS 15000 EBS 7000
]
Queue [ name DropTail use gov.nist.antd.diffserv.DiffServDropTailQueue
BufferSize 10000
]
]
]
# DiffServ Packet Scheduler Configuration
PacketScheduler [
name Priority use gov.nist.antd.diffserv.PriorityScheduler
ClassType [ CT EF CT AF4 CT BF ]
TrafficShaper [
MeanRate 250000
]
DataLink_Mapping[
MPLS_LSP [
pathID DiffServ-113-112-WFQ
SetUpTime 13
Weight 200
TrafficParameters [ PDR 250000 PBS 15000 CDR 200000 CBS 10000 EBS 5000 ]
NodeList [
Node [ ID 113 ]
Node [ ID 121 ]
Node [ ID 221 ]
Node [ ID 220 ]
Node [ ID 120 ]
Node [ ID 112 ]
]
]
]
]
]
]
ProtocolSession [ name ospf use SSF.OS.OSPF.sOSPF ]
]
interface [ id 0 _find .dictionary.LER_LSR_bitrate.bitrate ]
interface [ id 1 _find .dictionary.host_LER_bitrate.bitrate ]
interface [ id 2 _find .dictionary.host_LER_bitrate.bitrate ]
interface [ id 3 _find .dictionary.host_LER_bitrate.bitrate ]
]
# LER210 ---------------------------------------------------------------------
LSR [
id 210
_find .dictionary.LSRGraph.graph
interface [ id 0 _find .dictionary.host_LER_bitrate.bitrate ]
interface [ id 1 _find .dictionary.LER_LSR_bitrate.bitrate ]
]
# LER211 ---------------------------------------------------------------------
LSR [
id 211
_find .dictionary.LSRGraph.graph
interface [ id 0 _find .dictionary.LER_LSR_bitrate.bitrate ]
interface [ id 1 _find .dictionary.host_LER_bitrate.bitrate ]
]
# LER212 ---------------------------------------------------------------------
LSR [
id 212
_find .dictionary.LSRGraph.graph
interface [ id 0 _find .dictionary.host_LER_bitrate.bitrate ]
interface [ id 1 _find .dictionary.LER_LSR_bitrate.bitrate ]
]
# LER213 ---------------------------------------------------------------------
LSR [
id 213
_find .dictionary.LSRGraph.graph
interface [ id 0 _find .dictionary.LER_LSR_bitrate.bitrate ]
interface [ id 1 _find .dictionary.host_LER_bitrate.bitrate ]
]
# LSR120 -----------------------------------------------------------------------------
LSR [
id 120
_find .dictionary.LSRGraph.graph
interface [ id 0 _find .dictionary.LER_LSR_bitrate.bitrate ]
interface [ id 1 _find .dictionary.LER_LSR_bitrate.bitrate ]
interface [ id 3 _find .dictionary.LSR_LSR_bitrate.bitrate ]
]
# LSR121 -----------------------------------------------------------------------------
LSR [
id 121
_find .dictionary.LSRGraph.graph
interface [ id 1 _find .dictionary.LER_LSR_bitrate.bitrate ]
interface [ id 2 _find .dictionary.LSR_LSR_bitrate.bitrate ]
interface [ id 3 _find .dictionary.LER_LSR_bitrate.bitrate ]
]
# Oxc220 -----------------------------------------------------------------------------
LSR [
id 220
_find .dictionary.LSRGraph.graph
interface [ id 0 _find .dictionary.LER_LSR_bitrate.bitrate ]
interface [ id 1 _find .dictionary.LER_LSR_bitrate.bitrate ]
interface [ id 2 _find .dictionary.LSR_LSR_bitrate.bitrate ]
interface [ id 3 _find .dictionary.LSR_LSR_bitrate.bitrate ]
]
# Oxc221 -----------------------------------------------------------------------------
LSR [
id 221
_find .dictionary.LSRGraph.graph
interface [ id 0 _find .dictionary.LSR_LSR_bitrate.bitrate ]
interface [ id 1 _find .dictionary.LER_LSR_bitrate.bitrate ]
interface [ id 2 _find .dictionary.LSR_LSR_bitrate.bitrate ]
interface [ id 3 _find .dictionary.LER_LSR_bitrate.bitrate ]
]
]
dictionary[
host_LER_bitrate [ bitrate 150000 ]
LER_LSR_bitrate [ bitrate 280000 ]
LSR_LSR_bitrate [ bitrate 770000 ]
mplsinit[
PacketScheduler [
PrimaryScheduler [
name Priority use gov.nist.antd.mpls.mgmt.mpls_interface.PriorityScheduler
]
SecondaryScheduler [
name WFQ use gov.nist.antd.mpls.mgmt.mpls_interface.WFQScheduler
Priority 3
]
]
Queue [
name DropTail use gov.nist.antd.mpls.mgmt.mpls_interface.MPLSDropTailQueue
BufferSize 30000
]
BandwidthBorrowing off #on/off
]
udpinit [
max_datagram_size 10000 # max UDP datagram size (payload bytes)
debug false # print verbose UDP diagnostics
]
TGClientInit [
start_time 30.0 # earliest time to send request to server
start_window 1.0 # send request to server at randomly chosen time
# in interval [start_time, start_time+start_window]
file_size 10000000 # requested file size (payload bytes)
request_size 4 # client request datagram size (bytes)
datagram_size 1000 # max server datagram payload size (virtual bytes, int)
show_report false # print client-server session summary report
debug false # print verbose client/server diagnostics
]
TGServerInit [
port 10 # server's well known port
client_limit 10 # max number of contemporaneously allowed clients
request_size 4 # client request datagram size (bytes)
#end_transmit_time %d # time to stop packet transmission
show_report false # print client-server session summary report
debug false # print verbose client/server diagnostics
packet_gen_rate 50000 # packet generation rate of this server..
packet_gen_rate_distribution Exponential # packet generation rate distribution, Normal or Exponential
datagram_size 1000 # max server datagram payload size (virtual bytes, int)
datagram_size_distribution Normal # datagram size distrubution, Normal or Exponential
datagram_size_deviation 0.3 # datagram size deviation, only Normal distribution
# unit : % of the datagram size, 0 <= packet_gen_rate_deviation < 1.0
]
TGClient_s50 [
graph [
ProtocolSession [ name client use gov.nist.antd.traffic_generator.udpTGClient
_find .dictionary.TGClientInit
start_time 50.0 ]
ProtocolSession [name socket use SSF.OS.Socket.socketMaster]
ProtocolSession [name udp use SSF.OS.UDP.udpSessionMaster
_find .dictionary.udpinit ]
ProtocolSession [name ip use gov.nist.antd.ssf.os.IP]
]
]
TGClient_s100 [
graph [
ProtocolSession [ name client use gov.nist.antd.traffic_generator.udpTGClient
_find .dictionary.TGClientInit
start_time 100.0 ]
ProtocolSession [name socket use SSF.OS.Socket.socketMaster]
ProtocolSession [name udp use SSF.OS.UDP.udpSessionMaster
_find .dictionary.udpinit ]
ProtocolSession [name ip use gov.nist.antd.ssf.os.IP]
]
]
TGClient_s150 [
graph [
ProtocolSession [ name client use gov.nist.antd.traffic_generator.udpTGClient
_find .dictionary.TGClientInit
start_time 150.0 ]
ProtocolSession [name socket use SSF.OS.Socket.socketMaster]
ProtocolSession [name udp use SSF.OS.UDP.udpSessionMaster
_find .dictionary.udpinit ]
ProtocolSession [name ip use gov.nist.antd.ssf.os.IP]
]
]
TGServer_e400 [
graph [
ProtocolSession [ name server use gov.nist.antd.traffic_generator.udpTGServer
_find .dictionary.TGServerInit
end_transmit_time 400 ]
ProtocolSession [name socket use SSF.OS.Socket.socketMaster]
ProtocolSession [name udp use SSF.OS.UDP.udpSessionMaster
_find .dictionary.udpinit ]
ProtocolSession [name ip use gov.nist.antd.ssf.os.IP]
]
]
TGServer_e450 [
graph [
ProtocolSession [ name server use gov.nist.antd.traffic_generator.udpTGServer
_find .dictionary.TGServerInit
end_transmit_time 450 ]
ProtocolSession [name socket use SSF.OS.Socket.socketMaster]
ProtocolSession [name udp use SSF.OS.UDP.udpSessionMaster
_find .dictionary.udpinit ]
ProtocolSession [name ip use gov.nist.antd.ssf.os.IP]
]
]
TGServer_e500 [
graph [
ProtocolSession [ name server use gov.nist.antd.traffic_generator.udpTGServer
_find .dictionary.TGServerInit
end_transmit_time 500 ]
ProtocolSession [name socket use SSF.OS.Socket.socketMaster]
ProtocolSession [name udp use SSF.OS.UDP.udpSessionMaster
_find .dictionary.udpinit ]
ProtocolSession [name ip use gov.nist.antd.ssf.os.IP]
]
]
LSRGraph [
graph [
ProtocolSession [name S_CRLDP use gov.nist.antd.mpls.signaling.S_CRLDP debug on ]
ProtocolSession [name MPLSModule use gov.nist.antd.mpls.mgmt.MPLSMgmt
logfile on
_find .dictionary.mplsinit
]
ProtocolSession [name te-app use gov.nist.antd.ospf_te.TEPath]
ProtocolSession [name ospf-te use gov.nist.antd.ospf_te.sOSPF_TE]
ProtocolSession [name ip use gov.nist.antd.ssf.os.IP]
ProtocolSession [ name ospf use SSF.OS.OSPF.sOSPF ]
]
]
]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -