Header Only - DO NOT REMOVE - Extreme Networks

How to run this script


how to run the below

create qosprofile "QP5"
#Start editor to create file#
vi omsubnet.pol

#Enter insert mode#
i

#Copy and Paste the below#
entry QP5subnet {
if {
source-address 10.68.4.96/28
}
then {
Qosprofile qp5;
replace-dscp;
}
}
#To this line#

#To save#
:wq

#Enable DSCP replacement#
configure access-list omsubnet.pol

#Save#
save

1 reply

Userlevel 5
Khalid, we do have an article that walks through creating and applying an access-list in further detail:

https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-create-and-apply-an-ACL-in-EXOS

You would have to use your policy instead of the example in the article. Be sure to press escape and i (insert) before pasting otherwise you may miss a line.

The policy will have to be applied to port or VLAN:

configure access-list [port|vlan] [ingress|egress]

You can also verify whether there are any errors in the policy using:

check policy

Reply