SmartWare Software Configuration Guide12 • Ethernet port configuration

Mode: Configure

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

Selects the layer 2 CoS to traffic-

 

to traffic class name

class mapping. The traffic class

 

 

name can be freely chosen.

 

 

 

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-mapand cos tx-mapcommands 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

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

Adds a receive mapping table entry, which con-

 

2 class of service value as service class value

verts 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 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

Ethernet port configuration task list

147

Page 147
Image 147
Patton electronic SmartNode 4110 Series manual Example Adding a receive mapping table entry