cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2147
Views
0
Helpful
5
Replies

default route per source vlan on Nexus

Ben Alex
Level 1
Level 1

Hi:

I am not able to

test this as i havr no lab equipment.

Will the following commands on Nexus 5K send all traffic from vlan 1400 to 10.10.10.1 and all traffic from vlan 1500 to 20.20.20.1?

ip route 0.0.0.0 0.0.0.0 vlan 1400 10.10.10.1

ip route 0.0.0.0 0.0.0.0 vlan 1500 20.20.20.1

Or I  have no choice and must use PBR.

Thanks

5 Replies 5

vmiller
Level 7
Level 7

the prefix of 0.0.0.0 will catch everything. on nx os the syntax is prefix/length

http://www.cisco.com/en/US/docs/switches/datacenter/nexus5000/sw/command/reference/rel_5_0/ucr_commands.html#wp1663669

can you come up with a more specific prefix and length for the source addresses ?

I think you misunderstood my question

ip route 0.0.0.0/0 vlan 1400 10.10.10.1

ip route 0.0.0.0/0 vlan 1500 20.20.20.1

I want to route based on source vlann

Can someone provide me a config for PBR on nexus. I no not see the feature pbr

on the SVI the IP policy does not exist

NX5596-10(config)# ip ?
  access-list        Configure access list
  adjmgr             AM information
  arp                Configure ARP parameters
  arp                ARP
  as-path            BGP autonomous system path filter
  auto-discard       Auto 0.0.0.0/0 discard route
  community-list     Add a community list entry
  device             Hosts attached to switch
  dhcp               Configure DHCP snooping or relay
  dns                Configure dns client
  domain-list        Add additional domain names
  domain-lookup      Enable/Disable DNS
  domain-name        Specify default domain name
  eigrp              EIGRP clear commands
  extcommunity-list  Add a extcommunity list entry
  host               Add an entry to the ip hostname table
  igmp               IGMP global configuration commands
  internal           Show internal information
  load-sharing       ECMP load-sharing
  mfwd               Configures Global IP Multicast Forwarding
  mroute             Configure multicast RPF static route
  name-server        Specify nameserver address
  policy             Configure PBR feature
  prefix-list        Build a prefix list
  radius             Radius server
  route              Route information
  routing            Routing information
  source             IP source
  source-route       IP source routing option
  tacacs             Tacacs server
  tcp                Global TCP parameters
  telnet             Configure telnet
  tftp               Configure TFTP client

My first question is do you have the L3 card(s) in your Nexus 5596?

Nexus 5500 with L3 doens't have PBR support as of now. To solve your problem, you can use VRF.

HTH,

jerry

Jeye:

Sure I have an L3 card and is running eigrp.

I was thinking the VRF also but PBR would have been very simple as I am only redirecting one vlan.

Do you any idea if PBR is on the roadmap for near future release.

Thanks again for your response.

PBR is in the road map.

Regards,

jerry

Review Cisco Networking products for a $25 gift card