From: CCIEBOB (cciebob@comcast.net)
Date: Tue Oct 25 2005 - 22:01:42 GMT-3
I wanted to add a leading zero in my router configuration to provide me
information within the tag (ex. 03 router 120 rip admin 03120) When I add
the leading zero I get a 1616 in the route tag. Converting 1616 octal to
decimal gives me the result of 3120. interesting. Like ping from windows
with a leading zero.
Rack1R3(config-router)#redistribute rip subnets route-map FROM_RIP
Rack1R3(config-router)#end
Rack1R3#
*Mar 5 09:03:48.297: %SYS-5-CONFIG_I: Configured from console by console
Rack1R3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Rack1R3(config)#route-map FROM_RIP per 10
Rack1R3(config-route-map)#set tag 03120
Rack1R3(config-route-map)#exit
Rack1R3(config)#exit
Rack1R3#sho run | be route-map
redistribute rip subnets route-map FROM_RIP
network 141.1.123.0 0.0.0.255 area 0
network 150.1.3.0 0.0.0.255 area 0
!
router rip
version 2
passive-interface default
no passive-interface FastEthernet0/0
no passive-interface FastEthernet0/1
network 141.1.0.0
no auto-summary
!
ip http server
ip classless
!
!
!
!
route-map FROM_RIP permit 10
set tag 1616
!
From another router.
Rack1R2#sho ip route 212.18.1.0
Routing entry for 212.18.1.0/24
Known via "ospf 1", distance 110, metric 20
Tag 1616, type extern 2, forward metric 64
Last update from 141.1.123.3 on Serial0/0, 00:00:35 ago
Routing Descriptor Blocks:
* 141.1.123.3, from 150.1.3.3, 00:00:35 ago, via Serial0/0
Route metric is 20, traffic share count is 1
This archive was generated by hypermail 2.1.4 : Sun Nov 06 2005 - 22:00:53 GMT-3