前のトピック: class-of-service テンプレートを使用するエントリの例

次のトピック: エイリアスのセットアップ

class-of-service テンプレートの例

Excellent ISP 社は 2 つのテンプレートを使用する必要があります。 標準レベルのテンプレートは以下のとおりです。

set class-of-service standard = {
object class	= excellentISPuser
cos-attr		= excellentISPpackage
cos-value		= "Standard"
attribute-values = {
(type		= excellentISPmailQuotaMB
value		= "20"
disposition		= default),
(type		= excellentISPwebSpaceMB
value		= "20"
disposition		= default),
(type		= excellentISPaccessHours
value		= "15"
disposition		= override),
(type		= excellentISPprice
value		= "19.95"
disposition		= default),
(type		= excellentISPextraHoursPrice
value		= "1.00"
disposition		= default)
}
};

プレミアム レベルのテンプレートは以下のとおりです。

set class-of-service premium = {
object class		= excellentISPuser
cos-attr		= excellentISPpackage
cos-value		= "Premium"
attribute-values = {
(type		= excellentISPmailQuotaMB
value		= "30"
disposition		= default),
(type		= excellentISPwebSpaceMB
value		= "30"
disposition		= default),
(type		= excellentISPaccessHours
value		= "Unlimited"
disposition		= override),
(type		= excellentISPprice
value		= "29.95"
disposition		= default),
(type		= excellentISPextraHoursPrice
value		= "0.00"
disposition		= default)
}
};