CANOGA PERKINS 9175 Configuration Guide User Manual

Page 202

Advertising
background image

CanogaOS Configuration Guide

30-9

Command Description

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 interface

DUT1(config-if)#no switchport

Configure the port to layer 3 port.

DUT1(config-if)#ip vrf forwarding vpn1

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

DUT1(config-if)#ip address 1.1.1.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 10.10.10.10/32

Associate networks with the RIP process.

DUT1(config-router)# network 2.2.2.0/24

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 10.10.10.10

Configure the router identifier.

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

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

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

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

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

Enter the VPNv4 address-family command mode.

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

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

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

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

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

Exit the address family mode.

DUT1(config-router)#address-family ipv4

Enter the IPv4 address-family command mode.

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

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

Advertising