beautypg.com

CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 257

background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 257 of 350

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

Specify that a community