Specifications

Policy Configuration Example
May 18, 2009 Page 29 of 32
Configuring Policy for the Edge Services N-Series N3
Configuring the Policy Role
Theservicesroleisconfiguredwith:
•Aprofileindexvalueof6
•Anameofservices
•AdefaultportVLANof0
•AdefaultCoSwhennoruleoverridesCoS
•TCIoverwriteenabled
ServicesN3(rw)->set policy profile 6 name services pvid-status enable pvid 0
cos-status enable cos 4 tci-overwrite enable
Assigning the VLAN-to-Policy Association
SettingtheVLANtopolicyassociationwillbehandledbythepolicymaptablesetting,allowing
foreaseinchangingthepolicyassociatedwithaVLANontheflyusingPolicyManager.Specify
thatthetunnelattributesreturnedintheRADIUSresponsemessagewillbeusedbythe
authenticatinguser.AssociateVLAN
10withpolicyrole6usingthesetpolicymaptable
command.
ServicesN3(rw)->set policy maptable response tunnel
ServicesN3(rw)->set policy maptable 10 6
Assigning Traffic Classification Rules
ForwardtrafficonUDPsourceportforIPaddressrequest(68)andforwardtrafficonUDP
destinationportsforprotocolsDHCP(67)andDNS(53)onthedataVLAN,tofacilitatePCauto
configurationandIPaddressassignment.DroptrafficforprotocolsSNMP(161),SSH(22),Telnet
(23)andFTP(20
and21)onthephoneVLAN.
ServicesN3(rw)->set policy rule 6 udpsourceportIP 68 mask 16 vlan 10 forward
ServicesN3(rw)->set policy rule 6 udpdestportIP 67 mask 16 vlan 10 forward
ServicesN3(rw)->set policy rule 6 udpdestportIP 53 mask 16 vlan 10 forward
ServicesN3(rw)->set policy rule 6 udpdestportIP 67 mask 16 vlan 10 drop
ServicesN3(rw)->set policy rule 6 udpdestportIP 53 mask 16 vlan 10 drop
ServicesN3(rw)->set policy rule 6 udpdestportIP 161 mask 16 drop
ServicesN3(rw)->set policy rule 6 tcpdestportIP 22 mask 16 drop
ServicesN3(rw)->set policy rule 6 tcpdestportIP 23 mask 16 drop
ServicesN3(rw)->set policy rule 6 tcpdestportIP 20 mask 16 drop
ServicesN3(rw)->set policy rule 6 tcpdestportIP 21 mask 16 drop
ApplyaCoS8todataVLAN10andconfigureittoratelimittrafficto1Mandmoderatepriority
of5forservicesIPsubnet10.10.30.0mask28.Wewillalsoenabletrapsandsyslogforthissubnet.
ServicesN3(rw)->set policy rule 6 ipsourcesocket 10.10.30.0 mask 28 syslog enable
trap enable vlan 10 cos 8
Servicesshouldonlybeallowedaccesstotheservicesserver(subnet10.10.50.0/24)and shouldbe
deniedaccesstothefacultyservers(subnet10.10.70.0/24)andadministrativeservers(subnet
10.10.60.0/24).
ServicesN3(rw)->set policy rule 6 ipdestsocket 10.10.60.0 mask 24 drop
ServicesN3(rw)->set policy rule 6 ipdestsocket 10.10.70.0 mask 24 drop