GRE Protocol Interface
▀ GRE Interface Configuration
▄ Cisco ASR 5x00 Packet Data Network Gateway Administration Guide
266
GRE Interface Configuration
This section provides a high-level series of steps and the associated configuration examples for configuring the system
with GRE interface in GGSN or P-GW services.
Important:
This section provides the minimum instruction set to enable the GRE Protocol Interface support
functionality on a GGSN or P-GW. Commands that configure additional functions for this feature are provided in the
Command Line Interface Reference
.
These instructions assume that you have already configured the system level configuration as described in
System
Administration Guide
and specific product Administration Guide.
To configure the system to support GRE tunnel interface:
Step 1
Configure the virtual routing and forwarding (VRF) in a context by applying the example configurations presented in
the
Virtual Routing And Forwarding (VRF) Configuration
section.
Step 2
Configure the GRE tunnel interface in a context by applying the example configurations presented in the
GRE Tunnel
Interface Configuration
section.
Step 3
Enable OSPF for the VRF and for the given network by applying the example configurations presented in the
Enabling
OSPF for VRF
section.
Step 4
Associate IP pool and AAA server group with VRF by applying the example configurations presented in the
Associating IP Pool and AAA Group with VRF
section.
Step 5
Associate APN with VRF through AAA server group and IP pool by applying the example configurations presented in
the
Associating APN with VRF
section.
Step 6
Optional. If the route to the server is not learnt from the corporate over OSPFv2, static route can be configured by
applying the example configurations presented in the
Static Route Configuration
section.
Step 7
Save your configuration to flash memory, an external memory device, and/or a network location using the Exec mode
command
save configuration
. For additional information on how to verify and save configuration files, refer to the
System Administration Guide
and the
Command Line Interface Reference
.
Step 8
Verify configuration of GRE and VRF related parameters by applying the commands provided in the
Verifying Your
Configuration
section of this chapter.
Virtual Routing And Forwarding (VRF) Configuration
This section provides the configuration example to configure the VRF in a context:
configure
context
<vpn_context_name
> -noconfirm ]
ip vrf <
vrf_name
>
ip maximum-routes <
max_routes
>