IMPORTANT:
IMPORTANT:
Introduction
Supported Standards
Supported Networks and Platforms
Licenses
Services and Application on GRE Interface
How GRE Interface Support Works
Ingress Packet Processing on GRE Interface
IMPORTANT:
Virtual Routing And Forwarding (VRF) Configuration
configure
context <vpn_context_name>
-noconfirm ]
ip
vrf <vrf_name>
ip
maximum-routes <max_routes>
end
GRE Tunnel Interface Configuration
configure
context <vpn_context_name>
ip
interface <intfc_name> tunnel
ip
vrf forwarding <vrf_name>
ip
address <internal_ip_address/mask>
tunnel-mode
gre
source
interface <non_tunn_intfc_to_corp>
destination
address <global_ip_address>
keepalive
interval <value> num-retry
<retry>
end
Enabling OSPF for VRF
configure
context <vpn_context_name>
router
ospf
ip
vrf <vrf_name>
network
<internal_ip_address/mask>
end
Associating IP Pool and AAA Group with VRF
configure
context <vpn_context_name>
ip
pool <ip_pool_name> <internal_ip_address/mask>
vrf <vrf_name>
exit
aaa
group <aaa_server_group>
ip
vrf <vrf_name>
end
Associating APN with VRF
configure
context <vpn_context_name>
apn
<apn_name>
aaa
group <aaa_server_group>
ip
address pool name <ip_pool_name>
end
Static Route Configuration
configure
context <vpn_context_name>
ip
route <internal_ip_address/mask>
tunnel <tunnel_intfc_name>
vrf <vrf_name>
end
IMPORTANT:
show ip interface
The output of this
command displays the configuration of the all interfaces configured
in a context.Intf Name: foo1Intf Type: BroadcastDescription:IP State: UP
(Bound to 17/2 untagged, ifIndex 285343745)IP Address: 1.1.1.1 Subnet
Mask: 255.255.255.0Bcast Address: 1.1.1.255 MTU: 1500Resoln Type: ARP ARP
timeout: 60 secsL3 monitor LC-port
switchover: DisabledNumber of Secondary
Addresses: 0Intf Name: foo2Intf Type: Tunnel
(GRE)Description:VRF: vrf-tunIP State: UP
(Bound to local address 1.1.1.1 (foo1), remote address 5.5.5.5)IP Address: 10.1.1.1 Subnet
Mask: 255.255.255.0Intf Name: foo3Intf Type: Tunnel
(GRE)Description:IP State: DOWN
(<state explaining the reason of being down>)IP Address: 20.20.20.1 Subnet
Mask: 255.255.255.0
show ip interface
gre-keepalive
The output of this
command displays the configuration of the keepalive for GRE interface
configured in a context.