Ethernet Port Configuration
109
Step 2
node
(prt-eth)[
slot
/
port
]#cos
{default | rx-map | tx-map }
Selects the layer 2 CoS to service class mapping
If the frame format is set to standard, the
cos default
command value defines which class of service
has to be used for the data traffic. The command syntax is:
The
cos rx-map
and
cos tx-map
commands above need service class mapping table entries, which
has to be entered as additional command argument. The command syntax is:
•
cos rx-map
layer 2 class of service value
as
service class value
•
cos tx-map
service class value
as
layer 2 class of service value
Configuring the class of service map has to be done thus:
1. Configure the class of service map table for the outgoing data traffic. Every provided service
can be mapped to a Class of Service.
2. Configure the class of service map table for the incoming data traffic. Every received Class of
Service can be assigned to a service type
14.9 Adding a Receive Mapping Table Entry
The receive mapping table defines the conversion of receiving Layer 2 CoS to service class value into
a SmartWare-specific service class value. Each conversion is stored as a mapping table entry.
Therefore the receive mapping table consists of several mapping table entries.
Procedure
To add a receive mapping table entry
Mode
Configure
Command
Purpose
Step 1
node
(cfg)#port ethernet
slot port
Enters Ethernet port configuration mode for the
interface on
slot
and
port
Step 2
node
(prt-eth)[
slot
/
port
]#cos rx-
map
layer 2 class of service value
as
service class value
Adds a receive mapping table entry, which
converts a
layer 2 class of service
into a
service class
value
Example: Adding a Receive Mapping Table Entry
The following example shows how to add a receive mapping table entry, which converts a layer 2
class of service value of 2 into a service class value of 4 for the Ethernet port on slot 0
and port 0 of a
SmartNode 1000 or 2000 series device.
SN(cfg)#
port ethernet 0 0
SN(prt-eth)[0/0]#
cos rx-map 2 as 4
14.10 Adding a Transmit Mapping Table Entry
The transmit mapping table defines the conversion of transmitting SmartWare-specific service class
Software Configuration Guide, Revision 1.03
value into a Layer 2 CoS to service class value. Each conversion is stored as a mapping table entry.
Therefore the transmitting mapping table consists of several mapping table entries.