Allied Telesis C613-16164-00 REV E Network Card User Manual


 
Configure VRF-lite | Page 13
Configuring VRF-lite
Configuring VRF-lite
The following section describes the generic commands used to configure VRF-lite.
CONFIGURING ACLS PURPOSE
Step 1 Enter Global Configuration mode.
Step 2 Optional. This command configures a standard
named access-control-list (ACL). Matching
networks (routes) are either imported to or
exported from a VRF instance to BGP.
Alternatively, matching networks are denied
from being imported to or exported from a
VRF instance to BGP. This command is
optionally used in the context of VRF when
using BGP to facilitate inter-VRF
communications. These optional ACLs should
be configured before any inter-VRF
communication is configured, to prevent
unnecessary routes from being leaked from one
VRF to another
.
CONFIGURING VRFS PURPOSE
Step 1 Create a named Virtual Router Forwarding
(VRF) instance. If the optional Local Interface
(LO) parameter not specified, a local interface is
automatically created and associated with the
VRF instance. If the LO parameter is specified, it
allows the user to control which LO is
associated with a particular VRF instance.
Step 2 Optional. Create a route distinguisher (rd) in
the form of an ASN, which also references a
specific VRF instance. Format is in the form
ASN:VRF instance. This command is required if
using BGP to facilitate inter-VRF communication.
Step 3
Optional. Exports routes from the VRF instance
to BGP.
Step 4 Optional. Imports routes from BGP into the
VRF instance.
Step 5
Optional. Configure an import map, which
references a route map, and associated ACL.
Used to selectively import routes into the VRF
instance from BGP.
Step 6 Optional. Configure an export map, which
references a route map, and associated ACL.
Used to selectively export routes from the VRF
instance to BGP.
Step 7 Return to Global Configuration mode.
awplus# con
f t
awplus(config)# access-list standard
<access-list-name> {deny|
permit}<network>
awplus(config)#ip vrf <vrf-name> <lo-
interface-number>
awplus(config-vrf)#rd <route
distinguisher>
awplus(config-vrf)#route-target export
<ASN>
awplus(config-vrf)#route-target import
<ASN>
awplus(config-vrf)#import map <route-
map-name>
awplus(config-vrf)#export map <route-
map-name>
awplus(config-vrf)#exit