思科路由器配置EIGRP

 

R4:
enable
config t
hostname R4
int fa0/0
no shutdown
int fa0/0.1
enca dot1q 1
ip address 192.168.1.33 255.255.255.224
no shutdown
exit
int fa0/0.2
enca dot1q 2
ip address 192.168.1.65 255.255.255.224
no shutdown
exit
int fa0/0.3
enca dot1q 3
ip address 192.168.1.97 255.255.255.224
no shutdown
exit
int s1/2
ip address 192.168.47.1 255.255.255.0
no shutdown
ip summary-address eigrp 100 192.168.1.0 255.255.255.0
exit
int s1/1
ip address 192.168.45.1 255.255.255.0
bandwidth 1000
no shutdown
exit
router eigrp 100
network 192.168.1.32 0.0.0.31
network 192.168.1.64 0.0.0.31
network 192.168.1.96 0.0.0.31
network 192.168.47.0 0.0.0.255
network 192.168.45.0 0.0.0.255
no auto-summary
variance 2
traffic-share balanced
exit
key chain 45
key 1
key-string miwen
exit
exit
int s1/1
ip authen mode eigrp 100 md5
ip authen key-chain eigrp 100 45
end

R5:
enable
config t
hostname R5
int s1/0
ip address 192.168.45.2 255.255.255.0
no shutdown
exit
int s1/2
ip address 192.168.57.1 255.255.255.0
no shutdown
exit
router eigrp 100
network 192.168.57.0 0.0.0.255
network 192.168.45.0 0.0.0.255
exit
key chain 45
key 1
key-string miwen
exit
exit
int s1/0
ip authen mode eigrp 100 md5
ip authen key-chain eigrp 100 45
end


R7:
enable
config t
hostname R7
int s1/3
ip address 192.168.47.2 255.255.255.0
no shutdown
exit
int s1/4
ip address 192.168.57.2 255.255.255.0
no shutdown
exit
int s1/5
ip address 192.168.67.2 255.255.255.0
no shutdown
exit
ip route 0.0.0.0 0.0.0.0 s1/5
router eigrp 100
network 192.168.47.0 0.0.0.255
network 192.168.57.0 0.0.0.255
network 192.168.67.0 0.0.0.255
network 0.0.0.0 0.0.0.0
exit
key chain 67
key 1
key-string mingwen
exit
exit
int s1/5
ip authen mode eigrp 100 md5
ip authen key-chain eigrp 100 67
end

R6:
enable
config t
hostname R6
int s1/2
ip address 192.168.67.1 255.255.255.0
no shutdown
exit
int lo1
ip address 192.168.6.1 255.255.255.0
no shutdown
exit
router eigrp 100
network 192.168.67.0 0.0.0.255
exit
key chain 67
key 1
key-string mingwen
exit
exit
int s1/2
ip authen mode eigrp 100 md5
ip authen key-chain eigrp 100 67
exit
end

 

 

 

你可能感兴趣的:(路由器,休闲,思科,EIGRP,思科路由器)