22.05.2017 Views

nx.os.and.cisco.nexus.switching.2nd.edition.1587143046

Nexus Switching 2nd Edition

Nexus Switching 2nd Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

for any subsequent show or EXEC comm<strong>and</strong>s. Example 12-5 shows how to leverage the<br />

routing-context comm<strong>and</strong> to simplify operations.<br />

Example 12-5. Using the vrf Keyword <strong>and</strong> Routing-Context Scope for EXEC <strong>and</strong> show<br />

Comm<strong>and</strong>s<br />

Click here to view code image<br />

N7k-1# ping 10.100.5.20 vrf management<br />

N7k-1# show ip arp 10.100.5.20 vrf management<br />

N7k-1# show routing vrf management<br />

N7k-1# routing-context vrf management<br />

N7k-1%management# ping 10.100.5.20<br />

N7k-1%management# sh ip arp 10.100.5.20<br />

N7k-1%management# show routing<br />

VRF-Lite<br />

VRF-Lite provides a simple <strong>and</strong> scalable method for virtualizing routing in many<br />

environments. However, VRF-Lite does not require MPLS. VRF-Lite is one of the m<strong>os</strong>t<br />

common deployments of VRF technology in m<strong>os</strong>t enterprise networks today. VRF-Lite is<br />

typically found on MPLS CE routers, in environments in which multitenancy <strong>and</strong> routing<br />

isolation are required, or in environments requiring support for overlapping IP ranges.<br />

Following is a listing of steps to configure basic elements of VRF-Lite:<br />

1. Create a new VRF context.<br />

2. [Optional] Configure Route Targets for Import/Export Functionality.<br />

3. Configure any necessary static routing inside of the VRF context as part of the<br />

appropriate address-family.<br />

4. Assign interfaces to the newly created VRF.<br />

5. Configure Interior Gateway Protocol (IGP) for the newly created VRF.<br />

6. [Optional] If configuring Route Import/Export, configure MP-BGP.<br />

To configure Multi-VRF, create a VRF table <strong>and</strong> then specify the Layer 3 interface<br />

associated with that VRF. You can also optionally configure any static routing associated to<br />

the VRF. Example 12-6 describes these key configuration elements. Remember to assign the<br />

VRF first before any IP addresses to the interface. Next, you enable the newly created VRF<br />

inside of a routing protocol, as shown in Example 12-7 for OSPF, Example 12-8 for EIGRP,<br />

<strong>and</strong> Example 12-9 for IS-IS.<br />

Example 12-6. Basic VRF-Lite Configuration Example Using Two VRFs, vrfcustomer1<br />

<strong>and</strong> vrf-customer2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!