cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
522
Views
0
Helpful
3
Replies

GRE Tunnel

saquib.tandel
Level 1
Level 1

Hi

How to restrict GRE Tunnel with a maximum of 4MB transmit and receive.

thanks

Saquib

3 Replies 3

Yudong Wu
Level 7
Level 7

Using QoS, Just an illustration. the command syntax might not exactly match.

1. define ACL for GRE traffic

access-list 100 permit gre host IP1 host IP2

access-list 101 permit gre host IP2 host IP1

2. define the class-map

class-map GRE-OUTGOING

match access-group 100

class-map GRE-INCOMING

match access-group 101

3. define policy-map

policy-map out

class GRE-OUTGOING

  bandwidth xxxxx

policy-map in

class GRE-INCOMING

  bandwidth xxxxx

4. applicy the policy-map to the interface in both iincomg and outgoing directly.

refer to the "Modular Quality of Service Command-Line Interface" configuration guide for the detail

http://www.cisco.com/en/US/partner/docs/ios/12_2/qos/configuration/guide/qcfmcli2.html

Thanks Wu

Network Management Server requires to configure Bandwidth on the physcial and Tunnel interfaces. On applying the bandwidth command still no luck.

Am I missing anything, Router model is 3845, ios is 12.4

Internet Bandwidth  - 5MB

LAN connection - 100MB

tunnel interface I need to configure as 2MB

Config for Bandwith command looks  like -

Interface Tunnel 10

Bandwidth 2000

interface fa 0/0

description "LAN"

bandwidth 10000

interface fa 0/1

Description "ISP"

bandwidth 5000

Not sure why you mention this bandwidth command.

Bandwidth command under the interface does not restrict the rate of tx/rx. It is just used for the calculation purpose such as routing protocol's metric.

The bandwidth command under the policy-map will do the trick.