Users Guide

1444 BGP
12
Associate the Red VRF with a VLAN routed interface.
S1(config)#interface vlan 16
S1(config-if-vlan16)#ip vrf forwarding Red
S1(config-if-vlan16)#ip address 172.16.0.1 255.255.255.0
S1(config-if-vlan16)#exit
13
Associate the Green VRF with a VLAN routed interface.
S1(config)#interface vlan 17
S1(config-if-vlan17)#ip vrf forwarding Green
S1(config-if-vlan17)#ip address 172.17.0.1 255.255.255.0
S1(config-if-vlan17)#exit
14
Associate the Blue VRF with a VLAN routed interface.
S1(config)#interface vlan 18
S1(config-if-vlan18)#ip vrf forwarding Blue
S1(config-if-vlan18)#ip address 172.18.0.1 255.255.255.0
S1(config-if-vlan18)#exit
We can display the VRF associated RDs and interfaces as follows:
S1(config)#show ip vrf
Number of VRFs.................... 4
Name Identifier Route Distinguisher
-------------------- --------------- --------------------
Blue 1 65000:3
Green 2 65000:2
Red 3 65000:1
Shared 4 65000:99
S1(config)#show ip vrf interface
VRF Name Interface State IP Address IP Mask Method
-------------------- ---------- ----- --------------- --------------- -------
Blue Vl18 Up 172.18.0.1 255.255.255.0 Manual
Blue Lo18 Up 172.18.1.1 255.255.255.252 Manual
Green Vl17 Up 172.17.0.1 255.255.255.0 Manual
Green Lo17 Up 172.17.1.1 255.255.255.252 Manual
Red Vl16 Up 172.16.0.1 255.255.255.0 Manual
Red Lo16 Up 172.16.1.1 255.255.255.252 Manual
Shared Lo1 Up 192.168.99.1 255.255.255.0 Manual