Cisco
router configure for a Small organization :
Ø Enable
Ø Conf T
# hostname RUPA KNITWARE
#banner motd $access is unauthorized$
#security passwords min-lengt 6
#enable secret rupaknit
#line console 0
#password rupaline
#login
#loggin sync [for stop interruption in writing time]
#exec –timeout 15
#exit
# line aux 0
# pass rupaaux
#login
#line vty 0 15
#pass rupavty
#exec –timeout 15
#login
#exit
# service password-encryption
#login
block-for 60 attempts 2 within 30
#login on-failure
log
#int g0/0/0
#description WAN
#ip add 103.76.96.6 255.255.255.252
#no shut
RUPAKnitware(config)#int g0/0/1
RUPAKnitware(config-if)#des
RUPAKnitware(config-if)#description
LAN
RUPAKnitware(config-if)#ip add
RUPAKnitware(config-if)#ip address
192.168.1.1 255.255.255.0
RUPAKnitware(config-if)#no shut
RUPAKnitware(config)#no ip
domain-lookup [for stop hang if wrong
command given]
[DHCP Configure]
# ip dhcp excluded-address
192.168.1.1 192.168.1.30
#ip dhcp pool Lanpool
#network 192.168.1.0 255.255.255.0
#default-router 192.168.1.1
#dns-server 8.8.8.8
#exit
#ip route 0.0.0.0 0.0.0.0 103.76.96.5
PAT
#ip access-list extended NAT-SOURCE
#remark Translate Central LAN to all other internet
destinations
#permit ip 192.168.1.0 0.0.0.255 any
#exit
#ip nat inside source list NAT-SOURCE interface s0/0/0
overload [wan interface]
#int g0/0/0
#ip nat inside
#exit
# int g0/0/1
#ip nat outside
#ip name-server 8.8.8.8
#http server enable
[for enable gui mode]
Or
# ip http secure-server
#ip domain-name worshiworld.com
#Crypto key generate rsa
1024
#ip ssh version 2
#ip ssh time-out 60
#ip ssh authentication-retries 5
#username admin secret admin123
#line vty 0 4
#transport input ssh
#login local
#exit
PC> ssh –l admin 192.168.100.202
Router#auto secure
[automatically secure the router]
No comments:
Post a Comment