[j-nsp] bgp under routing instance.
ashish verma
ashish.scit at gmail.com
Wed Nov 30 21:25:10 EST 2011
I think thats for flow-base JUNOS version.
I am using 9.3R4 which is packet based.
On Thu, Dec 1, 2011 at 1:13 PM, Giuliano Medalha <giuliano at wztech.com.br>wrote:
> are you using J-Series as a router ?
>
> http://juniper.cluepon.net/Enabling_packet_based_forwarding
>
> On Thu, Dec 1, 2011 at 00:05, ashish verma <ashish.scit at gmail.com> wrote:
>
>> Hi All,
>>
>> I am having trouble turning up BGP under routing-instance. Could someone
>> please help?
>>
>> Here are the relevant configuration of lab setup. It is direct
>> connectivity
>> between a J-series and Cisco. Also it works fine if I move the BGP
>> configurations out of the routing instance.
>>
>> show routing-instances | display set
>> set routing-instances ri-beyondcorp instance-type virtual-router
>> set routing-instances ri-beyondcorp interface ge-0/0/0.113
>> set routing-instances ri-beyondcorp routing-options router-id
>> 120.29.219.78
>> set routing-instances ri-beyondcorp routing-options autonomous-system
>> 41264
>> set routing-instances ri-beyondcorp protocols bgp family inet unicast
>> set routing-instances ri-beyondcorp protocols bgp group test type external
>> set routing-instances ri-beyondcorp protocols bgp group test traceoptions
>> file bgp-trace
>> set routing-instances ri-beyondcorp protocols bgp group test traceoptions
>> flag all
>> set routing-instances ri-beyondcorp protocols bgp group test local-address
>> 120.29.219.78
>> set routing-instances ri-beyondcorp protocols bgp group test import
>> BEYONDCORP-IN
>> set routing-instances ri-beyondcorp protocols bgp group test family inet
>> unicast
>> set routing-instances ri-beyondcorp protocols bgp group test family inet
>> any
>> set routing-instances ri-beyondcorp protocols bgp group test export
>> BEYONDCORP-OUT
>> set routing-instances ri-beyondcorp protocols bgp group test peer-as 65003
>> set routing-instances ri-beyondcorp protocols bgp group test local-as
>> 41264
>> set routing-instances ri-beyondcorp protocols bgp group test neighbor
>> 120.29.219.77 description "internet-bc"
>>
>> set interfaces ge-0/0/0 per-unit-scheduler
>> set interfaces ge-0/0/0 vlan-tagging
>> set interfaces ge-0/0/0 unit 112 vlan-id 112
>> set interfaces ge-0/0/0 unit 112 family inet address 3.3.1.1/24
>> set interfaces ge-0/0/0 unit 112 family inet6 address 2002:4860:1:1::2/127
>> set interfaces ge-0/0/0 unit 113 vlan-id 113
>> set interfaces ge-0/0/0 unit 113 family inet address 120.29.219.78/30
>>
>> *BGP Trace logs*
>>
>>
>> Dec 1 02:16:12.200327 task_addr_local: task BGP_65003_41264.120.29.219.77
>> address 120.29.219.78
>> Dec 1 02:16:12.200373 task_connect: task
>> BGP_65003_41264.120.29.219.77+179
>> addr 120.29.219.77+179task_timer_reset: reset
>> BGP_65003_41264.120.29.219.77+179_Connect
>> Dec 1 02:16:12.200384 task_timer_set_oneshot_latest: timer
>> BGP_65003_41264.120.29.219.77+179_Connect interval set to 2:28
>> Dec 1 02:16:12.200392 task_timer_dispatch: returned from
>> BGP_65003_41264.120.29.219.77+179_Connect, rescheduled in 2:28
>> Dec 1 02:17:27.109123 task_process_events: connect ready for
>> BGP_65003_41264.120.29.219.77+179
>> Dec 1 02:17:27.109161 bgp_connect_complete: error connecting to
>> 120.29.219.77 (External AS 65003): Socket is not connected
>> Dec 1 02:17:27.109169 bgp_close_socket: peer 120.29.219.77 (External AS
>> 65003)
>> Dec 1 02:17:27.109177 task_close: close socket 24 task
>> BGP_65003_41264.120.29.219.77+179
>> Dec 1 02:17:27.109184 task_reset_socket: task
>> BGP_65003_41264.120.29.219.77+179 socket 24
>> Dec 1 02:17:27.109206 bgp_event: peer 120.29.219.77 (External AS 65003)
>> old state Connect event OpenFail new state Idle
>> Dec 1 02:17:27.109280 bgp_event: peer 120.29.219.77 (External AS 65003)
>> old state Idle event Start new state Active
>> Dec 1 02:18:03.038570 120.29.219.77 (External AS 65003): import eval flag
>> set (config change)
>> Dec 1 02:18:40.200382 task_timer_dispatch: calling
>> BGP_65003_41264.120.29.219.77_Connect, late by 0.000
>> Dec 1 02:18:40.200423 bgp_connect_timeout:
>> BGP_65003_41264.120.29.219.77_Connect
>> Dec 1 02:18:40.200432 bgp_connect_start: peer 120.29.219.77 (External AS
>> 65003)
>> Dec 1 02:18:40.200439 bgp_event: peer 120.29.219.77 (External AS 65003)
>> old state Active event ConnectRetry new state Connect
>> Dec 1 02:18:40.200525 task_get_socket: domain AF_INET type SOCK_STREAM
>> protocol 0 socket 28
>> Dec 1 02:18:40.200539 task_set_socket: task BGP_65003_41264.120.29.219.77
>> socket 28
>> Dec 1 02:18:40.200559 task_set_option_internal: task
>> BGP_65003_41264.120.29.219.77 socket 28 option NonBlocking(8) value 1
>> Dec 1 02:18:40.200569 task_set_option_internal: task
>> BGP_65003_41264.120.29.219.77 socket 28 option ReUseAddress(3) value 1
>> Dec 1 02:18:40.200619 task_set_option_internal: task
>> BGP_65003_41264.120.29.219.77 socket 28 option PathMTUDiscovery(26) value
>> 0
>> Dec 1 02:18:40.200630 task_set_option_internal: task
>> BGP_65003_41264.120.29.219.77 socket 28 option RoutingTable(27) value 4
>> Dec 1 02:18:40.200640 task_set_option_internal: task
>> BGP_65003_41264.120.29.219.77 socket 28 option TOS(16) value 192
>> Dec 1 02:18:40.200649 task_set_option_internal: task
>> BGP_65003_41264.120.29.219.77 socket 28 option DontRoute(5) value 1
>> Dec 1 02:18:40.200658 task_set_option_internal: task
>> BGP_65003_41264.120.29.219.77 socket 28 option IifRestrict(36) value 1
>> Dec 1 02:18:40.200666 task_set_option_internal: task
>> BGP_65003_41264.120.29.219.77 socket 28 option TTL(15) value 1
>> Dec 1 02:18:40.200685 task_addr_local: task BGP_65003_41264.120.29.219.77
>> address 120.29.219.78
>> Dec 1 02:18:40.200725 task_connect: task
>> BGP_65003_41264.120.29.219.77+179
>> addr 120.29.219.77+179task_timer_reset: reset
>> BGP_65003_41264.120.29.219.77+179_Connect
>> Dec 1 02:18:40.200736 task_timer_set_oneshot_latest: timer
>> BGP_65003_41264.120.29.219.77+179_Connect interval set to 2:28
>> Dec 1 02:18:40.200757 task_timer_dispatch: returned from
>> BGP_65003_41264.120.29.219.77+179_Connect, rescheduled in 2:28
>> _______________________________________________
>> juniper-nsp mailing list juniper-nsp at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/juniper-nsp
>>
>
>
More information about the juniper-nsp
mailing list