CISCO Router Commands

From KlavoWiki
Revision as of 21:32, 11 February 2017 by David (Sọ̀rọ̀ | contribs) (Created page with "= IP Settings = <pre> enable configure terminal ! interface fa0/0 ip address 192.168.1.200 255.255.255.0 no shutdown exit ! interface fa1/0 ip address 172.16.1.254 255.255.255...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

IP Settings

enable
configure terminal
!
interface fa0/0
ip address 192.168.1.200 255.255.255.0
no shutdown
exit
!
interface fa1/0
ip address 172.16.1.254 255.255.255.0
no shutdown
exit

Loopback

enable
configure terminal
!
interface loopback 1
ip address 172.16.0.254 255.255.255.252
exit


Routes

Default

enable
configure terminal
!
ip route 0.0.0.0 0.0.0.0 FastEthernet 0/0

Static

enable
configure terminal
!
ip route 192.168.22.0 255.255.255.0 FastEthernet 0/0 20
ip route 172.30.11.0 255.255.255.0 FastEthernet 0/3 10

Automatic

OSPF

BGP

RIP