📄 mplste02.dml
字号:
#examples\gmpls\mpls_te\test02\MplsTE02.dml with Priority Scheduler
#
#
#Client LER LER Server
#100(0)---(0)110(1)--+ LSR LSR +--(0)111(1)---(0)101
# LER +--(0)120 121(1)--+ LSR
#102(0)---(0)112(1)-----(1)(3) (2)(3)-----(0)113(1)---(0)103
# | |
# | |
#Client LER | | LER Server
#200(0)---(0)210(1)--+ (3) (2) +--(0)211(1)---(0)201
# LER +--(0)220(2)--------(0)221(1)--+ LSR
#202(0)---(0)212(1)-----(1)LSR LSR(3)-----(0)213(1)---(0)203
Net [
frequency 20000000
ospf_area 0
AS_status boundary
lsaoptions [
unreserved_bandwidth "true"
]
host [
id 1000
x 10
y 10
graph [
ProtocolSession [name ip use gov.nist.antd.ssf.os.IP]
ProtocolSession [name LSPCreator use gov.nist.antd.rsvp.te.LSP_Creator
SignalingProtocol S_CRLDP
#SignalingProtocol RSVP
LSP_SETUP_INFO [
# //////////////////////////////////////////////////////////////
# LSP between 110 and 211
# //////////////////////////////////////////////////////////////
LSP [
ID 0
PathID LSP110-211
SetupTime 15
LSPType Normal
Scheduler [
Type Priority
Value 10
]
FEC [
Src [
Grp[ID 100]
Port[min 0 max 20000]
]
Dst [
Grp [ID 201]
Port[min 0 max 20000 ]
]
]
TrafficParameters [PDR 2200000 PBS 15000 CDR 2000000
CBS 10000 EBS 5000]
TEPath [
SrcID 110
DstID 211
]
]
LSP [
ID 1
PathID LSP211-110
SetupTime 15
LSPType Normal
Scheduler [
Type Priority
Value 10
]
FEC [
Src [
Grp[ID 201]
Port[min 0 max 20000]
]
Dst [
Grp [ID 100]
Port[min 0 max 20000 ]
]
]
TrafficParameters [PDR 2200000 PBS 15000 CDR 2000000
CBS 10000 EBS 5000]
TEPath [
SrcID 211
DstID 110
]
]
# //////////////////////////////////////////////////////////////
# LSP between 112 and 213
# //////////////////////////////////////////////////////////////
LSP [
ID 2
PathID LSP112-213
SetupTime 16
LSPType Normal
Scheduler [
Type Priority
Value 9
]
FEC [
Src [
Grp[ID 102]
Port[min 0 max 20000]
]
Dst [
Grp [ID 203]
Port[min 0 max 20000 ]
]
]
TrafficParameters [PDR 2200000 PBS 15000 CDR 2000000
CBS 10000 EBS 5000]
TEPath [
SrcID 112
DstID 213
]
]
LSP [
ID 3
PathID LSP213-112
SetupTime 16
LSPType Normal
Scheduler [
Type Priority
Value 9
]
FEC [
Src [
Grp[ID 203]
Port[min 0 max 20000]
]
Dst [
Grp [ID 102]
Port[min 0 max 20000 ]
]
]
TrafficParameters [PDR 2200000 PBS 15000 CDR 2000000
CBS 10000 EBS 5000]
TEPath [
SrcID 213
DstID 112
]
]
# /////////////////////////////////////////////////////////////
# LSP between 210 and 111
# /////////////////////////////////////////////////////////////
LSP [
ID 4
PathID LSP210-111
SetupTime 17
LSPType Normal
Scheduler [
Type Priority
Value 8
]
FEC [
Src [
Grp[ID 200]
Port[min 0 max 20000]
]
Dst [
Grp [ID 101]
Port[min 0 max 20000 ]
]
]
TrafficParameters [PDR 2200000 PBS 15000 CDR 2000000
CBS 10000 EBS 5000]
TEPath [
SrcID 210
DstID 111
]
]
LSP [
ID 5
PathID LSP111-210
SetupTime 17
LSPType Normal
Scheduler [
Type Priority
Value 8
]
FEC [
Src [
Grp[ID 101]
Port[min 0 max 20000]
]
Dst [
Grp [ID 200]
Port[min 0 max 20000 ]
]
]
TrafficParameters [PDR 2200000 PBS 15000 CDR 2000000
CBS 10000 EBS 5000]
TEPath [
SrcID 111
DstID 210
]
]
# /////////////////////////////////////////////////////////////
# LSP between 212 and 113
# /////////////////////////////////////////////////////////////
LSP [
ID 6
PathID LSP212-113
SetupTime 18
LSPType Normal
Scheduler [
Type Priority
Value 7
]
FEC [
Src [
Grp[ID 202]
Port[min 0 max 20000]
]
Dst [
Grp [ID 103]
Port[min 0 max 20000 ]
]
]
TrafficParameters [PDR 2200000 PBS 15000 CDR 2000000
CBS 10000 EBS 5000]
TEPath [
SrcID 212
DstID 113
]
]
LSP [
ID 7
PathID LSP113-212
SetupTime 18
LSPType Normal
Scheduler [
Type Priority
Value 7
]
FEC [
Src [
Grp[ID 103]
Port[min 0 max 20000]
]
Dst [
Grp [ID 202]
Port[min 0 max 20000 ]
]
]
TrafficParameters [PDR 2200000 PBS 15000 CDR 2000000
CBS 10000 EBS 5000]
TEPath [
SrcID 113
DstID 212
]
]
]
]
]
]
traffic [
pattern [
client 100
servers [nhi 201(0) port 10]
]
pattern [
client 102
servers [nhi 203(0) port 10]
]
pattern [
client 200
servers [nhi 101(0) port 10]
]
pattern [
client 202
servers [nhi 103(0) port 10]
]
]
TrafficDuration [
Duration[ ID 100 start_time 50 end_transmit_time 500]
Duration[ ID 102 start_time 50 end_transmit_time 500]
Duration[ ID 200 start_time 100 end_transmit_time 450]
Duration[ ID 202 start_time 150 end_transmit_time 400]
]
randomstream [
generator "MersenneTwister"
stream "seedstarter1"
reproducibility_level "timeline"
]
################################################################################
## L I N K S ##
################################################################################
# client link connection
link [attach 100(0) attach 110(0) delay 0.005]
link [attach 102(0) attach 112(0) delay 0.005]
link [attach 200(0) attach 210(0) delay 0.005]
link [attach 202(0) attach 212(0) delay 0.005]
# server link connection
link [attach 101(0) attach 111(1) delay 0.005]
link [attach 103(0) attach 113(1) delay 0.005]
link [attach 201(0) attach 211(1) delay 0.005]
link [attach 203(0) attach 213(1) delay 0.005]
#LER 110 AND 120
link [attach 110(1) attach 120(0) delay 0.005]
#LSR 111 AND 121
link [attach 111(0) attach 121(1) delay 0.005]
#LER 112 AND 120
link [attach 112(1) attach 120(1) delay 0.005]
#LER 113 AND 121
link [attach 113(0) attach 121(3) delay 0.005]
#LER 210 AND 220
link [attach 210(1) attach 220(0) delay 0.005]
#LER 211 AND 221
link [attach 211(0) attach 221(1) delay 0.005]
#LER 212 AND 220
link [attach 212(1) attach 220(1) delay 0.005]
#LER 213 AND 221
link [attach 213(0) attach 221(3) delay 0.005]
#LSR 120 AND 220
link [attach 120(3) attach 220(3) delay 0.005]
#LSR 121 AND 221
link [attach 121(2) attach 221(2) delay 0.005]
#LSR 220 AND 221
link [attach 220(2) attach 221(0) delay 0.005]
################################################################################
## C L I E N T - S E R V E R ##
################################################################################
host [ #Client
id 100
x 10
y 50
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -