![Patton electronics SmartWare R.3.20 Software Configuration Manual Download Page 137](http://html1.mh-extra.com/html/patton-electronics/smartware-r-3-20/smartware-r-3-20_software-configuration-manual_4044387137.webp)
Ethernet port configuration task list
137
SmartWare Software Configuration Guide
12 • Ethernet port configuration
Mode: Configure
If the frame format is set to standard, the
cos default
command value defines which class of service to use for
the data traffic.
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
Do the following to configure the class of service map:
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.
Adding a receive mapping table entry
The receive mapping table defines the conversion of receiving Layer 2 CoS to service class value into a firm-
ware-specific service class value. Each conversion is stored as a mapping table entry, so the receive mapping
table consists of several mapping table entries.
This procedure describes how to add a receive mapping table entry.
Mode:
Configure
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 ser-
vice value of 2 into a service class value of 4 for the Ethernet port on slot 0 and port 0 of a SmartNode.
node(cfg)#port ethernet 0 0
node(prt-eth)[0/0]#cos rx-map 2 as 4
Step
Command
Purpose
1
node(cfg)#port ethernet
slot port
Enters Ethernet port configura-
tion mode for the interface on
slot and port
2
node(prt-eth)[
slot/port
]#map cos
layer 2 class of service value
to
traffic class name
Selects the layer 2 CoS to traffic-
class mapping. The traffic class
name can be freely chosen.
Step
Command
Purpose
1
node(cfg)#port ethernet
slot port
Enters Ethernet port configuration mode for the
interface on
slot and port
.
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 con-
verts a
layer 2 class of service into a service class
value
.