Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---[pc] ADAUGARE
- End Devices -> End Devices -> PC
- Change label ('INFO1')
- Change NIC to 1CGE
- Change host IP configuration
- INFO1 -> Desktop -> IP Configuration
- Examples:
- IP Address: 192.168.100.10
- Subnet Mask: auto
- Default Gateway: 192.168.100.1
- DNS Server: 172.16.30.254
- Change mail configuration
- INFO1 -> Desktop -> Email
- Examples:
- Name: INFO1
- Email Address: INFO1@ctl-fmi.ro
- In/Outbound Mail Server: 172.16.30.254
- User Name: INFO1
- Password: 123456
- ---[switch] ADAUGARE
- Network Devices -> Switches -> 2960
- Change label ('SWINFO1')
- ---[switch] ADAUGARE LAPTOP PENTRU CONFIGURARE
- End Devices -> End Devices -> Laptop
- Change label ('SERVICE')
- Connect to switch
- Connections -> Connections -> Console
- Laptop -> RS232, Switch -> Console
- ---[switch] CONFIGURARE
- Connect through laptop
- Laptop -> Desktop -> Terminal
- Switch>enable
- Switch#configure terminal
- Switch(config)#no ip domain lookup
- Switch(config)#hostname SWINFO1
- SWINFO1(config)#service password-encryption
- SWINFO1(config)#enable secret cisco12345
- SWINFO1(config)#enable password cisco54321
- SWINFO1(config)#banner motd "Vineri la ora 14:00 va fi mentenanta"
- SWINFO1(config)#line console 0
- SWINFO1(config-line)#password ciscoconpass
- SWINFO1(config-line)#login
- SWINFO1(config-line)#logging synchronous
- SWINFO1(config-line)#exec-timeout 15 10
- SWINFO1(config-line)#exit
- SWINFO1(config)#line vty 0 15
- SWINFO1(config-line)#password ciscovtypass
- SWINFO1(config-line)#login
- SWINFO1(config-line)#logging synchronous
- SWINFO1(config-line)#exit
- SWINFO1(config)#exit
- SWINFO1#copy running-config startup-config
- ---[switch] CONFIGURARE VLAN 1
- SWINFO1#configure terminal
- SWINFO1(config)#interface vlan 1
- SWINFO1(config-if)#description "Legatura cu CALC1"
- SWINFO1(config-if)#ip address 139.208.32.130 255.255.255.224
- SWINFO1(config-if)#no shutdown
- SWINFO1(config-if)#exit
- SWINFO1(config)#exit
- SWINFO1#copy running-config startup-config
- ---[switch] CONFIGURARE TIMP SI SSH
- SWINFO1#clock set 16:28:00 31 MAR 2018
- SWINFO1#configure terminal
- SWINFO1(config)#ip domain name cti-info.ro
- SWINFO1(config)#username admin privilege 15 secret adminpass1
- SWINFO1(config)#line vty 0 15
- SWINFO1(config-line)#transport input ssh
- SWINFO1(config-line)#login local
- SWINFO1(config-line)#exit
- SWINFO1(config)#crypto key generate rsa
- The name for the keys will be: SWINFO1.cti-info.ro
- Choose the size of the key modulus in the range of 360 to 2048 for your
- General Purpose Keys. Choosing a key modulus greater than 512 may take
- a few minutes.
- How many bits in the modulus [512]: 1024
- SWINFO1(config)#exit
- SWINFO1#copy running-config startup-config
- ---[switch|pc] CONECTARE SWITCH/PC
- Connections -> Connections -> Copper Straight-Through
- PC -> GigabitEthernet0, Switch -> GigabitEthernet0/2
- ---[switch|pc] VERIFICARE CONEXIUNE
- PC -> Desktop -> Command Prompt
- ping [switch IP]
- ---[switch|pc] CONECTARE TELNET
- PC -> Desktop -> Command Prompt
- telnet [switch IP]
- > ciscovtypass
- ---[router] CONFIGURARE
- Router>enable
- Router#configure terminal
- Router(config)#no ip domain lookup
- Router(config)#hostname INFO1
- INFO1(config)#service password-encryption
- INFO1(config)#security password min-length 10
- INFO1(config)#login block-for 120 attempts 3 within 30
- INFO1(config)#enable secret cisco12345
- INFO1(config)#enable password cisco54321
- INFO1(config)#banner login "Accesul persoanelor neautorizate este strict interzis!"
- INFO1(config)#banner motd "Vineri la ora 14:00 serverul va intra in mentenanta"
- INFO1(config)#line console 0
- INFO1(config-line)#password ciscoconpass
- INFO1(config-line)#login
- INFO1(config-line)#logging synchronous
- INFO1(config-line)#exec-timeout 10 10
- INFO1(config-line)#exit
- INFO1(config)#line vty 0 15
- INFO1(config-line)#password ciscovtypass
- INFO1(config-line)#login
- INFO1(config-line)#logging synchronous
- INFO1(config-line)#exec-timeout 20 0
- INFO1(config-line)#exit
- INFO1(config)#exit
- INFO1#copy running-config startup-config
- ---[router] CONFIGURARE TIMP SI SSH
- INFO1#clock set 16:42:00 31 MAR 2018
- INFO1#configure terminal
- INFO1(config)#ip domain name cti-info.ro
- INFO1(config)#username admin privilege 15 secret adminpass1
- INFO1(config)#line vty 0 15
- INFO1(config-line)#transport input ssh
- INFO1(config-line)#login local
- INFO1(config-line)#exit
- INFO1(config)#crypto key generate rsa
- The name for the keys will be: INFO1.cti-info.ro
- Choose the size of the key modulus in the range of 360 to 2048 for your
- General Purpose Keys. Choosing a key modulus greater than 512 may take
- a few minutes.
- How many bits in the modulus [512]: 1024
- ---[switch|pc] CONECTARE SSH
- PC -> Desktop -> Command Prompt
- ssh -l admin [switch IP]
- > adminpass1
- ---[router] SETAREA INTERFETEI GIGABITETHERNET
- INFO1(config)#configure terminal
- INFO1(config)#interface gigabitethernet 0/0
- INFO1(config-if)#description "Legatura realizata"
- INFO1(config-if)#ip address 139.208.32.129 255.255.255.224
- INFO1(config-if)#no shutdown
- INFO1(config-if)#
- INFO1(config-if)#exit
- INFO1(config)#exit
- INFO1#copy running-config startup-config
- ---[switch] SETAREA INTERFETEI GIGABITETHERNET
- INFO1(config)#interface gigabitethernet 0/1
- INFO1(config-if)#description "Legatura realizata"
- INFO1(config-if)#ip address 139.208.16.1 255.255.248.0
- INFO1(config-if)#no shutdown
- INFO1(config-if)#exit
- INFO1(config)#exit
- INFO1#copy running-config startup-config
- ---[] SETAREA INTERFETEI GIGABITETHERNET
- INFO1#configure terminal
- INFO1(config)#interface gigabitethernet 0/2
- INFO1(config-if)#description "Legatura realizata"
- INFO1(config-if)#ip address 139.208.32.181 255.255.255.252
- INFO1(config-if)#no shutdown
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement