Home
Flashcards
Preview
CCNA 3: Commands
Home
Get App
Take Quiz
Create
Naming the switch
hostname
name
Setting the previleged mode password
enable secret
password
Entering console line configuration
line console 0
Setting the console password
password
password
Requiring users to log in
login
Entering vty line configuration mode
line vty 0 15
setting the vty password
password
password
Requiring users to log in
login
Configuring a message-of-the-day banner
banner motd #
message
#
Configuring the VLAN interface
int vlan
number
Configuring addressing on a interface
ip address
address mask
configuring port for access mode
switchport mode access
Assigning an access VLAN to a port
switchport access vlan
vlan-id
Setting the port speed to 100 Mbps
speed 100
Setting the duplex mode to full
duplex full
setting the port speed to autoconfigure
speed auto
Activating an interface
no shutdown
Configuring the Default gateway
ip default gateway
address
Enabling HTTP authentication to use a local user database
ip http authentication enable
Configuring the HTTP service on the switch
ip http server
Creating a static mapping in the MAC address table
mac-address-table static
mac-address
vlan
vlan-id
interface
interface
Saving changes on a router
copy running-config startup-config
Displays interface status and configuration for a single interface or all interfaces availabe on the switch
show interface
Displays the startup configuration file stored in NVRAM
show startup-config
Displays the current running configuration that is stored in RAM
show running-config
Displays information about the fash file system
show flash:
Displays the hardware and software status
show version
Displays the session command history
show history
Displays the Mac forwarding table
show mac-address-table
Displays abbreviated interface configuration information, including IP address and interface status
show ip int brief
Save startup configuration file to flash
copy startup-config flash:
FileName
Replace current startup configuration with file saved in flash
copy flash:
FileName
startup-config
restart switch
reload
Configure host domain name
ip domain-name
domain name
show current ssh configuration
show ssh
Generate an encrypted RSA key pair
crypto key generate rsa
Configure SSH version 2
ip ssh version 2
change the timeout time
timeout
time in seconds
Set number of authentication retries
authentication-retries
number
Command to allow SSH access
transport input ssh
enable port security
switchport port-security
Enable a dynamically learned MAC address to be added to the running configuration
switchport port-security mac-address sticky
Set violation mode to shutdown
shitchport port-security violation shutdown
View port security configuration
show port-security
show port security for an interface
show port-security int
int
Boot using a different Cisco IOS image
boot system flash:
image name
Set maximum number of MAC addresses
switchport port-security maximum
number
Author
jal128
ID
170252
Card Set
CCNA 3: Commands
Description
CCNA 3 Commands
Updated
2012-09-11T18:31:46Z
Home
Flashcards
Preview