Höôùng daãn caáu hình caùc chöùc naêng cô baûn cuûa Cisco router
Trang 47/94
Atlanta Router Configuration
version 11.2 <*>
service udp-small-servers <*>
service tcp-small-servers <*>
!
hostname Atlanta
!
enable secret cisco
!
ip subnet-zero
no ip domain-lookup
!
interface Ethernet0
ip address 10.1.1.1 255.0.0.0
!
interface Serial0
description Leased Line to Boston
ip unnumbered Ethernet0
** encapsulation hdlc laø giaù trò maëc ñònh, neáu söû
duïng caùc router khaùc Cicso boå sung leänh
encapsulation ppp **
!
router rip
version 2
network 10.0.0.0
no auto-summary
!
ip http server
ip classless
!
line con 0
password console
login
line aux 0 <*>
line vty 0 4
password telnet
login <*>
!
end <*>
Boston Router Configuration
version 11.2 <*>
service udp-small-servers <*>
service tcp-small-servers <*>
!
hostname Boston
!
enable secret cisco
!
ip subnet-zero
no ip domain-lookup
!
interface Ethernet0
ip address 20.1.1.1 255.0.0.0
!
interface Serial0
description Leased Line to Atlanta
ip unnumbered Ethernet0
!
router rip
version 2
network 20.0.0.0
no auto-summary
!
ip http server
ip classless
!
line con 0
password console
login
line aux 0 <*>
line vty 0 4
password telnet
login <*>
!
end <*>
Höôùng daãn caáu hình caùc chöùc naêng cô baûn cuûa Cisco router
Trang 48/94
4.3.2 IPX only
Static
Atlanta Router Configuration
version 11.2 <*>
service udp-small-servers <*>
service tcp-small-servers <*>
!
hostname Atlanta
!
enable secret cisco
!
ipx routing 0000.0caa.1111
!
interface Ethernet0
no ip address <*>
ipx network 100 encapsulation SAP
ipx network 101 encapsulation NOVELL-
ETHER secondary
!
interface Serial0
description Leased Line to Boston
no ip address <*>
** encapsulation hdlc laø giaù trò maëc ñònh, neáu söû
duïng caùc router khaùc Cicso boå sung leänh
encapsulation ppp **
ipx network AAAA
ipx sap-interval 0
!
ipx route 200 AAAA.0000.0cbb.2222
ipx route 2000 AAAA.0000.0cbb.2222
!
ipx router rip
no network AAAA
!
ipx sap 4 BostonFS 2000.0000.0000.0001 451
2
!
line con 0
password console
login
line aux 0 <*>
line vty 0 4 <*>
login <*>
!
Boston Router Configuration
version 11.2 <*>
service udp-small-servers <*>
service tcp-small-servers <*>
!
hostname Boston
!
enable secret cisco
!
ipx routing 0000.0cbb.2222
!
interface Ethernet0
no ip address <*>
ipx network 200
!
interface Serial0
description Leased Line to Atlanta
no ip address <*>
ipx network AAAA
ipx sap-interval 0
!
ipx route 100 AAAA.0000.0caa.1111
ipx route 1000 AAAA.0000.0caa.1111
!
ipx router rip
no network AAAA
!
ipx sap 4 AtlantaFS 1000.0000.0000.0001 451
2
!
line con 0
password console
login
line aux 0 <*>
line vty 0 4 <*>
login <*>
!
end <*>
Höôùng daãn caáu hình caùc chöùc naêng cô baûn cuûa Cisco router
Trang 49/94
end <*>
Dynamic
Atlanta Router Configuration
version 11.2 <*>
service udp-small-servers <*>
service tcp-small-servers <*>
!
hostname Atlanta
!
enable secret cisco
!
ipx routing 0000.0caa.1111
!
interface Ethernet0
no ip address <*>
ipx network 100 encapsulation SAP
ipx network 101 encapsulation NOVELL-
ETHER secondary
!
interface Serial0
description Leased Line to Boston
no ip address <*>
** encapsulation hdlc laø giaù trò maëc ñònh, neáu söû
duïng caùc router khaùc Cicso boå sung leänh
encapsulation ppp **
ipx network AAAA
!
line con 0
password console
login
line aux 0 <*>
line vty 0 4
login <*>
end <*>
Boston Router Configuration
version 11.2 <*>
service udp-small-servers <*>
service tcp-small-servers <*>
!
hostname Boston
!
enable secret cisco
!
ipx routing 0000.0cbb.2222
!
interface Ethernet0
no ip address <*>
ipx network 200
!
interface Serial0
description Leased Line to Atlanta
no ip address <*>
ipx network AAAA
!
line con 0
password console
login
line aux 0 <*>
line vty 0 4
login <*>
!
end <*>
Höôùng daãn caáu hình caùc chöùc naêng cô baûn cuûa Cisco router
Trang 50/94
4.3.3 IP & IPX
Static
Atlanta Router Configuration
version 11.2 <*>
service udp-small-servers <*>
service tcp-small-servers <*>
!
hostname Atlanta
!
enable secret cisco
!
ip subnet-zero
no ip domain-lookup
ipx routing 0000.0caa.1111
!
interface Ethernet0
ip address 10.1.1.1 255.0.0.0
ipx network 100 encapsulation SAP
ipx network 101 encapsulation NOVELL-
ETHER secondary
!
interface Serial0
description Leased Line to Boston
ip unnumbered Ethernet0
** encapsulation hdlc laø giaù trò maëc ñònh, neáu söû
duïng caùc router khaùc Cicso boå sung leänh
encapsulation ppp **
ipx network AAAA
ipx sap-interval 0
!
ip http server
ip classless
ip route 20.0.0.0 255.0.0.0 Serial0
!
ipx route 200 AAAA.0000.0cbb.2222
ipx route 2000 AAAA.0000.0cbb.2222
!
ipx router rip
no network AAAA
!
ipx sap 4 BostonFS 2000.0000.0000.0001 451
2
!
line con 0
Boston Router Configuration
version 11.2 <*>
service udp-small-servers <*>
service tcp-small-servers <*>
!
hostname Boston
!
enable secret cisco
!
ip subnet-zero
no ip domain-lookup
ipx routing 0000.0cbb.2222
!
interface Ethernet0
ip address 20.1.1.1 255.0.0.0
ipx network 200
!
interface Serial0
description Leased Line to Atlanta
ip unnumbered Ethernet0
ipx network AAAA
ipx sap-interval 0
!
ip http server
ip classless
ip route 10.0.0.0 255.0.0.0 Serial0
!
ipx route 100 AAAA.0000.0caa.1111
ipx route 1000 AAAA.0000.0caa.1111
!
ipx router rip
no network AAAA
!
ipx sap 4 AtlantaFS 1000.0000.0000.0001 451
2
!
line con 0
password console
login
line aux 0 <*>
line vty 0 4
password telnet
Höôùng daãn caáu hình caùc chöùc naêng cô baûn cuûa Cisco router
Trang 51/94
password console
login
line aux 0 <*>
line vty 0 4
password telnet
login <*>
end <*>
login <*>
!
end <*>
Dynamic
Atlanta Router Configuration
version 11.2 <*>
service udp-small-servers <*>
service tcp-small-servers <*>
!
hostname Atlanta
!
enable secret cisco
!
ip subnet-zero
no ip domain-lookup
ipx routing 0000.0caa.1111
!
interface Ethernet0
ip address 10.1.1.1 255.0.0.0
ipx network 100 encapsulation SAP
ipx network 101 encapsulation NOVELL-
ETHER secondary
!
interface Serial0
description Leased Line to Boston
ip unnumbered Ethernet0
** encapsulation hdlc laø giaù trò maëc ñònh, neáu söû
duïng caùc router khaùc Cicso boå sung leänh
encapsulation ppp **
ipx network AAAA
!
router rip
version 2
network 10.0.0.0
no auto-summary
!
ip http server
ip classless
!
line con 0
password console
Boston Router Configuration
version 11.2 <*>
service udp-small-servers <*>
service tcp-small-servers <*>
!
hostname Boston
!
enable secret cisco
!
ip subnet-zero
no ip domain-lookup
ipx routing 0000.0cbb.2222
!
interface Ethernet0
ip address 20.1.1.1 255.0.0.0
ipx network 200
!
interface Serial0
description Leased Line to Atlanta
ip unnumbered Ethernet0
ipx network AAAA
!
router rip
version 2
network 20.0.0.0
no auto-summary
!
ip http server
ip classless
!
line con 0
password console
login
line aux 0 <*>
line vty 0 4
password telnet
login <*>