Step 1 |
enable
Example:
|
Enables privileged EXEC mode.
|
Step 2 |
configure
terminal
Example:
Device# configure terminal
|
Enters global configuration mode.
|
Step 3 |
ip
cef
Example:
|
Enables Cisco Express Forwarding on the route processor.
|
Step 4 |
ip
vrf
vrf-name
Example:
Device(config)# ip vrf SOO_VRF
|
Defines a VRF instance and enters VRF configuration mode.
|
Step 5 |
rd
route-distinguisher
Example:
Device(config-vrf)# rd 1:1
|
Creates routing and forwarding tables for a VRF and specifies the default RD for a VPN.
|
Step 6 |
route-target
{export |
both}
route-target-ext-community
Example:
Device(config-vrf)# route-target export 1:1
|
Creates a route-target extended community for a VRF.
Use the
export keyword to export routing information to the target VPN extended community.
Use the
both keyword to both import routing information from, and export routing information to, the target VPN extended community.
Use the
route-target-ext-community argument to specify the VPN extended community.
Note
| Only the syntax applicable to this step is displayed. For a different use of this syntax, see Step 7.
|
|
Step 7 |
route-target
{import |
both}
route-target-ext-community
Example:
Device(config-vrf)# route-target import 1:1
|
Creates a route-target extended community for a VRF.
Use the
import keyword to import routing information from the target VPN extended community.
Use the
both keyword to both import routing information from, and export routing information to, the target VPN extended community.
Use the
route-target-ext-community argument to specify the VPN extended community.
|
Step 8 |
exit
Example:
|
Exits VRF configuration mode and returns to global configuration mode.
|
Step 9 |
interface
type
number
Example:
Device(config)# interface GigabitEthernet 1/0/0
|
Configures an interface type and enters interface configuration mode.
|
Step 10 |
ip
vrf
forwarding
vrf-name
[downstream
vrf-name2]
Example:
Device(config-if)# ip vrf forwarding SOO_VRF
|
Associates a VRF with an interface or subinterface.
Note
| Executing this command on an interface removes the IP address, so the IP address should be reconfigured.
|
|
Step 11 |
ip
address
ip-address
mask
[secondary]
Example:
Device(config-if)# ip address 192.168.1.2 255.255.255.0
|
Configures an IP address.
|
Step 12 |
end
Example:
|
Exits interface configuration mode and returns to privileged EXEC mode.
|
Step 13 |
show
ip
vrf
[brief |
detail |
interfaces |
id] [vrf-name] [output-modifiers]
Example:
|
Displays the configured VRFs.
|