WAN Routing
1753860 Members
7347 Online
108809 Solutions
New Discussion

Using layer 3 switch for WAN router - is this adviseable?

 
Jeff J
Advisor

Using layer 3 switch for WAN router - is this adviseable?

I have an aging cisco 7200 router that needs to be replaced. I have on hand a few H3C S5600 switches. Basically the same feature set as the 5500, though a few years older. I'm routing only between a few networks. I think the whole routing table has 10 entries.

 

Other than basic routing, I have to do rate limiting. The 5600 has outbound and inbound rate limiting, but my testing shows the inbound to be very poor. So for the customer who needs rate limiting. I'd configure port 2 to be the customer routed port. Then ports 3 and 4 would be in their own vlan, with outbound rate limiting on both of those ports. Port 2 connects to port 3, port 4 connects to the customer. So basically I'd loop the routed port through a rate limited VLAN, they'd be limited to 60 Mbit/s

 

Ideally I'd buy a shiny new router, but that's not going to happen. Is this reasonable?

 

 

Actual Config below:

 


vlan 400
 description To Upstream provider
#
vlan 401
 description to customer1
#
vlan 402
 description rate limit for customer1
#
vlan 403
 description to customer2

interface Vlan-interface400
 ip address 2.5.8.58 255.255.255.252 #
interface Vlan-interface401 
 ip address 2.9.1.1 255.255.255.248
interface Vlan-interface403
 ip address 2.9.1.17 255.255.255.240


interface GigabitEthernet1/0/1 
  port access vlan 400 
  description to upstream provider
interface GigabitEthernet1/0/2 
  port access vlan 401
interface GigabitEthernet1/0/3 
  port access vlan 402 
  description loop from routed port g1/0/2 for customer1- modify for upload limit 
  line-rate outbound 60032 burst-bucket 64
interface GigabitEthernet1/0/4
  port access vlan 402 
  description loop to customer1 from routed port g1/0/2 - modify for download limit 
  line-rate outbound 60032 burst-bucket 64
interface GigabitEthernet1/0/5 
  port access vlan 403
description to customer2

1 REPLY 1
Peter_Debruyne
Honored Contributor

Re: Using layer 3 switch for WAN router - is this adviseable?

Seems like you need basic routing functions only, so I would no see any problem there. Just beware that these are running comware 3.x, so I do not believe there are many updates on these anymore,

 

regards,Peter