0% found this document useful (0 votes)
39 views

Subnetarea

This document provides instructions for basic device configuration including entering configuration mode, setting the hostname and passwords, configuring interfaces, and saving the running configuration. It describes how to set the hostname, enable secret password, console password, VTY line passwords, MOTD banner, interface descriptions, IP addresses, and default gateway. The configuration is saved to NVRAM.

Uploaded by

user_iuli
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

Subnetarea

This document provides instructions for basic device configuration including entering configuration mode, setting the hostname and passwords, configuring interfaces, and saving the running configuration. It describes how to set the hostname, enable secret password, console password, VTY line passwords, MOTD banner, interface descriptions, IP addresses, and default gateway. The configuration is saved to NVRAM.

Uploaded by

user_iuli
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Command

Enter the global configuration mode. configure terminal


Example: Router>enable
Router#configure terminal
Router(config)#
Specify the name for the Cisco device. hostname name
Example: Router(config)#hostname Router1
Router(config)#
Specify an encrypted password to prevent unauthorized
access to the privileged EXEC mode.
Enable secret password
Example:
Router(config)#enable secret cisco
Router(config)#
Specify a password to prevent unauthorized access to the
console.
password password
login
Example:
Router(config)#line con 0
Router(config-line)#password class
Router(config-line)#login
Router(config)#
Specify a password to prevent unauthorized Telnet access.
outer vty lines: ! "
Switch vty lines: ! #$
password password
login
Example:
Router(config)#line vty 0 4
Router(config-line)#password class
Router(config-line)#login
Router(config-line)#
Configure the %&T' banner. Banner motd %
Example: Router(config)#banner motd %
Router(config)#
Configure a outer interface.
outer interface is &(( by default
Example:
Router(config)#interface Fa0/0 Router(config-if)#description description
Router(config-if)#ip address address mask
Router(config-if)#no shutdown
Router(config-if)#
Switch interface is &) by default *+,-) interface is &(( by
default.
Example:
Switch(config)#interface Fa0/0 Switch(config-if)#description description
Switch(config)#interface vlan1
Switch(config-if)#ip address address mask
Switch(config-if)#no shutdown
Switch(config-if)#
Switch/ create a default 01 gateway Switch(config)#ip defaultgateway address
Save the configuration to )+-%. copy runningconfig startupconfig

You might also like