xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
82
DGS-3627:admin# show flow_meter
Command: show flow_meter
Flow Meter Information
---------------------------------
Profile ID:4
Access ID:1
Mode : trTCM
CIR:1000(64Kbps) CBS:200(Kbyte)
PIR:2000(64Kbps) PBS:200(Kbyte)
Action:
Conform : Permit
Counter: Disabled
Exceed
: Permit
Replace DSCP: 21
Counter: Disabled
Violate : Drop
Counter: Disabled
Total Entries: 1
DGS-3627:admin#
config time_range
Purpose
Used to configure the range of time to activate a function on the switch.
Syntax
config time_range <range_name 32> [hours start_time <time hh:mm:ss> end_time
<time hh:mm:ss> weekdays <daylist> |delete]
Description
This command defines a specific range of time to activate a function on the Switch by
specifying which time range in a day and which days in a week are covered in the time range.
Note that the specified time range is based on SNTP time or configured time. If this time is
not available, then the time range will not be met.
Parameters
<range_name 32>
- Specifies the name of the time range settings.
start_time
- Specifies the starting time in a day. (24-hr time) For example, 19:00 means 7PM.
19 is also acceptable. start_time must be smaller than end_time.
end_time
- Specifies the ending time in a day. (24-hr time)
weekdays
- Specify the list of days contained in the time range. Use a dash to define a period
of days. Use a comma to separate specific days. For example, mon-fri (Monday to Friday),
sun, mon, fri (Sunday, Monday and Friday)
delete
- Deletes a time range profile. When a time_range profile has been associated with
ACL entries, the delete of this time_range profile will fail.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the range of time to activate a function on the switch.
DGS-3627:admin# config time_range weekend hours start_time 0:0:0 end_time 23:59:5
9 weekdays sun,sat
Command: config time_range weekend hours start_time 0:0:0 end_time 23:59:59 week
days sun,sat
Success.
DGS-3627:admin#
show time_range
Purpose
Used to display time range information.
Syntax
show time_range
Description
The show time_range command displays current time range setting.