1. Static Routing
ip routing
ip route destination network number mask the port number [permanent]
2. Default route
ip default-network network number
3. Dynamic Routing
1) RIP configuration
Router rip
Network Network Number
Show ip route
Show ip protocol
Debug ip
2) OSPF configuration
Router ospf process ID
Redistribute other routing protocols
Network anti-mask area area network port number
Area number range area network number mask
Area area default-cost expenses No value
Ip ospf priority number
Ip ospf cost value spending
Show ip ospf database
3) BGP configuration
Router bgp AS number
Redistribute other routing protocols
Network network number / autonomous region * * /
Aggregate-address network number mask summary-only network summary
Neighbor No. neighboring network remote-as AS number / * * between autonomous network /