- 论坛徽章:
- 0
|
ISIS和BGP混合组网实例(五)
5、 R5配置和测试
r5#
r5#show run
Building configuration...
Current configuration : 2180 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r5
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
!
!
no ip domain lookup
!
ip cef
ip audit po max-events 100
!
interface Loopback0
ip address 5.5.5.5 255.255.255.0
!
interface Loopback1
ip address 7.7.7.7 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface FastEthernet1/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/1
no ip address
shutdown
duplex auto
speed auto
!
interface Ethernet2/0
no ip address
shutdown
duplex half
!
interface Ethernet2/1
no ip address
shutdown
duplex half
!
interface Ethernet2/2
no ip address
shutdown
duplex half
!
interface Ethernet2/3
no ip address
shutdown
duplex half
!
interface Serial3/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/3
no ip address
shutdown
serial restart-delay 0
!
interface Ethernet4/0
no ip address
shutdown
duplex half
!
interface Ethernet4/1
no ip address
shutdown
duplex half
!
interface Ethernet4/2
no ip address
shutdown
duplex half
!
interface Ethernet4/3
no ip address
shutdown
duplex half
!
interface Ethernet4/4
no ip address
shutdown
duplex half
!
interface Ethernet4/5
no ip address
shutdown
duplex half
!
interface Ethernet4/6
no ip address
shutdown
duplex half
!
interface Ethernet4/7
no ip address
shutdown
duplex half
!
interface GigabitEthernet5/0
ip address 10.10.9.2 255.255.255.0
negotiation auto
!
router bgp 10
no synchronization
bgp log-neighbor-changes
redistribute connected
neighbor 10.10.9.1 remote-as 100
neighbor 10.10.9.1 update-source Loopback0
neighbor 10.10.9.1 next-hop-self
no auto-summary
!
ip classless
no ip http server
no ip http secure-server
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end
r5# show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 1 subnets
B 1.1.1.0 [20/20] via 10.10.9.1, 00:19:48
2.0.0.0/24 is subnetted, 1 subnets
B 2.2.2.0 [20/30] via 10.10.9.1, 00:19:48
3.0.0.0/24 is subnetted, 1 subnets
B 3.3.3.0 [20/0] via 10.10.9.1, 00:23:17
4.0.0.0/24 is subnetted, 1 subnets
B 4.4.4.0 [20/0] via 10.10.9.1, 00:44:50
5.0.0.0/24 is subnetted, 1 subnets
C 5.5.5.0 is directly connected, Loopback0
6.0.0.0/24 is subnetted, 1 subnets
B 6.6.6.0 [20/0] via 10.10.9.1, 00:43:18
7.0.0.0/24 is subnetted, 1 subnets
C 7.7.7.0 is directly connected, Loopback1
10.0.0.0/24 is subnetted, 4 subnets
C 10.10.9.0 is directly connected, GigabitEthernet5/0
B 10.10.10.0 [20/0] via 10.10.9.1, 00:23:17
B 10.10.11.0 [20/20] via 10.10.9.1, 00:19:49
B 10.10.12.0 [20/0] via 10.10.9.1, 00:44:50
r5# ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 148/288/460 ms
r5#ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 364/440/548 ms
r5#ping 3.3.3.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/212/396 ms
r5#ping 4.4.4.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4.4.4.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 480/580/764 ms
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/17811/showart_1982522.html |
|