11 configuration commands – PLANET SGSD-1022 User Manual

Page 351

Advertising
background image

User’s Manual of SGSD-1022 / SGSD-1022P

SGSW-2840 / SGSW-2840P

5.2.11 Configuration Commands

Configuration commands are privileged level commands used to modify switch settings. These commands modify the running

configuration only and are not saved when the switch is rebooted. To store the running configuration in non-volatile storage, use

the copy running-config startup-config command.

The configuration commands are organized into different modes:

Global Configuration -

These commands modify the system level configuration, and include

commands such as hostname and snmp-server community.

Access Control List Configuration -

These commands are used for packet filtering.

Class Map Configuration -

Creates a DiffServ class map for a specified traffic type.

Interface Configuration -

These commands modify the port configuration such as speed-duplex and

negotiation.

Line Configuration -

These commands modify the console port and Telnet configuration, and

include command such as parity and data bits.

Multiple Spanning Tree Configuration - These commands configure settings for the selected multiple spanning tree

instance.

Policy Map Configuration -

Creates a DiffServ policy map for multiple interfaces.

VLAN Configuration -

Includes the command to create VLAN groups.

To enter the Global Configuration mode, enter the command configure in Privileged Exec mode. The system prompt will

change to “Console(config)#” which gives you access privilege to all Global Configuration commands.

Console# configure

Console(config)#

To enter the other modes, at the configuration prompt type one of the following commands. Use the exit or end command to

return to the Privileged Exec mode.

Mode

Command

Prompt

Line

line {console | vty}

Console(config-line)#

Access Control

List

access-list ip standard

access-list ip extended

access-list mac

Console(config-std-acl)

Console(config-ext-acl)

Console(config-mac-acl)

Class Map

class map

Console(config-cmap)

Interface

interface {ethernet port |

port-channel id| vlan id}

Console(config-if)#

MSTP

spanning-tree

mst-configuration

Console(config-mstp)#

351

Advertising
This manual is related to the following products: