CANOGA PERKINS 9175 Configuration Guide User Manual
Page 165
CanogaOS Configuration Guide
25-10
DUT1(config-if)#ip address 3.3.3.2/24
DUT1(config-if)#exit
DUT1(config)#router rip
DUT1(config-router)#address-family ipv4 vrf vpn1
DUT1(config-router-af)#network 2.2.2.0/24
DUT1(config-router-af)#redistribute connected
DUT1(config-router-af)#exit-address-family
DUT1(config-router)#address-family ipv4 vrf vpn2
DUT1(config-router-af)#network 2.2.2.0/24
DUT1(config-router-af)#redistribute connected
DUT1(config-router-af)#exit-address-family
DUT1(config-router)#address-family ipv4 vrf vpn3
DUT1(config-router-af)#network 2.2.2.0/24
DUT1(config-router-af)#redistribute connected
DUT1(config-router-af)#exit-address-family
DUT1(config-router)#address-family ipv4 vrf
DUT1(config-router)#address-family ipv4 vrf vpn4
DUT1(config-router-af)#network 3.3.3.0/24
DUT1(config-router-af)#redistribute connected
DUT1(config-router-af)#exit-address-family
DUT1(config-router)#exit
DUT1(config)#interface eth-0-13
DUT1(config-if)#switchport mode trunk
DUT1(config-if)#switchport trunk allowed vlan add 2
DUT1(config-if)#switchport trunk allowed vlan add 3
DUT1(config-if)#no shutdown
DUT1(config-if)#exit
DUT1(config)#interface eth-0-20
DUT1(config-if)#switchport mode trunk
DUT1(config-if)#switchport trunk allowed vlan add 4
DUT1(config-if)#switchport trunk allowed vlan add 5
DUT1(config-if)#no shutdown
DUT1(config-if)#end
DUT1#
25.3.3 Display
Results
Switch A output
Check the route on Switch A
DUT1#show ip route vrf vpn1
Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
[*] - [AD/Metric]
* - candidate default
C 1.1.1.0/24 is directly connected, eth-0-1
C 2.2.2.0/24 is directly connected, vlan2
DUT1#show ip route vrf vpn2
Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
[*] - [AD/Metric]
* - candidate default
C 1.1.1.0/24 is directly connected, eth-0-2
C 2.2.2.0/24 is directly connected, vlan3
DUT1#show ip route