LoopBack
1. config t
2. int loopback 0
3. ip add [IP] [Netmask]
Static Route (Two Way)
1. config t
2. ip route [DEST Network ID] [DEST Network Netmask] [Gateway IP]
3. exit
4. show ip route
Set Hostname
1. config t
2. ip host [DEST hostname] [DEST host ip]
Show Telnet
1. show seesion
2. show line
Show SSH
1. show ssh
Set Banner
1. conf t
2. banner motd *
Data-Link Protocol
-HDLC (High Level Data-Link Control)
-PPP (Point to Point)
-Multi Protocol Layer Switching (Take Over Frame Relay)
-Frame Relay (Take Over ATM) Using Virtual Circuit
-ATM
Packet Switching->Frame Relay
1. Share BandWidth
Network Address Translation, Firewall
- An IP address is either local / global
- Local IP address are seen in the inside network(LAN)
-Global IP address are seen in the outside network(WAN)
-Assignment can be static or dynamic
-Overloading an Inside Global Address
Static NAT
-Define Inside/Outside Interface
-Inside source address translation
1. config t
2. int s1/1
3. ip nat inside
4. int s1/0
5. ip nat outside
6. ip nat inside [SRC IP] [DEST IP]
7. show ip nat trans
Go to inside router
8. ip route 0.0.0.0 0.0.0.0 2.0.2.1
Change Encapsulation (Device Dependent)
-HDLC (default)
-PPP (support authentication)
1. encapsulation hdlc/ppp
Frame Relay
-Digital Link Connection Identifier,DLCI
Autonomous System (ISP)
-Border Gateway Protocol used among different AS.
-IGRP, EIGRP, RIP used inside same AS.
Classful RP
-RIPv1 (Send the whole Routing Table every 30s)
Only advertise own network.
-IGRP
Classless RP
-RIPv2
-OSPF
-EIGRP (Trigger Update)
-IS-IS
1. config t
2. router rip
3. version [2]
4. network [NetworkID]
5. exit
6. show ip protocols / show ip route
7. debug ip rip
8. un all
TIPS:
Router initial setup, Configuration
1. setup
Exit from continue ping
2.Ctrl -Shift-6 x
Thursday, 8 May 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment