cisco路由的ip路由(一)

路由Corp配置
Corp#sh run

Building configuration...

Current configuration : 1652 bytes

!

version 12.4

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

hostname Corp!

enable secret 5 $1$mERr$DjvRJhZ6zKMbZlf94SAPL0

!

no ip cef

no ipv6 cef

!

no ip domain-lookup

!

spanning-tree mode pvst!

!

interface FastEthernet0/0

description connection to R3

ip address 10.1.5.1 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet0/1

no ip address

duplex auto

speed auto

!

interface FastEthernet0/3/0

description Switch port connection to WWW Server

switchport mode access

!

interface FastEthernet0/3/1

description Switch port connection to Email Server

switchport mode access

!

interface FastEthernet0/3/2

description Switch port connection to DNS server

switchport mode access

!

interface FastEthernet0/3/3

switchport mode access

!

interface Serial1/0

description 1st connection to R1

ip address 10.1.2.1 255.255.255.0

!

interface Serial1/1

description 2nd Connection to R1

ip address 10.1.3.1 255.255.255.0

clock rate 2000000

!

interface Serial1/2

description connection to R2

ip address 10.1.4.1 255.255.255.0

clock rate 2000000

!

interface Serial1/3

no ip address

clock rate 2000000

shutdown

!

interface Vlan1

description switch card to core network

ip address 10.1.1.1 255.255.255.0

!

ip classless

!

ip flow-export version 9

!

banner motd ^C this is my Corp 2811 ISR ROUTER ^C

!

line con 0

exec-timeout 0 0

password jason

logging synchronous

login

!

line aux 0

password jason

login

!

line vty 0 4

password jason

login

line vty 5 15

password jason

login

!

end
路由一的配置

R1#sh run

Building configuration...

Current configuration : 1142 bytes

!

version 12.4

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname R1

!!

enable secret 5 $1$mERr$DjvRJhZ6zKMbZlf94SAPL0

!

no ip cef

no ipv6 cef

!

!

no ip domain-lookup

!

!

spanning-tree mode pvst

!

interface FastEthernet0/0

description connection to finance pc

ip address 192.168.10.1 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet0/1

description connection to marketing pc

ip address 192.168.20.1 255.255.255.0

duplex auto

speed auto

!

interface Serial0/0/0

description 1st connection to Corp Router

ip address 10.1.2.2 255.255.255.0

clock rate 2000000

!

interface Serial0/0/1

description 2end connection to Corp Router

ip address 10.1.3.2 255.255.255.0

!

interface Vlan1

no ip address

shutdown

!

ip classless

!

ip flow-export version 9

!

banner motd ^C this is my Router ^C

!

line con 0

exec-timeout 0 0

password jason

logging synchronous

login

!

line aux 0

password jason

login

!

line vty 0 4

password jason

login

line vty 5 15

password jason

login

!

end 
路由器二配置

R2#sh run

Building configuration...

Current configuration : 1078 bytes

!

version 12.4

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname R2

!

enable secret 5 $1$mERr$DjvRJhZ6zKMbZlf94SAPL0

!

!

no ip cef

no ipv6 cef

!

no ip domain-lookup

!

!

spanning-tree mode pvst

!

!

interface FastEthernet0/0

description connection to sales PC

ip address 192.168.30.1 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet0/1

description connection to HR PC

ip address 192.168.40.1 255.255.255.0

duplex auto

speed auto

!

interface Serial0/0/0

description connection to Corp Router

ip address 10.1.4.2 255.255.255.0

!

interface Serial0/0/1

no ip address

clock rate 2000000

shutdown

!

interface Vlan1

no ip address

shutdown

!

ip classless

!

ip flow-export version 9

!

banner motd ^C this is my R2 router ^C

!

line con 0

exec-timeout 0 0

password jason

logging synchronous

login

!

line aux 0

password jason

login

!

line vty 0 4

password jason

login

line vty 5 15

password jason

login

!

end
路由器三的配置

R3#sh run

Building configuration...

Current configuration : 998 bytes

!

version 12.4

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname R3

!

enable secret 5 $1$mERr$DjvRJhZ6zKMbZlf94SAPL0

!

dot11 ssid admin

authentication open

guest-mode

!

no ip cef

no ipv6 cef

!

spanning-tree mode pvst

!

interface FastEthernet0/0

description connection to Corp Router

ip address 10.1.5.2 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet0/1

no ip address

duplex auto

speed auto

!

interface Dot11Radio0/3/0

description WLAN for mobile user

ip address 172.16.10.1 255.255.255.0

speed 12.0 18.0 24.0 36.0 48.0 54.0 6.0 9.0 basic-1.0 basic-11.0 basic-2.0 basic-5.5

ssid admin

!

interface Dot11Radio0/3/1

no ip address

speed 18.0 36.0 48.0 54.0 9.0 basic-12.0 basic-24.0 basic-6.0

!

interface Vlan1

no ip address

shutdown

!

ip classless

!

ip flow-export version 9

!

line con 0

!

line aux 0

!

line vty 0 4

login

!

end 

猜你喜欢

转载自www.cnblogs.com/jason223233/p/11789602.html