Белая книга для Cisco Cisco Nexus 5010 Switch
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information.
Page 72 of 75
rd auto
address-family ipv4 unicast
route-target both auto
route-target both auto evpn
vrf context VRF-B
vni 50002
ip route 0.0.0.0/0 10.10.232.2
## static default route to attract all egress traffic out
of the VRF-B. Next-hop is Firewall.
rd auto
address-family ipv4 unicast
route-target both auto
route-target both auto evpn
vrf context VRF-EXT
vni 50010
ip route 10.10.101.0/24 10.10.235.5
## static route to VLAN101 subnet in VRF-A. Next-hop
is Firewall.
ip route 10.11.121.0/24 10.10.235.5
## static route to VLAN1121 subnet in VRF-B. Next-hop
is Firewall.
ip route 10.10.201.0/24 10.10.235.5
## static route to VLAN201 subnet in VRF-B. Next-hop
is Firewall.
ip route 10.10.202.0/24 10.10.235.5
## static route to VLAN202 subnet in VRF-B. Next-hop
is Firewall.
rd auto
address-family ipv4 unicast
route-target both auto
route-target both auto evpn
interface Bdi1500
vrf member VRF-A
ip address 10.10.231.1/24 tag 12345
fabric forwarding mode anycast-gateway
## enabling anycast-gateway mode
interface Bdi1501
vrf member VRF-B
ip address 10.10.232.1/24 tag 12345
fabric forwarding mode anycast-gateway
## enabling anycast-gateway mode
interface Bdi1501
vrf member VRF-EXT
ip address 10.10.235.1/24 tag 12345
fabric forwarding mode anycast-gateway
## enabling anycast-gateway mode
interface nve1
## VTEP configuration
host-reachability protocol bgp
member vni 30201
suppress-arp
mcast-group 239.1.1.211
member vni 30202