CANOGA PERKINS 9175 Configuration Guide User Manual
Page 176
CanogaOS Configuration Guide
27-5
DUT#configure terminal
Enter the Configure mode.
DUT(config)#interface eth-0-9
Specify the interface (eth-0-9)to be configured and enter the
Interface mode.
DUT (config-if)#no shutdown
Enable the interface.
DUT(config-if) # no switchport
Configure on physical port only, change this port to Layer3
interface.
DUT(config-if)#ip vrf forwarding 100
Bind this interface to vrf 100
DUT(config-if) # ip address 5.5.5.5/24
Configure IP address to5.5.5.5/24.
DUT(config-if)#exit Exit
the Interface mode and enter the Configure mode.
DUT(config)#ip route vrf 100 9.9.9.0/24 5.5.5.3
Add a static route 9.9.9.0/24 with nexthop 5.5.5.3 in vrf vpn1
DUT(config)#mpls enable-all-interfaces
Enable mpls on all interfaces
DUT(config)#mpls ilm-entry pop 400
Add a static ilm entry
DUT(config)#mpls ftn-entry 10.10.10.10/32 300
1.1.1.3
Add a static ftn entry
DUT(config)#router bgp 1
Creat bgp 1 and enter the router mode
DUT(config-router)#bgp router-id 11.11.11.11
Configure the bgp router-id
DUT(config-router)#neighbor 10.10.10.10
remote-as 1
Configure the ibgp neighbor with as 1
DUT(config-router)#neighbor 10.10.10.10
update-source loopback 0
Configure the loopback 0 to be the update-source interface
DUT(config-router)# address-family vpnv4
unicast
Enter vpnv4 address family
DUT(config-router-af)# neighbor 10.10.10.10
activate
Activate the neighbor 10.10.10.10 in the vpnv4 address-family
DUT(config-router-af)#neighbor 10.10.10.10
send-community both
Configure the neighbor to send-community both
DUT(config-router-af)# exit-address-family
Exit the vpnv4 address-family and enter the router mode
DUT(config-router)#address-family ipv4 vrf 100
Enter the vrf address-family
DUT(config-router-af)#redistribute static
Redistribute the static route into bgp vrf address-family