Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual
Page 661
been removed
R1(config-vif-30)#ip add 192.168.3.1/30
R1(config-vif-30)#ip ospf area 0
R1(config-vif-30)#exit
R1(config)#interface ve 31
R1(config-vif-31)#vrf forwarding corporate
Warning: All IPv4 and IPv6 addresses (including link-local) on this interface have
been removed
R1(config-vif-31)#ip address 172.16.3.1/30
R1(config-vif-31)#ip ospf area 0
R1(config-vif-31)#exit
R1(config)#interface ve 40
R1(config-vif-40)#vrf forwarding guest
Warning: All IPv4 and IPv6 addresses (including link-local) on this interface have
been removed
R1(config-vif-40)#ip address 192.168.4.1/30
R1(config-vif-40)#ip ospf area 0
R1(config-vif-40)#exit
R1(config)#interface ve 41
R1(config-vif-41)#vrf forwarding corporate
Warning: All IPv4 and IPv6 addresses (including link-local) on this interface have
been removed
R1(config-vif-41)#ip address 172.16.4.1/30
R1(config-vif-41)#ip ospf area 0
R1(config-vif-41)#exit
R1(config)#
Repeat in the same manner for R2 (ve 20/21, ve 30/31, and ve 50/51) and R3 (ve 40/41, ve 50/51, and
ve 60/61).
Show IP OSPF neighbor and show ip route output for each VRF
The following is a sample of the ip ospf neighbor and show ip route output for each of the configured
VRFs.
R1#show ip ospf vrf corporate neighbor
Number of Neighbors is 1, in FULL state 1
Port Address Pri State Neigh Address Neigh ID Ev Opt Cnt
v31 172.16.3.1 1 FULL/BDR 172.16.3.2 2.2.2.1 6 2 0
v41 172.16.4.1 1 FULL/BDR 172.16.4.2 3.3.3.1 6 2 0
R1#show ip ospf vrf guest neighbor
Number of Neighbors is 1, in FULL state 1
Port Address Pri State Neigh Address Neigh ID Ev Opt Cnt
v30 192.168.3.1 1 FULL/BDR 192.168.3.2 2.2.2.2 6 2 0
v40 192.168.4.1 1 FULL/BDR 192.168.4.2 3.3.3.2 6 2 0
R1#show ip route vrf corporate
Total number of IP routes: 7
Type Codes - B:BGP D:Connected O:OSPF R:RIP S:Static; Cost - Dist/Metric
BGP Codes - i:iBGP e:eBGP
OSPF Codes - i:Inter Area 1:External Type 1 2:External Type 2
Destination Gateway Port Cost Type Uptime
1 0.0.0.0/0 172.16.4.2 ve 41 110/10 O2 5m3s
2 172.16.1.0/24 DIRECT ve 11 0/0 D 5m3s
3 172.16.2.0/24 172.16.3.2 ve 31 110/2 O 5m3s
4 172.16.3.0/30 DIRECT ve 31 0/0 D 5m3s
5 172.16.4.0/30 DIRECT ve 41 0/0 D 5m3s
6 172.16.5.0/30 172.16.3.2 ve 31 110/2 O 5m3s
172.16.5.0/30 172.16.4.2 ve 41 110/2 O 5m3s
7 172.16.6.0/30 172.16.4.2 ve 41 110/2 O 5m3s
R1#
R1#show ip route vrf guest
Total number of IP routes: 7
Type Codes - B:BGP D:Connected O:OSPF R:RIP S:Static; Cost - Dist/Metric
BGP Codes - i:iBGP e:eBGP
OSPF Codes - i:Inter Area 1:External Type 1 2:External Type 2
Destination Gateway Port Cost Type Uptime
1 0.0.0.0/0 192.168.4.2 ve 40 110/10 O2 5m3s
2 192.168.1.0/24 DIRECT ve 10 0/0 D 5m3s
3 192.168.2.0/24 192.168.3.2 ve 30 110/2 O 5m3s
4 192.168.3.0/30 DIRECT ve 30 0/0 D 5m3s
5 192.168.4.0/30 DIRECT ve 40 0/0 D 5m3s
6 192.168.5.0/30 192.168.3.2 ve 30 110/2 O 5m3s
Show IP OSPF neighbor and show ip route output for each VRF
FastIron Ethernet Switch Layer 3 Routing Configuration Guide
661
53-1003087-04