Patton electronic SmartNode 4110 Series ユーザーズマニュアル

ページ / 664
Ethernet port configuration task list
146
SmartWare Software Configuration Guide 
12 • Ethernet port configuration
Mode: Configure
Configuring layer 2 CoS to service-class mapping for an Ethernet port
To enable to transport real-time and delay sensitive services such as VoIP traffic across the network, the firm-
ware application software supports the delivery of Quality of Service (QoS) information in the ToS (Type of 
Service) field. This is an eight-bit field, the second field in the IP header packet. To define the Class of Service 
(CoS) to service class mapping, the 
cos
 command is used, with one of the following arguments:
default—Default service class when no Layer 2 CoS present
rx-map—Receive mapping table - Layer 2 CoS to service class mapping
tx-map—Transmit mapping table - Service class to Layer 2 CoS mapping
This procedure describes how to change layer 2 CoS to service class mapping.
Step
Command
Purpose
1
node(config)#port ethernet slot port
Enter Ethernet port configura-
tion.
2
node(prt-eth)[slot/port]#vlan id
Create new VLAN port.
3
node(vlan)[id]#encapsulation {ip|pppoe|multi}
Defines the payload type(s) to 
be used on this VLAN: 
• ip: IP traffic only (not used 
for PPP) 
• pppoe: PPPoE sessions only 
• multi: both IP traffic and 
PPPoE sessions 
For more information on the 
PPP/PPPoE configuration see 
chapter 30,
4
node(vlan)[id]#bind interface name [router]
Bind the VLAN port to the exist-
ing interface name. If no IP con-
text is given, the system attaches 
the interface to the default IP 
context known as router.
5
node(vlan)[id]#map cos layer-2-CoS-value to traffic-class-name
Selects the layer 2 CoS (Class of 
Service) to traffic class map-
ping. The traffic class must 
already exist.
6
node(vlan)[id]#no shutdown
Activate the VLAN port.
7
node(vlan)[id]#exit node(prt-eth)[slot/port]# no shutdown Make sure the hosting Ethernet 
port is also activated.