A:NOKIA-RJ# admin display-config

# TiMOS-B-12.0.R6 both/i386 ALCATEL SR 7750 Copyright (c) 2000-2014 Alcatel-Lucent.

# All rights reserved. All use subject to applicable license agreements.

# Built on Tue Sep 30 11:10:17 PDT 2014 by builder in /rel12.0/b1/R6/panos/main


# Generated TUE JUN 15 23:42:15 2021 UTC


exit all

configure

#--------------------------------------------------

echo "System Configuration"

#--------------------------------------------------

    system

        name "NOKIA-RJ"

        dns

        exit

        snmp

        exit

        time

            sntp

                shutdown

            exit

            zone UTC

        exit

        thresholds

            rmon

            exit

        exit

    exit

#--------------------------------------------------

echo "System Security Configuration"

#--------------------------------------------------

    system

        security

            no per-peer-queuing

            cpu-protection

                link-specific-rate max

                policy 254 create

                exit

                policy 255 create

                exit

                port-overall-rate 15000

            exit

        exit

    exit

#--------------------------------------------------

echo "Log Configuration"

#--------------------------------------------------

    log

    exit

#--------------------------------------------------

echo "System Security Cpm Hw Filters and PKI Configuration"

#--------------------------------------------------

    system

        security

        exit

    exit

#--------------------------------------------------

echo "QoS Policy Configuration"

#--------------------------------------------------

    qos

    exit

#--------------------------------------------------

echo "Card Configuration"

#--------------------------------------------------

    card 1

        card-type iom3-xp-b

        mda 1

            mda-type m5-1gb-sfp-b

            no shutdown

        exit

        no shutdown

    exit

#--------------------------------------------------

echo "Port Configuration"

#--------------------------------------------------

    port 1/1/1

        ethernet

            mode access

        exit

        no shutdown

    exit

    port 1/1/2

        ethernet

        exit

        no shutdown

    exit

    port 1/1/3

        ethernet

        exit

        no shutdown

    exit

    port 1/1/4

        ethernet

        exit

        no shutdown

    exit

    port 1/1/5

        ethernet

        exit

        no shutdown

    exit

#--------------------------------------------------

echo "System Sync-If-Timing Configuration"

#--------------------------------------------------

    system

        sync-if-timing

            begin

            commit

        exit

    exit

#--------------------------------------------------

echo "Management Router Configuration"

#--------------------------------------------------

    router management

    exit


#--------------------------------------------------

echo "Router (Network Side) Configuration"

#--------------------------------------------------

    router

        interface "TO-MPLS-CORE-01"

            address 10.0.0.6/30

            port 1/1/3

            no shutdown

        exit

        interface "TO-MPLS-CORE-02"

            address 10.0.0.14/30

            no shutdown

        exit

        interface "system"

            address 41.41.41.41/32

            no shutdown

        exit

        autonomous-system 1000

#--------------------------------------------------

echo "OSPFv2 Configuration"

#--------------------------------------------------

        ospf 41.41.41.41

        exit

#--------------------------------------------------

echo "OSPFv2 (Inst: 1) Configuration"

#--------------------------------------------------

        ospf 1 41.41.41.41

            area 0.0.0.0

                interface "system"

                    no shutdown

                exit

                interface "TO-MPLS-CORE-02"

                    no shutdown

                exit

                interface "TO-MPLS-CORE-01"

                    no shutdown

                exit

            exit

            no shutdown

        exit

#--------------------------------------------------

echo "LDP Configuration"

#--------------------------------------------------

        ldp

            interface-parameters

                interface "TO-MPLS-CORE-02"

                exit

                interface "TO-MPLS-CORE-01"

                exit

            exit

            targeted-session

            exit

            no shutdown

        exit

#--------------------------------------------------

echo "Web Portal Protocol Configuration"

#--------------------------------------------------

    exit


#--------------------------------------------------

echo "Service Configuration"

#--------------------------------------------------

    service

        customer 1 create

            description "Default customer"

            contact "lucas"

        exit

        vprn 1212 customer 1 create

            interface "CONCENTRADOR_MAGALU" create

            exit

        exit

        vprn 1212 customer 1 create

            autonomous-system 1000

            route-distinguisher 111:111

            vrf-target target:111:111

            interface "CONCENTRADOR_MAGALU" create

                address 192.168.0.9/30

                sap 1/1/1 create

                exit

            exit

            bgp

                group "CONCENTRADOR"

                    export "MP-BGP-TO-BGP"

                    neighbor 192.168.0.10

                        peer-as 65000

                    exit

                exit

                no shutdown

            exit

            no shutdown

        exit

    exit

#--------------------------------------------------

echo "Router (Service Side) Configuration"

#--------------------------------------------------

    router

#--------------------------------------------------

echo "OSPFv2 Configuration"

#--------------------------------------------------

        ospf 41.41.41.41

        exit

#--------------------------------------------------

echo "OSPFv2 (Inst: 1) Configuration"

#--------------------------------------------------

        ospf 1 41.41.41.41

            no shutdown

        exit

#--------------------------------------------------

echo "Policy Configuration"

#--------------------------------------------------

        policy-options

            begin

            policy-statement "MP-BGP-TO-BGP"

                entry 1

                    from

                        protocol bgp-vpn

                    exit

                    to

                        protocol bgp

                    exit

                    action accept

                    exit

                exit

                default-action reject

            exit

            commit

        exit

#--------------------------------------------------

echo "BGP Configuration"

