beautypg.com

CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 203

background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 203 of 350

DUT1(config-router-af)#exit-address-family
DUT1(config-router)#end

(1) Configure Switch A
DUT1>en
DUT1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
DUT1(config)#vlan database
DUT1(config-vlan)#vlan 4
DUT1(config-vlan)#vlan 5
DUT1(config-vlan)#exit
DUT1(config)#ip vrf vpn3
DUT1(config-vrf)#exit
DUT1(config)#ip vrf vpn4
DUT1(config-vrf)#exit
DUT1(config)#interface vlan4
DUT1(config-if)#ip vrf forwarding vpn3
DUT1(config-if)#ip address 2.2.2.1/24
DUT1(config-if)#exit
DUT1(config)#interface vlan5
DUT1(config-if)#ip vrf forwarding vpn4
DUT1(config-if)#ip address 3.3.3.1/24
DUT1(config-if)#exit
DUT1(config)#interface eth-0-1
DUT1(config-if)#no switchport
DUT1(config-if)#no shutdown
DUT1(config-if)#ip vrf forwarding vpn3
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