beautypg.com

4 interface commands, 1 line console, 2 line vty – CANOGA PERKINS 9175 Command Reference User Manual

Page 45

background image

CanogaOS Command Reference

4-1

4 Interface Commands

4.1 line console

Use this command to enter line configuration mode and configure the console port.

Command Syntax

line console line-number

Command Mode

Global configuration

Usage

This command is used to enter line configuration mode and configure the console port.

Examples

This example shows how to enter line configuration mode:

Switch(config)# line console 0

Switch(config-line)#

This example shows how to exit line configuration mode

Switch(config-line)# exit

Switch(config)#

Related Commands

exit

4.2 line vty

Use this command to enter vty line configuration mode.

Command Syntax

line vty line-number

line-number: <0-7> line number for virtual terminal

Command Mode

Global configuration

Usage

None

Examples

This example shows how to enter vty line configuration mode:

Switch(config)# line vty 0