sh ru Building configuration... Current configuration : 2084 bytes ! ! Bob note: ! Change the routing metrics with different MEDs ! version 12.1 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname korea ! enable secret 5 $1$oPhA$KFoGQd0C6xb61DEeF/K3W/ enable password enable ! ! ! ! ! ip subnet-zero no ip finger no ip domain-lookup ! ! ! interface Loopback0 ip address 198.101.30.1 255.255.255.0 ! interface Ethernet0 ip address 198.101.25.2 255.255.255.0 no mop enabled ! interface Serial0 ip address 212.89.41.1 255.255.255.0 encapsulation ppp no fair-queue ! interface Serial1 ip address 198.101.26.2 255.255.255.0 encapsulation ppp ! router ospf 10 log-adjacency-changes redistribute static network 198.101.25.0 0.0.0.255 area 0 network 198.101.26.0 0.0.0.255 area 0 network 198.101.30.0 0.0.0.255 area 0 network 212.89.41.0 0.0.0.255 area 0 default-information originate ! router bgp 1001 bgp log-neighbor-changes network 198.101.28.0 network 198.101.29.0 network 198.101.30.0 network 198.101.31.0 redistribute connected neighbor 198.101.29.1 remote-as 1001 neighbor 198.101.29.1 update-source Loopback0 neighbor 198.101.31.1 remote-as 1001 neighbor 198.101.31.1 update-source Loopback0 neighbor 212.89.41.2 remote-as 400 ! ip classless ip http server ip as-path access-list 9 permit _400_123$ ip as-path access-list 9 permit _400_888$ ip as-path access-list 9 permit _999_400$ ip as-path access-list 9 permit ^999$ ! access-list 10 permit 198.101.26.0 access-list 20 permit 198.101.30.0 access-list 30 permit 198.101.25.0 access-list 32 permit 198.101.28.0 0.0.0.255 access-list 32 permit 198.101.29.0 0.0.0.255 access-list 32 permit 198.101.31.0 0.0.0.255 route-map med1 permit 10 match ip address 10 set metric 30 ! route-map med1 permit 20 match ip address 20 set metric 10 ! route-map med1 permit 30 match ip address 30 set metric 40 ! route-map med1 permit 40 set metric 99 ! route-map bob permit 10 match ip address 32 set as-path prepend 1001 1001 1001 ! route-map bob permit 20 ! ! ! line con 0 exec-timeout 0 0 logging synchronous transport input none line aux 0 line vty 0 4 password cisco login ! end korea#