CANOGA PERKINS CanogaOS Configuration Guide User Manual
Page 202
CanogaOS Configuration Guide
Proprietary & Confidential Canoga Perkins Metro Ethernet Switches
Page 202 of 350
DUT1(config-if)#ip vrf forwarding vpn1
DUT1(config-if)#ip address 2.2.2.1/24
DUT1(config-if)#exit
DUT1(config)#interface vlan3
DUT1(config-if)#ip vrf forwarding vpn2
DUT1(config-if)#ip address 2.2.2.1/24
DUT1(config-if)#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)#interface eth-0-1
DUT1(config-if)#no switchport
DUT1(config-if)#no shutdown
DUT1(config-if)#ip vrf forwarding vpn1
DUT1(config-if)#ip address 1.1.1.1/24
DUT1(config-if)#exit
DUT1(config)#interface eth-0-2
DUT1(config-if)#no switchport
DUT1(config-if)#no shutdown
DUT1(config-if)#ip vrf forwarding vpn2
DUT1(config-if)#ip address 1.1.1.1/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