NETGEAR 7000 manual Following example configures DiffServ VoIP support

Page 86

NETGEAR 7000 Series Managed Switch Administration Guide

The following example configures DiffServ VoIP support:

Enter Global Config mode. Set queue 5 on all ports to use strict priority mode. This queue shall be used for all VoIP packets. Activate DiffServ for the switch.

(Netgear Switch) #config

(Netgear Switch) (Config)#cos-queue strict 5 (Netgear Switch) (Config)#diffserv

Create a DiffServ classifier named 'class_voip' and define a sin- gle match criterion to detect UDP packets. The class type "match- all" indicates that all match criteria defined for the class must be satisfied in order for a packet to be considered a match.

(Netgear Switch) (Config)#class-map match-all class_voip (Netgear Switch) (Config class-map)#match protocol udp (Netgear Switch) (Config class-map)#exit

Create a second DiffServ classifier named 'class_ef' and define a single match criterion to detect a DiffServ code point (DSCP) of 'EF' (expedited forwarding). This handles incoming traffic that was previously marked as expedited somewhere in the network.

(Netgear Switch) (Config)#class-map match-all class_ef (Netgear Switch) (Config class-map)#match ip dscp ef (Netgear Switch) (Config class-map)#exit

Create a DiffServ policy for inbound traffic named 'pol_voip', then add the previously created classes 'class_ef' and 'class_voip' as instances within this policy.

This policy handles incoming packets already marked with a DSCP value of 'EF' (per 'class_ef' definition), or marks UDP packets per the 'class_voip' definition) with a DSCP value of 'EF'. In each case, the matching packets are assigned internally to use queue 5 of the egress port to which they are forwarded.

(Netgear Switch) (Config)#policy-map pol_voip in (Netgear Switch) (Config policy-map)#class class_ef (Netgear Switch) (Config policy-class-map)#assign-queue 5 (Netgear Switch) (Config policy-class-map)#exit (Netgear Switch) (Config policy-map)#class class_voip (Netgear Switch) (Config policy-class-map)#mark ip-dscp ef (Netgear Switch) (Config policy-class-map)#assign-queue 5 (Netgear Switch) (Config policy-class-map)#exit (Netgear Switch) (Config policy-map)#exit

Attach the defined policy to an inbound service interface.

(Netgear Switch) (Config)#interface 1/0/2

(Netgear Switch) (Interface 1/0/2)#service-policy in pol_voip (Netgear Switch) (Interface 1/0/2)#exit

(Netgear Switch) (Config)#exit

9-6

Differentiated Services

v1.1, May 2006

