287
Command Line Interface
Diffserv Commands
Diffserv Commands
Differentiated Services Commands provide different services for packets based on source
MAC address, destination MAC address, VLAN ID, DSCP, source IP address, Destination
IP address, protocol, source TCP/UDP port number, and destination TCP/UDP port
number. Diffserv Commands guarantee quality of service over networks.
diffserv classifier Check syntax & descriptions
Enables (creates and configures) or disables (deletes) diffserv classifiers.
Command Mode:
Global Configuration
Syntax
[no] diffserv classifier <id> [src-mac <mac>][dst-mac <mac>][vlan-id
<vid>][dscp <value>][protocol <pro-num>][src-IP <IP> <IP-mask>][dst-
IP <IP> <IP-mask>][src-port <port>][dst-port <port>]
Description
■
<id>
- Sets the diffserv classifier index ID.
■
[src-mac <mac>]
- Sets the classifier sourc MAC address.
■
[dst-mac <mac>]
- Sets the classifier destination MAC address.
■
[vlan-id <vid>]
- Sets the classifier vlan ID.
■
[dscp <value>]
- Sets the 6-bit dscp value in the classifier IP header.
■
[protocol <pro-num>]
- Sets the 8-bit protocol value in the classifier IP header. May
be 1 (ICMP), 2 (IGMP), 6 (TCP), 17 (UDP), or 46 (RSVP).
■
[src-IP <IP> <IP-mask>]
- Sets the source IP address and mask. IP mask is used
as a wildcard; a zero (0) value indicates any corresponding bit in the address is
acceptable; a one (1) value indicates corresponding bits must match exactly.
■
[dst-IP <IP> <IP-mask>]
- Sets the destination IP address and mask. IP mask is
used as a wildcard; a zero (0) value indicates any corresponding bit in the address is
acceptable; a one (1) value indicates corresponding bits must match exactly.
■
[src-port <port>]
- Sets the classifier source port number.
■
[dst-port <port>]
- Sets the classifier destination port number.
■
no diffserv classifier
- Disables diffserve classifiers.
Example
!Creates classifier Index:23 with source MAC address:
00:00:01:02:03:04 on Vlan 40.
Switch(config)#
diffserv classifier
23
src-mac
00:00:01:02:03:04
vlan-id
40
Switch(config)#
Summary of Contents for ZoneSwitch 4124
Page 2: ......
Page 64: ...50 Accessing the Switch Overview...
Page 168: ...154 Graphical User Interface POE...
Page 170: ...156 Command Line Interface RMON Commands 364 POE Commands 374 Configuration File Example 378...
Page 398: ...384 Safety and CE Regulations...
Page 409: ...395 Index Workspace 53 Z ZoneSwitch 4124 4 ZoneSwitch 4224 7...
Page 410: ...396 Index...