48

Interface Commands

These are some commonly used configuration commands that belong to the interface group of commands.

48.1 Overview

The interface commands allow you to configure the Switch on a port by port basis.

48.2 Interface Command Examples

This section provides examples of some frequently used interface commands.

48.2.1 interface port-channel

Use this command to enable the specified ports for configuration. Indicate multiple, nonsequential 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)#

48.2.2 bpdu-control

Syntax:

bpdu-control <peertunneldiscardnetwork>

 

395

GS-4012F/4024 User’s Guide