December 2006
Intermediate to advanced
1188 pages
72h 8m
English
You wish to use the Network Based Application Recognition (NBAR) feature to identify and classify traffic at the application layer.
The NBAR feature is used to identify traffic within a class-map. You can then use the class-map in a policy-map to define how the router should handle each application data stream:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#ip cefRouter1(config)#class-mapRouter1(config-cmap)#INTERACTIVEmatch protocol citrixRouter1(config-cmap)#match protocol telnetRouter1(config-cmap)#exitRouter1(config)#policy-mapRouter1(config-pmap)#QoSPolicyclassRouter1(config-pmap-c)#INTERACTIVEbandwidth percentRouter1(config-pmap-c)#50set dscp efRouter1(config-pmap-c)#exitRouter1(config-pmap)#class class-defaultRouter1(config-pmap-c)#bandwidth percentRouter1(config-pmap-c)#20random-detect dscp-basedRouter1(config-pmap-c)#exitRouter1(config-pmap)#exitRouter1(config)#interfaceRouter1(config-fi)#FastEthernet0/0service-policy inboundRouter1(config-if)#QoSPolicyexitRouter1(config)#endRouter1#
Cisco also offers the ability to download specialized Packet Description Language Module (PDLM) files onto the router’s flash device, and then activate them for use with NBAR classification:
Router1#show flashSystem flash directory: File Length Name/status 1 23169076 c2600-ipvoice-mz.124-10.bin 2 3100bittorrent.pdlm[23172304 bytes used, 9857836 available, 33030140 total] ...
Read now
Unlock full access