These are some commonly used configuration commands that belong to the
group of commands.
45.1 Overview
The interface commands allow you to configure the switch on a port by port basis.
45.2 Interface Command Examples
This section provides examples of some frequently used interface commands.
45.2.1 interface port-channel
Use this command to enable the specified ports for configuration. Indicate multiple, non-
sequential ports separated by a comma. Use a dash to specify a port range.
Syntax:
interface port-channel <port-list>
An example is shown next.
• Enter the configuration mode.
• Enable ports 1, 3, 4 and 5 for configuration.
• Begin configuring for those ports.
sysname# config
sysname(config)# interface port-channel 1,3-5
sysname(config-interface)#
45.2.2 bpdu-control
Syntax:
bpdu-control <peer|tunnel|discard|network>
Chapter 45 Interface Commands
C
H A P T E R
Interface Commands
GS-4012F/4024 User's Guide
4 5
interface
311