Cisco Cisco IOS Software Release 12.2(33)SRE

다운로드
페이지 72
Multi-Topology Routing
  Configuration Examples for Multi-Topology Routing
63
Cisco IOS Release 12.2(33)SRB
Importing Routes from an MTR Topology Using BGP: Example
The following example shows how to configure an access list to be used by a route map named BLUE 
to filter routes imported from the MTR topology named VOICE. Only routes with the prefix 192.168.1.0 
are imported. 
access-list 1 permit 192.168.1.0 0.0.0.255 
route-map BLUE
match ip address 1
exit
router bgp 50000 
scope global
neighbor 10.1.1.2 remote-as 50000
neighbor 172.16.1.1 remote-as 60000
address-family ipv4 
topology VIDEO 
bgp tid 100
neighbor 10.1.1.2 activate 
neighbor 172.16.1.1 activate 
import topology VOICE route-map BLUE 
end
clear ip bgp topology VIDEO 50000 
MTR Topology in Interface Configuration Mode: Examples
The following example disables the VOICE topology on Ethernet interface 0/0. 
interface Ethernet 0/0
 topology ipv4 VOICE disable
MTR OSPF Topology in Interface Configuration Mode: Examples
The following example disables OSPF routing on interface Ethernet 0/0 without removing the interface 
from the global topology configuration: 
interface Ethernet 0/0
 topology ipv4 VOICE
  ip ospf cost 100
  ip ospf topology disable
end 
In the following example, the show ip ospf interface command is used with the topology keyword to 
display information about the topologies configured for OSPF in interface configuration mode.
Router# show ip ospf 1 interface topology VOICE
VOICE Topology (MTID 66) 
Serial3/0 is up, line protocol is up
   Internet Address 10.0.0.5/30, Area 1
   Process ID 1, Router ID 44.44.44.44, Network Type POINT_TO_POINT
   Topology-MTID    Cost    Disabled    Shutdown      Topology Name
         4           77        no          no            grc
   Transmit Delay is 1 sec, State POINT_TO_POINT
   Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
     oob-resync timeout 40
     Hello due in 00:00:05
   Supports Link-local Signaling (LLS)
   Cisco NSF helper support enabled