Справочник Пользователя для Enterasys Networks E1 Series

Скачать
Страница из 808
Policy Classification Configuration Command Set
Assigning Classification Rules to Policy Profiles
8-9
Command Type
Switch command.
Command Mode
Read-Only.
Example
This example shows how to display policy classification information. In this case, there is a policy 
classification entry number 1 assigned to profile index 1. It classifies Ethernet II (0x600) Type 
frames to a Class of Service of 0. Currently, port fe.0.1 is active for this rule.
8.3.2.2
set policy classify
Use this command to assign incoming untagged frames to a specific policy profile and to VLAN or 
Class-of-Service classification rules.
set policy classify profile-index classify-index {vlan | cos} classify-value {ether | 
ipbil | ipdest | ipproto | ipsource iptos | ipxbil | ipxbilsocket | ipxclass | ipxdest 
| ipxdestsocket | ipxsource ipxsourcesocket | ipxtype | llc macbil | macdest | 
macsource 
| tcpbilrange | tcpdestrange | tcpportdest tcpportsource | 
tcpsrcrange 
udpportbil | udpportdest | udpportsource | udpsrcrange
data_value [data_mask]
Matrix>show policy class
Policy Classification Entries
 --------------------------------
 Profile index: 1, Classification index: 1,
 Priority: 0, Ethernet II Type: 600, Status: enabled,
 Port List: None
 ----------
   Port      AdminID    OperID
  -------    -------    ------
  fe.0.1     1          0
  fe.0.2     0          0
fe.0.3     0          0
fe.0.4     0          0
fe.0.5     0          0
fe.0.6     0          0
NOTE: Classification rules are automatically enabled when created.