Layer 3 Routing Commands
1472
Examples
Route Leaking Example 1
The following shows the configuration for VRF red-1 configured in VLAN 10.
A static global route for the 172.16.0.0 with a next hop of 172.16.0.2 is
injected into VRF red-1.
configure
vlan 10
exit
ip vrf red-1
ip routing
exit
ip routing
ip route vrf red-1 172.16.0.0 255.240.0.0 172.16.0.2
interface vlan 1
ip address 172.16.0.1 255.240.0.0
exit
interface vlan 10
ip vrf forwarding red-1
ip address 192.168.0.1 255.255.255.0
ip ospf area 0
exit
router ospf vrf “red-1”
router-id 1.1.1.1
network 192.168.0.0 0.0.0.255 area 0
exit
!
interface Gi1/0/1
switchport mode trunk
switchport access vlan 10
exit
!
interface loopback 0
ip vrf forwarding red-1
ip address 1.1.1.1 255.255.255.255
exit
Route Leaking Example 2
Subnetwork 9.0.0.0/24 is a directly connected subnetwork on VLAN 10 in the
default routing table.
Subnet 8.0.0.0/24 is a directly connected subnetwork in VLAN 30 in virtual
router Red.
Subnet 66.6.6.x is reachable via VLAN 30 in vrf Red.
Summary of Contents for N1100-ON
Page 2: ......
Page 4: ......
Page 258: ...Using the CLI 258 ...
Page 488: ...Layer 2 Switching Commands 488 Operational State Querier Operational version 1 ...
Page 656: ...Layer 2 Switching Commands 656 10 ...
Page 1128: ...Audio Visual Bridging Commands 1128 ...
Page 1186: ...Data Center Technology Commands 1186 ...
Page 1435: ...Layer 3 Routing Commands 1435 Number of Joins 7 Number of Groups 1 ...
Page 2330: ......
Page 2331: ...www dell com support dell com Printed in the U S A ...
Page 2332: ......