1/18
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
router(config)# hostname name
Sets the hostname of the router or switch
router(config)# enable secret password
Secures privileged EXEC mode
router(config)# line con 0
router(config-line)# password password
router(config-line)# login
Secures user EXEC mode
router(config)# line vty 0 15
router(config-line)# password password
router(config-line)# login
router(config-line)# transport input telnet
Secures remote access for telnet
router(config)# line vty 0 15
router(config-line)# password password
router(config-line)# login
router(config-line)# transport input ssh
Secures remote access for SSH
Router(config)# service password-encryption
Secures all passwords in the config file
Router(config)# banner motd "message"
Provides a legal notification banner
Router(config)# copy running-configuration startup-configuration
Saves the configuration to NVRAM
Router(config)# interface type and number
Enters interface configuration mode
Router>enable
Enters privileged EXEC mode
Router#
Privileged EXEC mode
Router#configure terminal
Enters configuration mode
Router(config)# interface g0/0/0
Router(config-if)# description your description
Router(config-if)# ip address ip-address subnet-mask
Router(config-if)# ipv6 address ipv6 address/prefix length
Router(config-if)# no shutdown
Interface configuration steps
Router(config-if)# no shutdown
Activates the interface
Router# show ip interface brief
Displays all interfaces, their IP addresses, and their current status
Router# show ip route
Displays the content of the routing table
Router# show interfaces
Displays statistics for all interfaces on the device. Only displays IPv4 addressing information.
Router# show ip interfaces
Displays the IPv4 statistics for all interfaces on a router
Router# show IPv6 interface
Displays the IPv6 statistics for all interfaces on a router