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.

Click here to view code image<br />

N7k-1(config)# vrf context vrf-customer1<br />

N7k-1(config-vrf)# ip route 192.168.0.0/16 172.16.21.254<br />

N7k-1(config)# vrf context vrf-customer2<br />

N7k-1(config-vrf)# ip route 10.100.0.0/16 172.16.10.254<br />

N7k-1(config)# interface Ethernet18/48<br />

N7k-1(config-if)# vrf member vrf-customer1<br />

N7k-1(config)# interface Ethernet18/1<br />

N7k-1(config-if)# vrf member vrf-customer2<br />

Example 12-7. Basic OSPF VRF Configuration<br />

Click here to view code image<br />

N7k-1(config)# feature <strong>os</strong>pf<br />

N7k-1(config)# router <strong>os</strong>pf 20<br />

N7k-1(config-router)# router-id 192.168.100.254<br />

N7k-1(config-router)# vrf vrf-customer1<br />

N7k-1(config-router-vrf)# router-id 192.168.200.254<br />

Example 12-8. Basic EIGRP VRF Configuration<br />

Click here to view code image<br />

N7k-1(config)# feature eigrp<br />

N7k-1(config)# router eigrp 1<br />

N7k-1(config-router)# router-id 192.168.100.1<br />

N7k-1(config-router)# vrf vrf-customer2<br />

N7k-1(config-router-vrf)# router-id 192.168.200.1<br />

N7k-1(config-router-vrf)# autonomous-system 200<br />

Example 12-9. Basic IS-IS VRF Configuration<br />

Click here to view code image

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

Saved successfully!

Ooh no, something went wrong!