CANOGA PERKINS CanogaOS Configuration Guide User Manual
Page 256

CanogaOS Configuration Guide
Proprietary & Confidential Canoga Perkins Metro Ethernet Switches
Page 256 of 350
DUT1(config-if)# no switchport
Configure the port to layer
3 port.
DUT1(config-if)# enable-ldp
Configure Interface for
LDP
DUT1(config-if)# ip address 2.2.2.1/24
Create IP address on the
port.
DUT1(config-if)# exit
Exit the Interface mode.
DUT1(config)#interface loopback 0
Enter the Interface mode.
• loopback0—Specify the
loopback interface name.
DUT1(config-if)#ip address 10.10.10.10/32
Create loopback addresses
on both PE routers. Use a
/32 host route for the
loopback address.
DUT1(config-if)#exit
Exit the Interface mode.
DUT1(config)#ip vrf vpn1
Configure a VPN routing
and forwarding(VRF)
routing table
DUT1(config-vrf)#rd 1:100
Assign a route
distinguisher (RD) for the
VRF.
DUT1(config-vrf)#route-target both 1:100
Add a list of import and
export route-target
extended communities to
the VRF.
DUT1(config-vrf)#exit
Exit VPN routing and
forwarding(VRF) routing
table.
DUT1(config)# router ldp
Enter the router-ldp mode.
DUT1(config-router)# targeted-peer
11.11.11.11
Configure Targeted Peer in
LDP.
DUT1(config-router)# transport-address
10.10.10.10
Configure Transport
Address in LDP.
DUT1(config-router)# exit
Exit the router-ldp mode.
DUT1(config)#interface eth-0-1
Enter the Interface mode.
• eth-0-1—Specify the