Tuesday, February 1, 2011

Basic Router Configuration

Router>enable ( This is user mode)
Router#confiugre Terminal (This is Privilliged mode)
Enter configuration commands, one per line. End with CNTL/Z.

Note – (To Give Hostname to Router)
Router(config)#hostname Router1 (This is configuration Mode)
Router1(config)#

Note - (To Configure interfaces)
Router1(config)#interface fastEthernate 0/0
Router1(config-if)#ip address 192.168.2.10 255.255.255.0
Router1(config-if)no shutdown

Router1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

Router1(config-if)#interface s2/0
Router1(config-if)#ip add 192.168.12.1 255.255.255.0
Router1(config-if)#clock rate 64000
Router1(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial2/0, changed state to down Tip- (it will be up when you configure remote interface of connected router)

Router1(config-if)#interface s2/0
Router1(config-if)#ip add 192.168.12.1 255.255.255.0
Router1(config-if)#clock rate 64000
Router1(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial3/0, changed state to down Tip- (it will be up when you configure remote interface of connected router)


Tip- (copy all your configuration to NVRAM by going in Privilliage mode so it will be saved)

Router1>enable
Router1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Router1#

No comments:

Post a Comment