0% found this document useful (0 votes)
5 views5 pages

Python Lab

Uploaded by

minhlilili
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views5 pages

Python Lab

Uploaded by

minhlilili
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

#router

enable

conf t

hostname R1

interface e0/0

ip add dhcp

username vnpro password vnpro@123

ip domain-name vnpro.vn

crypto key generate rsa

1024

ip ssh authentication-retries 3

line vty 0 4

transport input ssh

login local

exit

enable pass vnpro@321

do sh ip int bri

do write mem

####

enable

conf t

hostname R2

interface e0/0

ip add dhcp

username vnpro password vnpro@123

ip domain-name vnpro.vn

crypto key generate rsa

1024
ip ssh authentication-retries 3

line vty 0 4

transport input ssh

login local

exit

enable pass vnpro@321

do sh ip int bri

do write mem

### switch

en

conf t

hostname SW1

interface e0/0

no switchport

ip add dhcp

exit

en

username vnpro password vnpro@123

ip domain-name vnpro.vn

crypto key generate rsa

1024
/****/

ip ssh authentication-retries 3

line vty 0 4

transport input ssh

login local

exit

enable pass vnpro@321

do sh ip int bri

do write mem
---

snmp-server community public ro

snmp-server community private rw

#Router XE

enable

configure terminal

enable secret vnpro@321

hostname R1

interface g1

no shut
ip add dhcp

line con 0

line vty 0 15

login local

transport input ssh

ip domain name vnpro.com

crypto key generate rsa modulus 2048

username vnpro priv 15 password vnpro@123

do sh ip int bri

do write mem

#######

snmp-server community public ro

snmp-server community private rw

ip 192.168.1.10/24 192.168.1.1

ip 192.168.2.10/24 192.168.2.1

You might also like