EasyManuals Logo

HP 3500 Series Advanced Traffic Management Guide

HP 3500 Series
460 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #426 background imageLoading...
Page #426 background image
8-30
Classifier-Based Software Configuration
Traffic Classes
The following example shows TCP and UDP traffic routed on different net-
work paths. First the traffic classes are created, then the PBR policy is created,
and lastly the PBR policy is applied to an interface.
Figure 8-9. Example of Creating Classes and Polices for PBR
HP Switch(config)# class ipv4 TCP
HP Switch(config-class)# match tcp 10.0.8.1/24 15.29.16.104/24 eq 80
HP Switch(config-class)# match tcp 10.0.8.1/24 15.29.16.104/24 eq 22
HP Switch(config-class)# match tcp 10.0.8.1/24 15.29.16.104/24 eq 23
HP Switch(config-class)# exit
HP Switch(config)# class ipv4 UDP
HP Switch(config-class)# match udp 10.0.8.1/24 15.29.16.104/24 eq 80
HP Switch(config-class)# match udp 10.0.8.1/24 15.29.16.104/24 eq 22
HP Switch(config-class)# match upd 10.0.8.1/24 15.29.16.104/24 eq 23
HP Switch(config-class)# exit
HP Switch(config)# class ipv6 TCP
HP Switch(config-class)# match tcp 2001::1/64 3001::1/64 eq 80
HP Switch(config-class)# match tcp 2001::1/64 3001::1/64 eq 22
HP Switch(config-class)# match tcp 2001::1/64 3001::1/64 eq 23
HP Switch(config-class)# exit
HP Switch(config)# class ipv6 UDP
HP Switch(config-class)# match udp 2001::1/64 3001::1/64 eq 80
HP Switch(config-class)# match udp 2001::1/64 3001::1/64 eq 22
HP Switch(config-class)# match udp 2001::1/64 3001::1/64 eq 23
HP Switch(config-class)# exit
HP Switch(config)# policy pbr TCP_UDP
HP Switch(policy-pbr)# class ipv4 TCP
HP Switch(policy-pbr-class)# action ip next-hop 20.0.0.1
HP Switch(policy-pbr-class)# action interface null
HP Switch(policy-pbr-class)# exit
HP Switch(policy-pbr)# class ipv4 UDP
HP Switch(policy-pbr-class)# action ip default-next-hop 30.0.0.1
HP Switch(policy-pbr-class)# action interface tunnel 3
HP Switch(policy-pbr-class)# exit
HP Switch(policy-pbr)# class ipv6 TCP
HP Switch(policy-pbr-class)# action ip next-hop 20.0.0.1
HP Switch(policy-pbr-class)# exit
HP Switch(policy-pbr)# class ipv6 UDP
HP Switch(policy-pbr-class)# action ip next-hop 30.0.0.1
HP Switch(policy-pbr-class)# exit
HP Switch(policy-pbr)# exit
HP Switch(config)# vlan 10
HP Switch(vlan-10)# service-policy TCP_UDP in

Table of Contents

Other manuals for HP 3500 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 3500 Series and is the answer not in the manual?

HP 3500 Series Specifications

General IconGeneral
ModelHP 3500 Series
LayerLayer 3
MAC Address Table Size16, 000 entries
TypeManaged
UplinkSFP
PoEOptional
ManagementWeb, CLI, SNMP
Routing ProtocolStatic, RIP
Power SupplyInternal
Form Factor1U rack-mountable
Jumbo Frame SupportYes
Operating Temperature32°F to 113°F (0°C to 45°C)
Ports24 or 48 10/100/1000 ports

Related product manuals