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


 
CONFIGURE STATIC ROUTING
CONFIGURE ROUTE MAPS
Confi
gure VRF-lite | Page 57
Configuring a complex inter-VRF solution
denotes a static route to destination network 192.168.45.0/24 which has a next hop of
192.168.100.2, which originates from VRF shared, which egresses VLAN5 in VRF shared. In
this example each VRF instance red, green, blue, orange and shared has their own static
default route to the Internet via VRF shared.
Configure route
ma
ps
The final part of this configuration example is the route-map configuration. The command
route-map routemap-name permit 1 is used to create a route-map. Each route-map in turn
references a particular standard ACL.
VRF export maps filter routes exported to BGP. VRF import maps filter routes imported into
the VRF domain from BGP. BGP is used to leak routes between VRFs.
awplus(config)#ip route vrf red 0.0.0.0/0 192.168.100.254 vlan5
awplus(config)#ip route vrf green 0.0.0.0/0 192.168.100.254 vlan5
awplus(config)#ip route vrf blue 0.0.0.0/0 192.168.100.254 vlan5
awplus(config)#ip route vrf orange 0.0.0.0/0 192.168.100.254 vlan5
awplus(config)#ip route vrf orange 192.168.20.0/24 192.168.40.2
awplus(config)#ip route vrf orange 192.168.140.0/24 192.168.40.2
awplus(config)#ip route vrf shared 0.0.0.0/0 192.168.100.254
awplus(config)#ip route vrf shared 192.168.43.0/24 192.168.100.2
awplus(config)#ip route vrf shared 192.168.44.0/24 192.168.100.2
awplus(config)#ip route vrf shared 192.168.45.0/24 192.168.100.2
awplus(config)#route-map red43 permit 1
awplus(config-route-map)#match ip address redBlock4445
awplus(config-route-map)#exit
awplus(config)#route-map green44 permit 1
awplus(config-route-map)#match ip address greenBlock4345
awplus(config-route-map)#exit
awplus(config)#route-map blue45 permit 1
awplus(config-route-map)#match ip address blueBlock4344
awplus(config-route-map)#exit
awplus(config)#route-map orange434445 permit 1
awplus(config-route-map)#match ip address orangeNoBlock
awplus(config-route-map)#exit
awplus(config)#route-map orange140 permit 1
awplus(config-route-map)#match ip address orangeBlock20Export140
awplus(config-route-map)#exit
awplus(config)#exits