Showing posts with label networking. Show all posts
Showing posts with label networking. Show all posts
Saturday, 9 March 2013
Wednesday, 6 March 2013
Rename the router
Setting system clock
Show system time
Setting banner for router
Setting the description for an interface
Setting line password
Setting privileged access password
Setting Secret (Encrypted) Password
Rename the Router
To specify or modify the host name for the router, global configuration command HOSTNAME is used. Hostname is case
sensitive. The host name is used in prompts and default configuration filenames.
The factory-assigned default host name is router.
R1(config)# hostname Router1
Setting the System Clock
The system clock runs from the moment the system starts up and keeps track of the current date and time
To manually set the system clock, use one of the formats of the clock set EXEC command.
clock set hh:mm:ss day month yyyy
clock set hh:mm:ss month day yyyy
In the following example, the system clock is manually set to 6:51 p.m. on March 6, 2013:
Router# clock set 06:51:00 06 mar 2013
Show System Time
To display the system clock, use the show clock EXEC command.
Router1# show clock
Setting the Banner
To specify a message-of-the-day (MOTD) banner, use the banner motd global configuration command. The no form of this command deletes the MOTD banner. When someone connects to the router, the MOTD banner appears before the login prompt.
Router1(config)# banner motd ! message !
Here (!) sign is used as delaminating character. You can use any character.
Setting the Description for an Interface
To add a description to an interface configuration, use the description interface configuration command. Use the no form of this command to remove the description.
The description command is meant solely as a comment to be put in the configuration to help you remember what certain interfaces are used for.
Router1(config)# interface serial 0
Router1(config-if)# description This int connected with R2 int s0/0
The description "his int connected with R2 int s0/0" appears in the output of the following EXEC commands: show startup-config, show interfaces, and show running-config
Setting the Line Password
To specify a password on a line, use the password line configuration command. Use the no form of this command to remove the password. The first character cannot be a number. The string can contain any alphanumeric characters, including spaces, up to 80 characters.
Console Password
Console password is needed when logging into router at user EXEC mode from console.
Router1(config)#line console 0
Router1(config-line)#password cisco
Router1(config-line)#login
Router1(config-line)#logging synchronous
vty lines password
Virtual terminal lines (vty) are used to allow remote access to the router (by telneting through its interfaces). The router has five virtual terminal lines by default.
Router1(config)#line vty 0 4
Router1(config-line)#password cisco
Router1(config-line)#login
Router1(config-line)#logging synchronous
Setting Privileged Access Password
To set a local password to control access to various privilege levels, use the enable password global configuration command. Use the no form of this command to remove the password requirement.
An enable password is defined as follows:
Must contain from 1 to 25 uppercase and lowercase alphanumeric characters.
Must not have a number as the first character.
Can have leading spaces, but they are ignored. However, intermediate and trailing spaces are recognized.
Router1(config)#enable password cisco
Setting Secret (Encrypted) Password
To set an encrypted local password to control access to various privilege levels, use the enable secret global configuration command. Use the no form of this command to remove the password requirement.
Router1(config)#enable secret cisco1
Saving the configuration
Router1#copy running-config startup-config
Wednesday, 26 December 2012
Frame relay point to
point configuration using a router as Frame relay swich
Router FRS
frame-relay switching
interface Serial0/0
no ip address
encapsulation frame-relay
serial restart-delay 0
frame-relay intf-type dce
frame-relay route 203 interface Serial0/2 302
frame-relay route 204 interface Serial0/1 402
!
interface Serial0/1
no ip address
encapsulation frame-relay
serial restart-delay 0
frame-relay intf-type dce
frame-relay route 402 interface Serial0/0 204
frame-relay route 403 interface Serial0/2 304
!
interface Serial0/2
no ip address
encapsulation frame-relay
serial restart-delay 0
frame-relay intf-type dce
frame-relay route 302 interface Serial0/0 203
frame-relay route 304 interface Serial0/1 403
Router2
interface Serial0/0
no ip address
encapsulation frame-relay
serial restart-delay 0
!
interface Serial0/0.1 point-to-point
ip address 192.168.2.1 255.255.255.252
frame-relay interface-dlci 203
!
interface Serial0/0.2 point-to-point
ip address 192.168.1.1 255.255.255.252
frame-relay interface-dlci 204
Router 3
interface Serial0/0
no ip address
encapsulation frame-relay
serial restart-delay 0
!
interface Serial0/0.1 point-to-point
ip address 192.168.2.2 255.255.255.252
frame-relay interface-dlci 302
!
interface Serial0/0.2 point-to-point
ip address 192.168.3.1 255.255.255.252
frame-relay interface-dlci 304
Router 4
interface Serial0/0
no ip address
encapsulation frame-relay
serial restart-delay 0
!
interface Serial0/0.1 point-to-point
ip address 192.168.1.2 255.255.255.252
frame-relay interface-dlci 402
!
interface Serial0/0.2 point-to-point
ip address 192.168.3.2 255.255.255.252
frame-relay interface-dlci 403
Wednesday, 26 September 2012
Gatway router
version 12.4
ipv6 unicast-routing
interface FastEthernet0/0
no ip address
shutdown
duplex half
interface FastEthernet1/0
no ip address
duplex half
speed 100
ipv6 address 2001:ABCD::1/64
ipv6 nat
interface FastEthernet1/1
ip address 192.168.0.1 255.255.255.0
duplex half
speed 100
ipv6 nat
ip forward-protocol nd
no ip http server
no ip http secure-server
ipv6 nat v4v6 source 192.168.0.2 2001:12::2
ipv6 nat v4v6 source 192.168.0.3 2001:12::3
ipv6 nat v4v6 source 192.168.0.4 2001:12::4
ipv6 nat v6v4 source 2001:ABCD::2 172.168.0.2
ipv6 nat v6v4 source 2001:ABCD::3 172.168.0.3
ipv6 nat v6v4 source 2001:ABCD::4 172.168.0.4
ipv6 nat prefix 2001:12::/96
router IPv6_1
interface FastEthernet0/0
no ip address
speed 100
half-duplex
ipv6 address 2001:ABCD::2/64
router IPv4_1
interface FastEthernet0/0
ip address 192.168.0.2 255.255.255.0
speed 100
half-duplex
ip forward-protocol nd
ip route 172.168.0.0 255.255.255.0 192.168.0.1
Saturday, 1 September 2012
root@techxpert:/opt/GNS3#cd qemu
root@techxpert:/opt/GNS3/qemu#wget http://download.savannah.gnu.org/releases/qemu/qemu-0.11.0.tar.gz
installing and patching the Qemu
root@techxpert:/opt/GNS3/qemu#tar xvzf qemu-0.11.0.tar.gz
root@techxpert:/opt/GNS3/qemucd qemu-0.11.0
root@techxpert:/opt/GNS3/qemu/qemu-0.11.0#wget http://downloads.sourceforge.net/gns-3/qemu-0.11.0-olive.patch?download
rename the file qemu-0.11.0-olive.patch?download ---> qemu-0.11.0-olive.patch
root@techxpert:/opt/GNS3/qemu/qemu-0.11.0#patch -p1 -i qemu-0.11.0-olive.patch
root@techxpert:/opt/GNS3/qemu/qemu-0.11.0#./configure
root@techxpert:/opt/GNS3/qemu/qemu-0.11.0#make
root@techxpert:/opt/GNS3/qemu/qemu-0.11.0#sudo make install
Open Gns3 Go to menu-->edit--preferences-->General setting
path of qemuwrapper = /opt/GNS3/GNS3-0.8.3.1-src/qemuwrapper/qemuwrapper.py
working direcatory = /opt/GNS3/tmp
path of qemu= /usr/local/bin/qemu
path of qemu-img=/usr/local/bin/qemu-img
Now open option qemu Guest
Identifier name = your name
Binary image = location where you have saved
left default all options.