⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 diffserv.dml

📁 Java programming on optical network protection and restroation algorithms
💻 DML
📖 第 1 页 / 共 3 页
字号:
		nhi_route [dest 202(0) interface 0 next_hop 213(1)]
	]
	
   # ------------------------------------------------------------------------- LSRs
	# LER110 ---------------------------------------------------------------------
	LSR [ 
   		id 110
   		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 DiffServ use gov.nist.antd.diffserv.DiffServTrafficConditioner
   				logfile on
  				# DiffServ Flow Configuration : 0
   				diffServFlow [
   					# DiffServ Classifier Configuration
   					Classifier [
   						CT_EF [   SrcHostIdList [ ID 100 ]   DestHostIdList [ ID 101 ]
   						   	  Protocol 17      ToS 0
   						   	  SrcPortMin 0     SrcPortMax 20000
   						   	  DestPortMin 0    DestPortMax 20000
   						]
   						CT_AF4 [   SrcHostIdList [ ID 102 ]   DestHostIdList [ ID 103 ]
   							   Protocol 17      ToS 0
   						   	   SrcPortMin 0     SrcPortMax 20000
   						   	   DestPortMin 0    DestPortMax 20000
   						]
   						CT_BF [   SrcHostIdList [ ID 104 ]   DestHostIdList [ ID 105 ]
   							   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-110-111-Priority
   								SetUpTime 13
   								Priority 6
   								TrafficParameters [ PDR 250000 PBS 15000 CDR 200000 CBS 10000 EBS 5000 ]
								NodeList [
									Node [ ID 110 ]
									Node [ ID 120 ]
									Node [ ID 220 ]
									Node [ ID 221 ]
									Node [ ID 121 ]
									Node [ ID 111 ]
								]
							]
						]
   					]
   				]
   			]
   			ProtocolSession [ name ospf  use SSF.OS.OSPF.sOSPF ]
   		]
   		interface [ id 0 _find .dictionary.host_LER_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.LER_LSR_bitrate.bitrate ]
   	]
   	
   	# LER111 ---------------------------------------------------------------------
	LSR [ 
   		id 111
   		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 DiffServ use gov.nist.antd.diffserv.DiffServTrafficConditioner
   				logfile on
  				# DiffServ Flow Configuration : 0
   				diffServFlow [
   					# DiffServ Classifier Configuration
   					Classifier [
   						CT_EF [   SrcHostIdList [ ID 101 ]   DestHostIdList [ ID 100 ]
   						   	  Protocol 17      ToS 0
   						   	  SrcPortMin 0     SrcPortMax 20000
   						   	  DestPortMin 0    DestPortMax 20000
   						]
   						CT_AF4 [   SrcHostIdList [ ID 103 ]   DestHostIdList [ ID 102 ]
   							   Protocol 17      ToS 0
   						   	   SrcPortMin 0     SrcPortMax 20000
   						   	   DestPortMin 0    DestPortMax 20000
   						]
   						CT_BF [   SrcHostIdList [ ID 105 ]   DestHostIdList [ ID 104 ]
   							   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-111-110-Priority
   								SetUpTime 13
   								Priority 6
   								TrafficParameters [ PDR 250000 PBS 15000 CDR 200000 CBS 10000 EBS 5000 ]
								NodeList [
									Node [ ID 111 ]
									Node [ ID 121 ]
									Node [ ID 221 ]
									Node [ ID 220 ]
									Node [ ID 120 ]
									Node [ ID 110 ]
								]
							]
						]
   					]
   				]
   			]
   			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 ]
   	]
   	
   	# LER112 ---------------------------------------------------------------------
	LSR [ 
   		id 112
   		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 DiffServ use gov.nist.antd.diffserv.DiffServTrafficConditioner
   				logfile on
  				# DiffServ Flow Configuration : 0
   				diffServFlow [
   					# DiffServ Classifier Configuration
   					Classifier [
   						CT_EF [   SrcHostIdList [ ID 150 ]   DestHostIdList [ ID 151 ]
   						   	  Protocol 17      ToS 0
   						   	  SrcPortMin 0     SrcPortMax 20000
   						   	  DestPortMin 0    DestPortMax 20000
   						]
   						CT_AF4 [   SrcHostIdList [ ID 152 ]   DestHostIdList [ ID 153 ]
   							   Protocol 17      ToS 0
   						   	   SrcPortMin 0     SrcPortMax 20000
   						   	   DestPortMin 0    DestPortMax 20000
   						]
   						CT_BF [   SrcHostIdList [ ID 154 ]   DestHostIdList [ ID 155 ]
   							   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-112-113-WFQ
   								SetUpTime 13
   								Weight 200
   								TrafficParameters [ PDR 250000 PBS 15000 CDR 200000 CBS 10000 EBS 5000 ]
								NodeList [
									Node [ ID 112 ]
									Node [ ID 120 ]
									Node [ ID 220 ]
									Node [ ID 221 ]
									Node [ ID 121 ]
									Node [ ID 113 ]
								]
							]
						]
   					]
   				]
   			]
   			ProtocolSession [ name ospf  use SSF.OS.OSPF.sOSPF ]
   		]
   		interface [ id 0 _find .dictionary.host_LER_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.LER_LSR_bitrate.bitrate ]
   	]
   	
   	# LER113 ---------------------------------------------------------------------
	LSR [ 
   		id 113
   		graph [

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -