ACL for add-vlan-id
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎03-19-2018 04:42 PM
I want to add an ingress ACL to a port that adds a vlan to an untagged traffic. if the traffic is tagged it should add a second vlan. following is my code but somehow i am facing error. is it the right syntax to implement it
entry testing {
if match all {
} then {
permit;
add-vlan-id 51;
}
}
#configure access-list testing ports 4 ingress
entry testing {
if match all {
} then {
permit;
add-vlan-id 51;
}
}
#configure access-list testing ports 4 ingress
23 REPLIES 23
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎03-20-2018 02:07 AM
What is meant by available Vlan.. its already created if thats what you are asking.. if it means something else could you please explain it:)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎03-19-2018 05:30 PM
It's correct, but your switch/version needs to support this ACL action modifier. It came out in 16.1.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎03-19-2018 05:30 PM
it is 21.1.1.4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎03-19-2018 04:48 PM
Can you show us the error you are seeing?
