7.8. Configuring Vlan-Group

Overview

Function Introduction

Vlan-group is designed to implement a vlan group based on ACL rules. Multiple vlan can be added to the vlan group. When the user applies ACL policy to the vlan group, there’s only one rule and the action of ACL has a aggregate effect.

Principle Description

N/A

Configuration

Create a vlan group

step 1 Enter the configure mode

Switch# configure terminal

step 2 Create a vlan group and add member vlan

Switch(config)# vlan-group vlan_group_1
Switch(config-vlan-group)# member vlan 10
Switch(config-vlan-group)# member vlan 20
Switch(config-vlan-group)# exit

step 3 Exit the configure mode

Switch(config)# end

step 4 Validation

Switch# show running-config vlan-group
vlan-group vlan_group_1
member vlan 10
member vlan 20

Application cases

N/A