HP 5500 Ei 5500 Si Switch Series Configuration Guide
Here you can view all the pages of manual HP 5500 Ei 5500 Si Switch Series Configuration Guide. The HP manuals for Printer are available online for free. You can easily download all the documents as PDF.
Page 1601
28 The default priority mapping tables (see Appendix A Default priority mapping tables ) are available for priority mapping. In most cases, they are adequate for priority mapping. If a default priority mapping table cannot meet your requirements, you can modify the priority mapping table as required. Priority trust mode on a port The priority trust mode on a port decides which priority is used for priority mapping table lookup. Port priority was introduced to use for priority mapping in addition...
Page 1602
29 Figure 6 Priority mapping procedure for an Ethernet packet The priority mapping procedure shown in Figure 6 applies in the absence of priority marking. If priority marking is configured, the switch performs priority marking before priority mapping. The switch then uses the re-marked packet-carried priority for priority mapping or directly uses the re-marked scheduling priority for traffic scheduling depending on your configuration. Neither priority trust mode configuration on the port nor...
Page 1603
30 Step Command Remarks 1. Enter system view. system-view N/A 2. Enter priority mapping table view. qos map-table { dot1p-dp | dot1p-lp | dscp-dot1p | dscp-dp | dscp-dscp } N/A 3. Configure the priority mapping table. import import-value-list export export-value Newly configured mappings overwrite the old ones. Configuring a port to trust packet priority for priority mapping When you configure the trusted packet priority type on an interface or port group, use the...
Page 1604
31 Step Command Remarks 2. Enter interface view or port group view. • Enter interface view: interface interface-type interface-number • Enter port group view: port-group manual port-group-name Use either command. Settings in interface view take effect on the current interface. Settings in port group view take effect on all ports in the port group. 3. Set the port priority of the interface. qos priority priority-value The default port priority is 0. Displaying priority...
Page 1605
32 Configuration procedure # Assign port priority to GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2. Make sure that the priority of GigabitEthernet 1/0/1 is higher than that of GigabitEthernet 1/0/2, and no trusted packet priority type is configured on GigabitEthernet 1/0/1 or GigabitEthernet 1/0/2. system-view [DeviceC] interface gigabitethernet 1/0/1 [DeviceC-GigabitEthernet1/0/1] qos priority 3 [DeviceC-GigabitEthernet1/0/1] quit [DeviceC] interface gigabitethernet 1/0/2...
Page 1606
33 Figure 8 Network diagram Configuration procedure 1. Configure trusting port priority: # Set the port priority of GigabitEthernet 1/0/1 to 3. system-view [Device] interface gigabitethernet 1/0/1 [Device-GigabitEthernet1/0/1] qos priority 3 [Device-GigabitEthernet1/0/1] quit # Set the port priority of GigabitEthernet 1/0/2 to 4. [Device] interface gigabitethernet 1/0/2 [Device-GigabitEthernet1/0/2] qos priority 4 [Device-GigabitEthernet1/0/2] quit # Set the port priority of...
Page 1607
34 [Device-maptbl-dot1p-lp] import 5 export 4 [Device-maptbl-dot1p-lp] quit 3. Configure priority marking: # Mark the HTTP traffic of the management department, marketing department, and R&D department to the Internet with 802.1p priorities 4, 5, and 3, respectively. Use the priority mapping table you have configured to map the 802.1p priorities to local precedence values 6, 4, and 2, respectively, for differentiated traffic treatment. # Create ACL 3000 to match HTTP traffic. [Device] acl...
Page 1608
35 Configuring traffic policing, traffic shaping, and line rate Both bridge mode (Layer 2) and route mode (Layer 3) Ethernet ports support the traffic shaping and line rate functions. The term interface i n t h i s ch a p t e r c o l l e c t ive ly re fe rs t o t h e s e t yp e s o f p o r t s. Yo u c a n u s e t h e port link-mode command to set an Ethernet port to operate in bridge or route mode (see Layer 2—LAN Switching Configuration Guide ). The 5500 SI Switch Series does...
Page 1609
36 Complicated evaluation You can set two token buckets, bucket C and bucket E, to evaluate traffic in a more complicated environment and achieve more policing flexibility. For example, traffic policing uses the following parameters: • CIR—Rate at which tokens are put into bucket C. It sets the average packet transmission or forwarding rate allowed by bucket C. • CBS—Size of bucket C, which specifies the transient burst of traffic that bucket C can forward. • Peak information rate (PIR)...
Page 1610
37 Figure 9 Traffic policing Traffic policing is widely used in policing traffic entering the networks of internet service providers (ISPs). It can classify the policed traffic and take pre-defined policing actions on each packet depending on the evaluation result: • Forwarding the packet if the evaluation result is conforming • Dropping the packet if the evaluation result is excess • Forwarding the packet with its precedence, which can be 802.1p priority (available only for green...