NETGEAR M7100 Switch User Manual


 
230 | Chapter 12. DiffServ
ProSafe M4100 and M7100 Managed Switches
CLI: Configure DiffServ for IPv6
The script in this section shows how to prioritize ICMPv6 traffic over other IPv6 traffic.
1. Create the IPv6 class classicmpv6.
(Netgear Switch) (Config)# class-map match-all classicmpv6 ipv6
2. Define matching criteria as protocol ICMPv6.
(Netgear Switch) (Config-classmap) # match protocol 58
(Netgear Switch) (Config-classmap) # exit
3. Create the policy policyicmpv6.
(Netgear Switch) (Config)# policy-map policyicmpv6 in
4. Associate the previously created class classicmpv6.
(Netgear Switch) (Config-policy-map)# class classicmpv6
5. Set the attribute as assign queue 6.
(Netgear Switch) (Config-policy-classmap)# assign-queue 6
(Netgear Switch) (Config-policy-map)# exit
6. Attach the policy policy_icmpv6 to interfaces 1/0/1,1/0/2 and 1/0/3:
(Netgear Switch) (Config)# interface 1/0/1
(Netgear Switch) (Interface 1/0/1)# service-policy in policyicmpv6
(Netgear Switch) (Interface 1/0/1)# exit
(Netgear Switch) (Config)# interface 1/0/2
(Netgear Switch) (Interface 1/0/2)# service-policy in policyicmpv6
(Netgear Switch) (Interface 1/0/2)# exit
(Netgear Switch) (Config)# interface 1/0/3
(Netgear Switch) (Interface 1/0/3)# service-policy in policyicmpv6
(Netgear Switch) (Interface 1/0/3)# exit