Image 86
Contents Netgear 7000 Series Managed Switch Administration Guide EN 55 022 Declaration of Conformance TrademarksStatement of Conditions Certificate of the Manufacturer/ImporterDeclaration Of Conformity FCC Information to UserFCC Guidelines for Human Exposure Regulatory Compliance InformationSeries Managed Switch Product and Publication DetailsContents Link Aggregation Chapter Virtual Router Redundancy Protocol Chapter Differentiated Services Chapter Pre-Login Banner Chapter Syslog About This Book Document OrganizationAudience CLI DocumentationRelated Documentation Xiv Chapter Getting Started Configuring for In-band ConnectivityUsing BootP or Dhcp In-band and Out-of-band ConnectivityUsing the EIA-232 Port Configuring for Out-Of-Band Connectivity Starting the Switch Initial ConfigurationInitial Configuration Procedure Quick Starting the Networking Device Software InstallationSystem Information and System Setup Quick Start Commands Mode Description You power down or reset the networking device. In a stacking Quick Start Commands Figurations made to the networking device Chapter Using the Web Interface Configuring for Web AccessWeb Page Layout Configuring an Snmp V3 User ProfileStarting the Web Interface Command Buttons SaveNetgear 7000 Series Managed Switch Administration Guide Chapter Virtual LANs Example #1 Create Two VLANs Vlan Configuration ExampleCLI Examples Example #3 Assign Ports to VLAN3 Example #4 Assign VLAN3 as the Default VlanExample #2 Assign Ports to VLAN2 Graphical User Interface Link Aggregation CLI Example1shows the example network Example 1 Create two Lags STPExample 3 Enable both LAGs Example 2 Add the ports to the LAGsChapter IP Routing Services Port RoutingPort Routing Configuration Example 1. Enabling routing for the Switch CLI ExamplesExample 2. Enabling Routing for Ports on the Switch Vlan RoutingVlan Routing Configuration Example 2 Set Up Vlan Routing for the VLANs and the Switch Example 1 Create Two VLANsVlan Routing RIP Configuration CLI Example Netgear 7000 Series Managed Switch Administration Guide Vlan Routing Ospf Configuration Netgear 7000 Series Managed Switch Administration Guide RIP Configuration Routing Information ProtocolExample #1 Enable Routing for the Switch CLI ExampleExample #2 Enable Routing for Ports Example #3. Enable RIP for the SwitchExample #4. Enable RIP for ports 1/0/2 and 1/0/3 OspfCLI Examples Example #1 Configuring an Inter-Area Router Netgear 7000 Series Managed Switch Administration Guide Example #2 Configuring Ospf on a Border Router Enable routing for the switch Proxy Address Resolution Protocol ARP OverviewExample #1 show ip interface Example #2 ip proxy-arpChapter Virtual Router Redundancy Protocol Virtual Router Redundancy Protocol Enable Vrrp for the switch Set the priority for the port. The default priority is MAC ACLs Chapter Access Control Lists ACLsOverview LimitationsConfiguring IP ACLs Process IP ACL CLI ExampleMAC ACL CLI Examples Example #1 mac access list Example #2 permit any Example #3 Configure mac access-group Example #4 permit Example #5 show mac access-lists Netgear 7000 Series Managed Switch Administration Guide Trusted Ports Chapter Class of Service CoS QueuingCoS Queue Mapping Untrusted Ports CoS Queue ConfigurationPort Egress Queue Configuration Drop Precedence Configuration per Queue Per Interface BasisExample #1 show classofservice trust Example #2 set classofservice trust modeExample #3 show classofservice ip-precedence mapping Example #5 Set CoS Trust Mode of an Interface Traffic ShapingExample #1 traffic-shape Netgear 7000 Series Managed Switch Administration Guide Chapter Differentiated Services Differentiated Services Netgear Switch Config#diffserv DiffServ for VoIP Configuration Example Netgear 7000 Series Managed Switch Administration Guide Following example configures DiffServ VoIP support Example #1 Enable Igmp Snooping Chapter Igmp SnoopingExample #2 show igmpsnooping Example #3 show mac-address-table igmpsnoopingChapter Port Security Operation Example #2 show port security on a specific interface Example #3 Config port securityExample #1 show port security 11-4 Port Security Chapter Traceroute 12-2 Traceroute Chapter Configuration Scripting ConsiderationsExample #2 script list and script delete Example #3 script apply running-config.scrExample #1 script Example #4 Creating a Configuration Script Example #5 Upload a Configuration Script13-4 Configuration Scripting Chapter Outbound Telnet Example #1 show network Example #2 show telnetExample #4 session-limit and session-timeout Example #3 transport output telnet14-4 Outbound Telnet Port Mirroring Example #3 show port interface Example #1 show monitor sessionExample #2 show port all Example #4 Config monitor session 1 mode Port, and what is enabled or disabled on the portExample #5 Config monitor session 1 source interface Example #6 Interface port securitySimple Network Time Protocol Sntp Example #1 show sntpExample #3 show sntp server Example #4 Configure SntpExample #2 show sntp client Simple Network Time Protocol Sntp 16-3 16-4 Simple Network Time Protocol Sntp Chapter Pre-Login Banner Transfer the file from the PC to the switch using Tftp Chapter Syslog Persistent Log FilesInterpreting Log Files Example #1 show logging Example #2 show logging bufferedExample #3 show logging traplogs Example 4 show logging hostsExample #5 logging port configuration 18-6 Syslog
Related manuals
Manual 2 pages 6.29 Kb