VRF-CE Configuration
Except on the first page, right running head:
Heading1 or Heading1NewPage text (automatic)
665
Alcatel-Lucent
Beta Beta
OmniAccess 5740 Unified Services Gateway CLI Configuration Guide
TO CONFIGURE ROUTING PROTOCOLS IN VRF
Each VRF has its own routing table. These routing table entries can be learnt
using dynamic routing protocol (OSPF/BGP/RIP) or static routing protocol.
If a VRF is deleted, routing protocol configuration in that VRF is removed. In case
of OSPF, each OSPF instance is attached to one VRF.
T
O CONFIGURE STATIC ROUTE IN A VRF
E
XAMPLE
ALU(config)# ip route vrf ALU-vrf 1.1.1.0/24 2.2.2.2
T
O CONFIGURE OSFP IN A VRF
Supports 30 OSPF instances per system.
E
XAMPLE
ALU(config)# router ospf 1 vrf ALU-vrf
ALU(config-router ospf 1)#
Command (in CM) Description
ip route [vrf <vrf-name>]
{destination network
subnet-mask|destination
network/prefix-length}
{<gateway-ip-address>|
<interface-name> [<gateway-
ip-address>]}[<1-255>]
This command adds a static routing entry into
the specified VRF routing table.
If the VRF name is not specified, then the
routing entry is added to the corresponding
Default VRF’s routing table.
Command (in CM) Description
router ospf <process-id>
[vrf <vrf-name>]
This command enables OSPF routing, and
associates the OSPF instance with the
specified VRF.
If the VRF name is not specified, then the
OSPF instance is associated with the Default
VRF.