How to run this script
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎02-10-2017 01:15 PM
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
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 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎02-10-2017 01:28 PM
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
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
