7.7. Configuring Port-Group

Overview

Function Introduction

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

Principle Description

N/A

Configuration

Create a port group

step 1 Enter the configure mode

Switch# configure terminal

step 2 Create a port group and add member interfaces

Switch(config)# port-group port_group_1
Switch(config-port-group)# member interface eth-0-1
Switch(config-port-group)# member interface agg 1
Switch(config-port-group)# exit

step 3 Exit the configure mode

Switch(config)# end

step 4 Validation

Switch# show running-config port-group
port-group port_group_1
member interface eth-0-1
member interface agg1

Application cases

N/A