> enable
# configure terminal
(config)# hostname nyhostname
(config)# exit
(config)# enable secret newsecret
VTY:
> enable
# configure terminal
(config)# line vty 0 15
(config-line)# login local
(config-line)# exit
COM-PORT:
> enable
# configure terminal
(config)# line con 0
(config-line)# login local
(config-line)# exit
Add the local user:
(config)# username admin secret [newpasswd]
(config)# exit
# copy running-config startup-config
# show startup-config
(config)# interface g0/0
(config-if)# ip address 10.1.1.2 255.255.255.0
(config-if)# no shutdown
Check interfaces
# show ip interface brief
Recursive
(config)# ip route 192.168.1.0 255.255.255.0 10.0.1.2
Directly Connected
(config)# ip route 192.168.1.0 255.255.255.0 g0/0
Check route
# show ip route
Enable EIGRP
(config)# router eigrp [autonomous-system-number]
Remove EIGRP
(config)# no router eigrp [autonomous-system-number]