Allied Telesis C613-16164-00 REV E manual Hostname sharedrouter

Page 65

Configuring a complex inter-VRF solution

hostname shared_router

!

vlan database

vlan 2-4 state enable

!

interface port1.0.2 switchport access vlan 2

!

interface port1.0.3 switchport access vlan 3

!

interface port1.0.4 switchport access vlan 4

!

interface vlan1

ip address 192.168.100.2/24

!

interface vlan2

ip address 192.168.43.1/24

!

interface vlan3

ip address 192.168.44.1/24

!

interface vlan4

ip address 192.168.45.1/24

!

ip route 0.0.0.0/0 192.168.100.1

!

shared_router#show ip route

Codes: C - connected, S - static, R - RIP, B - BGP O - OSPF, IA - OSPF inter area

 

N1

-

OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

 

E1

-

OSPF external

type 1, E2 - OSPF external type 2

 

* -

 

candidate default

 

Gateway

of

 

last resort is

192.168.100.1 to

network 0.0.0.0

S*

0.0.0.0/0 [1/0] via 192.168.100.1,

vlan1

C192.168.43.0/24 is directly connected, vlan2

C 192.168.44.0/24 is directly connected, vlan3

C 192.168.45.0/24 is directly connected, vlan4

C 192.168.100.0/24 is directly connected, vlan1 shared_router#

Configure VRF-lite Page 65

Image 65
Contents What is VRF-lite? How To Configure VRF-lite IntroductionCommand summary Software feature licensesWho should read this document? Which products and software version does it apply to?Contents VRF GlossaryUnderstanding VRF-lite Route table and interface management with VRF-lite VRF-lite security domainsInterface management with VRF Vlan5Adding a VRF-aware static ARP Route management with VRFInter-VRF communication Static and dynamic inter-VRF routing For example VRF-lite features in AW+Route limiting per VRF instance VRF aware services includeVRF-aware utilities within AW+  Ping TCP dump  Telnet client SSH client Awplusconfig# access-list standard Configuring VRF-liteAwplusconfig-if#switchportaccess vlanx Family Awplusconfig-route-map#match ip Ip route 192.168.50.0/24 Ip route vrf green 192.168.1.0/24 Static inter-VRF routingForwarding Information Base FIB and routing protocols Dynamic inter-VRF communication explainedBGP Inter-VRF communication via BGP Route-target import ASNVRFinstance For example Using the route-target commandRoute-target both ASNVRFinstance For example Can be replaced withIf VRF red initially includes Also, if VRF shared configuration includesIf VRF shared initially includes Via BGP IVR, VRF shared will end up with the routesThen via BGP IVR, VRF red will end up with the routes If VRF shared configuration includesViewing source VRF and attribute information for a prefix How VRF-lite security is maintainedMultiple VRFs without inter-VRF communication Simple VRF-lite configuration examples26 Configure VRF-lite Vlan 28 Configure VRF-lite Configure VRF-lite 30 Configure VRF-lite Configure VRF-lite 32 Configure VRF-lite Inter-VRF configuration examples with Internet access Configuration Configure VRF-lite Example B Configuration 38 Configure VRF-lite Configure VRF-lite Example C Configuration 42 Configure VRF-lite Configure VRF-lite  Each VLANs is associated with a VRF instance Configuring a complex inter-VRF solutionNetwork description VRF communication plan Configuration breakdown Configure VRF-lite Configure Vrfs Configure the hardware ACLs 192.168.43.0/24 via the shared VRF This example, three access groups are attached to portWithin the same IP subnet that the switch port is a member Configure Vlan Database Configure IP Addresses Configure VRF-lite Configure Dynamic Routing Configure VRF-lite 56 Configure VRF-lite Configure Static Routing Complete show run output from VRF device is below Configure VRF-lite 60 Configure VRF-lite Configure VRF-lite IP route table from VRF device is below VRF blue Hostname Internetrouter Hostname sharedrouter N1 Ospf Nssa Hostname redospfpeerHostname greeniBGPpeer Hostname bluerippeer Hostname orangerouter Hostname orangeospfpeer VCStack and VRF-lite Other features used in this configurationStack provisioning GreyVirtual Chassis ID X610 VCStack configurationX900 configuration 74 Configure VRF-lite Communication plan Sharing VRF routing and double tagging on the same portGreen PortX610 B ConfigurationsX610 a Configure VRF-lite Additional notes BGP configuration tips 80 Configure VRF-lite VRF device Red router vlan database Red router Route Limits Configuring static route limits100 Configuring Dynamic route limitsAllowed number of fib routes excluding Connect and Static Syntax No max-fib-routesVRF-lite usage guidelines Routing general Useful VRF-related diagnostics command listGeneral Routing protocols IP prefix network, e.g TCPdump HW platform table commands