beautypg.com

Step 1: create vlans on the switch, Configure terminal, Switchport mode access – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1001: Switchport access vlan 10, Interface port port1.0.1, Switchport access vlan 110

background image

Quality of Service (QoS) Introduction

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

38.29

Figure 38-11: Policy Based Routing Example - ClassMaps and ACLs

Step 1:

Create VLANs on the switch

Create VLANs 10, 20, and 30

Apply these VLANs to their appropriate local ports

Practical example: Create VLAN 10 and apply it to port1.0.2-port1.0.8.

Create VLANs 110, 120, and 130

Apply these VLANs to their appropriate WAN ports

Practical example: Create VLAN 110 and apply it to port1.0.1.

Policy Based Routing - ClassMaps PolicyMaps and ACLs

PolicyBasedRouting_ClassMaps-ACLs_1eps

Subnet 10.20.0.0 / 16

VLAN 20 (Welfare)

Subnet 10.30.0.0 / 16

VLAN 30 (Employment)

Subnet 10.10.0.0 / 16

VLAN 10 (Health)

ACL 3001 10.10.0.0 /16

to 10.30.0.0 /16

PolicyMap-Health

CM-Health-to-Employment

ACL 3000 10.10.0.0 /16
to 10.20.0.0 /16

ACL 3002 10.30.0.0 /16
to 10.10.0.0 /16

PM-Health

CM-Health-to-Welfare

ACL 3006

10.10.0.0 /16 to Any

PM-Health

CM-Health-to-WAN

ACL 3007

10.20.0.0 /16 to Any

PM-Welfare

CM-Welfare-to-WAN

ACL 3008

10.30.0.0 /16 to Any

PM-Employment

CM-Employment-to-WAN

PM-Welfare
CM-Welfare-to-Health

ACL 3003 10.10.0.0 /16

to 10.30.0.0 /06

ACL 3005 10.20.0.0 /16

to 10.30.0.0 /16

PM-Welfare

CM-Welfare-to-Employment

PM-Employment
CM-Employment-to-Welfare

ACL 3004 10.30.0.0 /16

to 10.10.0.0 /16

PolicyMap-Employment
CM-Employment-to-Health

set ip next-hop

18.25.2.6

set ip next-hop

172.34.7.5

set ip next-hop

34.56.4.5

These ClassMaps and ACLs serve to prevent
the local data from being fed to the WANs.

These ClassMaps and ACLs serve to prevent
the local data from being fed to the WANs.

Policy Based Route

Policy Based Route

Policy Based Route

awplus#
configure terminal
awplus(config)#
policy-map PM-Health
awplus(config-pmap)#
class CM-Health-to-WAN
awplus(config-pmap-c)#
set ip next-hop 172.34.7.5

awplus#
configure terminal
awplus(config)#
policy-map PM-Welfare
awplus(config-pmap)#
class CM-Welfare-to-WAN
awplus(config-pmap-c)#
set ip next-hop 18.25.2.6

awplus#
configure terminal
awplus(config)#
policy-map PM-Employment
awplus(config-pmap)#
class CM-Employment-to-WAN
awplus(config-pmap-c)#
set ip next-hop 34.56.4.5

Health WAN

Welfare WAN

Employment WAN

awplus#

configure terminal

awplus(config)#

interface port port1.0.2-port1.0.8

awplus(config)#

switchport mode access

awplus(config)#

switchport access vlan 10

awplus#

configure terminal

awplus(config)#

interface port port1.0.1

awplus(config)#

switchport mode access

awplus(config)#

switchport access vlan 110