Bob i tried it and it exactly work as you said, it takes me to the next hop without look into the RIB! so you are right. i need both ip default next-hop & ip next-hop, unfortunately ip default next-hop is not supported on 3560G, But at least i can bypass default RIB now, so half job is accomplished!
Regards Sheraz From: [email protected] To: [email protected] CC: [email protected]; [email protected] Subject: RE: [OSL | CCIE_RS] can someone please help? Date: Mon, 28 Jan 2013 05:17:32 +0500 Yes BOB i have that thing in my mind thanks for the elaboration so nice of you. i will try it in the morning with only one host & will share results with you after doing it. I have only one option ip next-hop! Regards Sheraz From: [email protected] Date: Sun, 27 Jan 2013 19:06:20 -0500 Subject: Re: [OSL | CCIE_RS] can someone please help? To: [email protected] CC: [email protected]; [email protected] Do you realize they have different behaviors? 'set ip next-hop' will override the routing table and consult the policy route first. 'set ip default next-hop' consults the IP routing table first and will apply the policy route only if the routing decision falls down to default. It provides a different default for the hosts/traffic matching the route-map. So make sure you are still getting the behavior you desire with the different route-map. Bob-- Sent from my iPhone, please excuse any typos. On Jan 27, 2013, at 7:00 PM, Sheraz Sheraz <[email protected]> wrote: it is resolved because of Marko & Bob i just dident try ip next hop i i was trying ip default next hop thnaks everyone. > From: [email protected] > To: [email protected]; [email protected] > CC: [email protected] > Date: Sat, 26 Jan 2013 14:02:40 -0600 > Subject: RE: [OSL | CCIE_RS] can someone please help? > > I think it's been asked a couple times but please post all relevant config. > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Sheraz Sheraz > Sent: Saturday, January 26, 2013 1:31 PM > To: Bob McCouch > Cc: [email protected] > Subject: Re: [OSL | CCIE_RS] can someone please help? > > Great! but not working for me! :( please suggest any solution! > > 3560G#sh ip policy > Interface Route map > > interface Vlanxx > > > Empty, cant see applied route-map :( > > > > From: [email protected] > Date: Sat, 26 Jan 2013 13:58:21 -0500 > Subject: Re: [OSL | CCIE_RS] can someone please help? > To: [email protected] > CC: [email protected] > > Working for me: > SW3#show verCisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), > Version 12.2(44)SE6, RELEASE SOFTWARE (fc1) > > > > SW3#show sdm prefer The current template is "desktop routing" template. > > The selected template optimizes the resources in the switch to support this > level of features for 8 routed interfaces and 1024 VLANs. > > > number of unicast mac addresses: 3K number of IPv4 IGMP > groups + multicast routes: 1K > > number of IPv4 unicast routes: 11K number of > directly-connected IPv4 hosts: 3K > > number of indirect IPv4 routes: 8K number of IPv4 policy > based routing aces: 0.5K > > number of IPv4/MAC qos aces: 0.75K number of IPv4/MAC > security aces: 1K > > > SW3#show access-listExtended IP access list FOO > > 10 permit tcp any host 10.2.32.45 eq www > > SW3#show route-map > > route-map PBR, permit, sequence 10 Match clauses: ip address > (access-lists): FOO > > Set clauses: ip next-hop 10.1.1.22 Policy routing matches: 0 packets, 0 > bytes > > > SW3#show ip policyInterface Route mapVlan1 PBR > > > > Current configuration : 83 bytes! > > interface Vlan1 ip address 10.1.1.1 255.255.255.0 ip policy route-map PBR > > end > > Tried a ping from R3 to another destination: > > > SW3#deb ip policy*Mar 1 00:30:14.707: IP: s=10.1.1.3 (Vlan1), d=10.23.45.67, > len 100, FIB policy rejected(no match) - normal forwarding > > > Then tried a telnet from R3 to the PBR-specified target: > > > SW3#*Mar 1 00:30:29.790: IP: s=10.1.1.3 (Vlan1), d=10.2.32.45, len 44, FIB > policy match*Mar 1 00:30:29.790: IP: s=10.1.1.3 (Vlan1), d=10.2.32.45, > g=10.1.1.22, len 44, FIB policy routed > > > > On Sat, Jan 26, 2013 at 12:40 PM, Sheraz Sheraz <[email protected]> wrote: > > > > > > Any update Bob? one else can help me to figure out this problem? > > From: [email protected] > To: [email protected] > > > CC: [email protected] > Subject: RE: [OSL | CCIE_RS] can someone please help? > Date: Fri, 25 Jan 2013 20:21:36 +0500 > > > > > > > i want to change the default ip next of some addresses. > > > From: [email protected] > > To: [email protected] > > > > Date: Fri, 25 Jan 2013 18:22:31 +0500 > > CC: [email protected] > > Subject: Re: [OSL | CCIE_RS] can someone please help? > > > > > > Yes Bob, i need PBR on vlan interfaces! > > > > Cisco IOS Software, C3560 Software (C3560-IPSERVICES-M), Version > > 12.2(53)SE2, RELEASE SOFTWARE (fc3) > > > > > > > From: [email protected] > > > > > Date: Fri, 25 Jan 2013 07:53:21 -0500 > > > Subject: Re: [OSL | CCIE_RS] can someone please help? > > > To: [email protected] > > > CC: [email protected] > > > > > > > > What feature set on the switch? You need IP Services for PBR. > > > > > > Bob > > > -- > > > Sent from my iPhone, please excuse any typos. > > > > > > On Jan 25, 2013, at 3:06 AM, Sheraz Sheraz <[email protected]> wrote: > > > > > > > > > can someone please help me to figure out the problem? I'm trying to > > > > apply route-map in vlan interface on Cisco 3560G but its not functional > > > > neither i can see it in show running while "sdm prefere routing+reboot" > > > > are already accomplished! please let me know how can i apply route-maps > > > > in vlan interfaces.I;m using both dynamic routing & inter-vlan routing > > > > on the unit. > > > > > > > > > > > > > > show sdm prefer# > > > > > > > > The current template is "desktop routing" template. > > > > The selected template optimizes the resources in > > > > > > the switch to support this level of features for > > > > 8 routed interfaces and 1024 VLANs. > > > > > > > > number of unicast mac addresses: 3K > > > > number of IPv4 IGMP groups + multicast routes: 1K > > > > > > number of IPv4 unicast routes: 11K > > > > number of directly-connected IPv4 hosts: 3K > > > > number of indirect IPv4 routes: 8K > > > > number of IPv4 policy based routing aces: 0.5K > > > > > > number of IPv4/MAC qos aces: 0.5K > > > > number of IPv4/MAC security aces: 1K > > > > > > > > Configuration: > > > > (config)#interface vlanxx > > > > > > > > > > (config-if)#ip policy route-map vlan-gateway > > > > > > > > > > > > 3560G#Show run | begin interface > > > > > > > > Output: > > > > > > > > > > interface VlanXX > > > > description XX > > > > ip address XXX.XXX.XXX.XX > > > > ip helper-address XXX.XXX.XXX.XX > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > For more information regarding industry leading CCIE Lab training, > > > > please visit www.ipexpert.com > > > > > > > > Are you a CCNP or CCIE and looking for a job? Check out > > > > www.PlatinumPlacement.com > > > > > > > > > > http://onlinestudylist.com/mailman/listinfo/ccie_rs > > > > _______________________________________________ > > > > For more information regarding industry leading CCIE Lab training, please > > visit www.ipexpert.com > > > > Are you a CCNP or CCIE and looking for a job? Check out > > www.PlatinumPlacement.com > > > > > > http://onlinestudylist.com/mailman/listinfo/ccie_rs > > > > > _______________________________________________ > For more information regarding industry leading CCIE Lab training, please > visit www.ipexpert.com > > Are you a CCNP or CCIE and looking for a job? Check out > www.PlatinumPlacement.com > > http://onlinestudylist.com/mailman/listinfo/ccie_rs _______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com Are you a CCNP or CCIE and looking for a job? Check out www.PlatinumPlacement.com http://onlinestudylist.com/mailman/listinfo/ccie_rs