#--------------------------------------------------

        bgp

            router-id 41.41.41.41

            group "PEERS"

                family vpn-ipv4

                neighbor 11.11.11.11

                    multihop 5

                    peer-as 7738

                exit

            exit

            no shutdown

        exit

    exit



exit all


# Finished TUE JUN 15 23:42:19 2021 UTC



A:NOKIA-RJ#    show router ldp session


==============================================================================

LDP Sessions

==============================================================================

Peer LDP Id        Adj Type   State         Msg Sent  Msg Recv  Up Time

------------------------------------------------------------------------------

2.2.2.2:0          Link       Established   648       597       0d 00:29:36

3.3.3.3:0          Link       Established   60        59        0d 00:03:25

------------------------------------------------------------------------------

No. of Sessions: 2





MPLS-CORE-01#sh run

Building configuration...


Current configuration : 966 bytes

!

! Last configuration change at 02:37:22 UTC Wed Jun 16 2021

!

version 15.2

service timestamps debug datetime msec

service timestamps log datetime msec

!

hostname MPLS-CORE-01

!

boot-start-marker

boot-end-marker

no aaa new-model

ip cef


!

no ipv6 cef

!

!

multilink bundle-name authenticated

!


interface Loopback1

 ip address 2.2.2.2 255.255.255.255

 ip ospf 1 area 0

!

interface FastEthernet0/0

 ip address 10.0.0.5 255.255.255.252

 ip ospf mtu-ignore

 ip ospf 1 area 0

 duplex full

!

interface FastEthernet1/0

 ip address 10.0.0.2 255.255.255.252

 ip ospf 1 area 0

 duplex full

!

interface FastEthernet2/0

 no ip address

 shutdown

 duplex full

!

router ospf 1

 router-id 2.2.2.2

 mpls ldp autoconfig

!

ip forward-protocol nd

!

!

no ip http server

no ip http secure-server

!

!

mpls ldp router-id Loopback1 force

!

!

control-plane

!

!

line con 0

 stopbits 1

line aux 0

 stopbits 1

line vty 0 4

 login

!

!

end


MPLS-CORE-01#



MPLS-CORE-01#sh ip ospf neighbor


Neighbor ID     Pri   State           Dead Time   Address         Interface

41.41.41.41       1   FULL/DR         00:00:34    10.0.0.6        FastEthernet0/0


MPLS-CORE-01#sh mpls ldp neighbor

    Peer LDP Ident: 41.41.41.41:0; Local LDP Ident 2.2.2.2:0

        TCP connection: 41.41.41.41.49940 - 2.2.2.2.646

        State: Oper; Msgs sent/rcvd: 121/115; Downstream

        Up time: 00:16:41

        LDP discovery sources:

          FastEthernet0/0, Src IP addr: 10.0.0.6

        Addresses bound to peer LDP Ident:

          10.0.0.6        41.41.41.41

MPLS-CORE-01#



MPLS-CORE-02#sh run

Building configuration...


Current configuration : 948 bytes

!

! Last configuration change at 02:30:28 UTC Wed Jun 16 2021

!

version 15.2

service timestamps debug datetime msec

service timestamps log datetime msec

!

hostname MPLS-CORE-02

!

boot-start-marker

boot-end-marker

!

!

!

no aaa new-model

ip cef

!

!

!

!

!


MPLS-CORE-02#sh ip int br

Interface              IP-Address      OK? Method Status                Protocol

FastEthernet0/0        10.0.0.13       YES manual up                    up

FastEthernet1/0        10.0.0.10       YES manual up                    up

FastEthernet2/0        unassigned      YES unset  administratively down down

Loopback1              3.3.3.3         YES manual up                    up

MPLS-CORE-02#


MPLS-CORE-02 con0 is now available

Press RETURN to get started.

MPLS-CORE-02#sh ip ospf neighbor


Neighbor ID     Pri   State           Dead Time   Address         Interface

41.41.41.41       1   EXSTART/BDR     00:00:38    10.0.0.14       FastEthernet0/                                               0

MPLS-CORE-02#

MPLS-CORE-02#

MPLS-CORE-02#sh ip ospf neighbor


Neighbor ID     Pri   State           Dead Time   Address         Interface

41.41.41.41       1   EXSTART/BDR     00:00:37    10.0.0.14       FastEthernet0/                                                                                                                                                                                                                                                                                           0

MPLS-CORE-02#

MPLS-CORE-02#

MPLS-CORE-02#sh run

Building configuration...


Current configuration : 948 bytes

!

! Last configuration change at 02:30:28 UTC Wed Jun 16 2021

!

version 15.2

service timestamps debug datetime msec

service timestamps log datetime msec

!

hostname MPLS-CORE-02

!

boot-start-marker

boot-end-marker

!

!

!

no aaa new-model

ip cef

!

!

!

!

!

!

no ipv6 cef

!

!

multilink bundle-name authenticated


interface Loopback1

 ip address 3.3.3.3 255.255.255.255

 ip ospf 1 area 0

!

interface FastEthernet0/0

 ip address 10.0.0.13 255.255.255.252

 ip ospf 1 area 0

 duplex full

!

interface FastEthernet1/0

 ip address 10.0.0.10 255.255.255.252

 ip ospf 1 area 0

 duplex full

!

interface FastEthernet2/0

 no ip address

 shutdown

 duplex full

!

router ospf 1

 router-id 3.3.3.3

 mpls ldp autoconfig

!

ip forward-protocol nd

!

!

no ip http server

no ip http secure-server

!

!

mpls ldp router-id Loopback1 force

!

!

control-plane

!

!

line con 0

 stopbits 1

line aux 0

 stopbits 1

line vty 0 4

 login

!

!

end