beautypg.com

CANOGA PERKINS 9175 Configuration Guide User Manual

Page 205

background image

CanogaOS Configuration Guide

30-12

Command Description

DUT1(config-router)# transport-address 11.11.11.11

Configure Transport Address in LDP.

DUT1(config-router)#exit

Exit the router-ldp mode.

DUT1(config)#ip vrf vpn2

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)#interface eth-0-1

Enter the Interface mode.

• eth-0-1—Specify the interface

DUT1(config-if)# no switchport

Configure the port to layer 3 port.

DUT1(config-if)#ip vrf forwarding vpn2

Associate a VPN routing and
forwarding(VRF)instance with an Layer3 interface.

DUT1(config-if)#ip address 5.5.5.1/24

Create IP address on the port.

DUT1(config-if)#exit

Exit the Interface mode.

DUT1(config)#router rip

Enter the router-rip mode

DUT1(config-router)#network 4.4.4.0/24

Associate networks with the RIP process.

DUT1(config-router)#network 11.11.11.11/32

Associate networks with the RIP process.

DUT1(config-router)#exit

Exit the router-rip mode.

DUT1(config)#mpls enable-all-interfaces Enable

label-switching on all interfaces.

DUT1(config)# router bgp 1

Configure a BGP routing process.

DUT1(config-router)# bgp router-id 11.11.11.11

Configure the router identifier.

DUT1(config-router)# neighbor 10.10.10.10
remote-as 1

Configure an internal or external BGP (iBGP or
eBGP) TCP session with another router.

DUT1(config-router)# neighbor 10.10.10.10
update-source loopback0

Allow internal BGP sessions to use any operational
interface for TCP connections.

DUT1(config-router)# address-family ipv4

Enter the IPv4 address-family command mode.

DUT1(config-router-af)# neighbor 10.10.10.10
activate

Enable the exchange of the specified AF routes with
a neighboring router.

DUT1(config-router-af)# neighbor 10.10.10.10
send-community both

Specify that a community attribute should be sent to
a BGP neighbor.

DUT1(config-router-af)# redistribute connected

Redistribute connected routes in the VRF.

DUT1(config-router-af)# redistribute static

Redistribute static routes in the VRF.

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

Exit the address family mode.

DUT1(config-router)# address-family vpnv4 unicast

Enter the vpnv4 address-family command mode.

DUT1(config-router-af)# neighbor 10.10.10.10

Enable the exchange of the specified AF routes with