iS5Com URM (Unified Route Map) is a portable implementation of the route map capability for IPv4 and IPv6 unicast routing software. The URM provides a single interface for the administrator to set up and manage route maps. It also provides a common unified method for routing protocols and static route management software to use route maps for different purposes. The independent nature of the implementation helps to avoid the duplication of the route maps in the different routing modules in a router.
This section lists the CLI configuration steps to define a route map with a specified name and the related parameters such as permission and sequence number.
Type the following:
iS5comm# configure terminal
iS5comm(config)# route-map aa permit 1
iS5comm# show route-map
iS5comm(config)# no route-map aa 1
This section lists the CLI configuration steps for defining the filtering criteria for the route map and its related parameters.
Type the following:
iS5comm# configure terminal
iS5comm(config)# route-map aa permit 1
iS5comm(config-rmap-aa)# match source ip 34.0.0.3 255.0.0.0
iS5comm(config-rmap-aa)# match source ipv6 2120::3 64
iS5comm(config-rmap-aa)# match destination ip 91.0.0.1 255.0.0.0
iS5comm(config-rmap-aa)# match destination ipv6 2150::2 64
iS5comm(config-rmap-aa)# match route-type remote
iS5comm(config-rmap-aa)# match metric-type inter-area
iS5comm(config-rmap-aa)# match metric 44
iS5comm(config-rmap-aa)# match next-hop ip 91.0.0.1
iS5comm(config-rmap-aa)# match next-hop ipv6 3000::3
iS5comm(config-rmap-aa)# match tag 10
iS5comm# show running-config route-map
Building configuration...route-map aa permit 1
match destination ip 91.0.0.1 255.0.0.0
match destination ipv6 2150::2 64
match source ip 34.0.0.3 255.0.0.0
match source ipv6 2120::3 64
match next-hop ip 91.0.0.1
match next-hop ipv6 3000::3
match metric 44
match tag 10
match metric-type inter-area
match route-type remote
end
This section lists the CLI configuration steps to set the administrative distance for the RIP router.
Type the following:
iS5comm# configure terminal
iS5comm(config)# router rip
iS5comm(config-router)# distance 100
iS5comm# show running-config rip
Building configuration...
router rip
distance 100
!
end
iS5comm(config-router)# no distance
iS5comm# show running-config rip
Building configuration...
router rip
!
end
This section lists the CLI configuration steps to configure the protocol from which the routes have to be redistributed into RIP by applying the Route Map.
Type the following:
iS5comm# configure terminal
iS5comm(config)# router rip
iS5comm(config-router)# network 12.0.0.1
iS5comm(config-router)# redistribute all route-map aa
iS5comm# show running-config rip
Building configuration...
router rip
redistribute all route-map aa
network 12.0.0.1
!
interface vlan 1
!
end
iS5comm(config-router)# no redistribute all route-map aa
iS5comm# show running-config rip
Building configuration...
router rip
network 12.0.0.1
!
interface vlan 1
!
end
Building configuration...
router rip
!
end
This section provides the sample configuration for testing route map with RIP.
Some prerequisite configuration must be done in the switches R1, R2, R3 and R4 before configuring RIP.
Router No | Interface | Port | IPv4 Address / Mask | Prefix Length / Mask |
---|---|---|---|---|
R1 | Vlan 12 | Tagged ports E1 | 12.0.0.1/8 | 2120::1/24 |
Vlan 13 | Tagged ports E2 | 13.0.0.1/8 | 2130::1/24 | |
Vlan 110 | Tagged ports E3 | 70.0.0.1/8 | 2070::1/24 | |
R2 | Vlan 12 | Tagged ports E1 | 12.0.0.2/8 | 2120::2/24 |
Vlan 24 | Tagged ports E2 | 24.0.0.2/8 | 2240::2/24 | |
R3 | Vlan 13 | Tagged ports E1 | 13.0.0.3/8 | 2130::3/24 |
Vlan 34 | Tagged ports E2 | 34.0.0.3/8 | 2340::3/24 | |
R4 | Vlan 24 | Tagged ports E1 | 24.0.0.4/8 | 2240::4/24 |
Vlan 34 | Tagged ports E2 | 34.0.0.4/8 | 2340::4/24 |
R1 – ASBR router.
All OSPF routers have router-ID 0.0.0.N, where N - number of router.
All OSPF routers use area 0.0.0.0.
This section provides the sample configuration for testing redistribution of routes into RIP with route map.
Some prerequisite configuration must be done in the switches R1, R2, R3 and R4 before configuring RIP.
Router No | Interface | Port | IPv4 Address / Mask | Prefix Length / Mask |
---|---|---|---|---|
R1 | Vlan 12 | Tagged ports E1 | 140.0.0.1/16 | 2140::1/24 |
Vlan 110 | Tagged ports E3 | 70.0.0.1/8 | 2070::1/24 | |
R2 | Vlan 12 | Tagged ports E1 | 140.0.0.2/16 | 2140::1/24 |
Vlan 23 | Tagged ports E3 | 20.0.0.2/8 | 2020::2/24 | |
Vlan 24 | Tagged ports E2 | 60.0.0.2/8 | 2040::2/24 | |
Vlan 25 | Tagged ports E4 | 40.0.0.2/8 | 2060::2/24 | |
Vlan 125 | Tagged ports E5 | 50.0.0.2/8 | 2050::2/24 | |
R3 | Vlan 23 | Tagged ports E1 | 20.0.0.3/8 | 2020::2/24 |
Vlan 130 | Tagged ports E2 | 11.0.0.3/8 | 2011::3/24 | |
R4 | Vlan 25 | Tagged ports E1 | 40.0.0.5/8 | 2060::5/24 |
Vlan 150 | Tagged ports E2 | 14.1.0.5/16 | 2014::5/24 |
Configuration: Protocol configuration |
---|
Configure the protocols in the given interfaces in each of the routers as follows: At R1 At R2
At R3 At R2 |