Upload
emil-cooper
View
214
Download
0
Embed Size (px)
Citation preview
Ge-0/1/1 Ge-0/1/1
GE-0/0/23
GE-0/0/7
10.10.11.0/29
10.10.10.0/29
lo0:4.4.4.44/32lo0:3.3.3.33/32
.3
.1
.3 .4
10.10.12.0/29
GE-0/0/7
lo0:2.2.2.22/32lo0:1.1.1.11/32
GE-0/0/23
.4
.2
MPLS/ldp/ibgp/isisDest: 1.1.1.11/32
NH: 10.10.10.1Dest: 2.2.2.22/32
NH: 10.10.10.1BBOM_VRF BBOM_VRF
PE1 PE2
CE1 CE2
• PE1# run show configuration | display set • set interfaces ge-0/0/7 media-type copper• set interfaces ge-0/0/7 encapsulation flexible-ethernet-services• set interfaces ge-0/0/7 unit 100 vlan-id 100• set interfaces ge-0/0/7 unit 100 family inet address 10.10.10.3/29
• set interfaces ge-0/1/1 unit 0 family inet address 10.10.11.3/29• set interfaces ge-0/1/1 unit 0 family iso• set interfaces ge-0/1/1 unit 0 family mpls• set interfaces lo0 unit 0 family inet address 3.3.3.33/32• set interfaces lo0 unit 0 family iso address 49.0001.0030.0300.3033.00
• set routing-options autonomous-system 65000• set routing-options forwarding-table export BBOM_select_LSP
• set protocols mpls static-label-switched-path PE1-PE2 transit 1001001 next-hop 10.10.11.4• set protocols mpls static-label-switched-path PE1-PE2 transit 1001001 pop
• set protocols mpls interface ge-0/1/1.0
• set protocols bgp group bgp_internal type internal• set protocols bgp group bgp_internal local-address 3.3.3.33• set protocols bgp group bgp_internal family inet unicast• set protocols bgp group bgp_internal family inet-vpn unicast• set protocols bgp group bgp_internal neighbor 4.4.4.44
• set protocols isis interface ge-0/1/1.0 ldp-synchronization• set protocols isis interface ge-0/1/1.0 point-to-point• set protocols isis interface ge-0/1/1.0 level 1 disable• set protocols isis interface lo0.0 passive
• set protocols ldp interface ge-0/1/1.0• set protocols ldp interface lo0.0
• set policy-options policy-statement BBOM_export term a from protocol static• set policy-options policy-statement BBOM_export term a from protocol direct• set policy-options policy-statement BBOM_export term a then community add BBOM_VRF• set policy-options policy-statement BBOM_export term a then accept• set policy-options policy-statement BBOM_export term b then reject
• set policy-options policy-statement BBOM_import term a from protocol bgp• set policy-options policy-statement BBOM_import term a from community BBOM_VRF• set policy-options policy-statement BBOM_import term a then accept• set policy-options policy-statement BBOM_import term b then reject
• set policy-options policy-statement BBOM_select_LSP term a from protocol bgp• set policy-options policy-statement BBOM_select_LSP term a from protocol static• set policy-options policy-statement BBOM_select_LSP term a from protocol direct• set policy-options policy-statement BBOM_select_LSP term a from community BBOM_VRF• set policy-options policy-statement BBOM_select_LSP term a then install-nexthop lsp PE1-PE2• set policy-options policy-statement BBOM_select_LSP term a then accept
• set policy-options community BBOM_VRF members target:65000:10
• set routing-instances BBOM_VRF instance-type vrf• set routing-instances BBOM_VRF interface ge-0/0/7.100• set routing-instances BBOM_VRF route-distinguisher 65000:10• set routing-instances BBOM_VRF vrf-import BBOM_import• set routing-instances BBOM_VRF vrf-export BBOM_export• set routing-instances BBOM_VRF vrf-table-label• set routing-instances BBOM_VRF routing-options static route 1.1.1.11/32 next-hop 10.10.10.1
• lab@TOP_ACX4000_LAB1# run show route
• inet.0: • 3.3.3.33/32 *[Direct/0] 4w5d 16:46:13• > via lo0.0• 4.4.4.44/32 *[IS-IS/18] 00:07:37, metric 10• > to 10.10.11.4 via ge-0/1/1.0• 10.10.11.0/29 *[Direct/0] 2w6d 22:50:22• > via ge-0/1/1.0• 10.10.11.3/32 *[Local/0] 2w6d 22:50:22• Local via ge-0/1/1.0
• inet.3: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)• + = Active Route, - = Last Active, * = Both
• 4.4.4.44/32 *[LDP/9] 00:07:47, metric 1• > to 10.10.11.4 via ge-0/1/1.0
• BBOM_VRF.inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)• + = Active Route, - = Last Active, * = Both
• 1.1.1.11/32 *[Static/5] 02:01:50• > to 10.10.10.1 via ge-0/0/7.100• 2.2.2.22/32 *[BGP/170] 00:07:12, localpref 100, from 4.4.4.44• AS path: I, validation-state: unverified• > to 10.10.11.4 via ge-0/1/1.0, Push 16• 10.10.10.0/29 *[Direct/0] 02:01:50• > via ge-0/0/7.100• 10.10.10.3/32 *[Local/0] 02:01:50• Local via ge-0/0/7.100• 10.10.12.0/29 *[BGP/170] 00:07:12, localpref 100, from 4.4.4.44• AS path: I, validation-state: unverified• > to 10.10.11.4 via ge-0/1/1.0, Push 16
• iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)• + = Active Route, - = Last Active, * = Both
• 49.0001.0030.0300.3033/72 • *[Direct/0] 4w5d 16:44:56• > via lo0.0
• mpls.0: 11 destinations, 11 routes (11 active, 0 holddown, 0 hidden)• + = Active Route, - = Last Active, * = Both
• 0 *[MPLS/0] 4w5d 16:43:04, metric 1• Receive• 1 *[MPLS/0] 4w5d 16:43:04, metric 1• Receive• 2 *[MPLS/0] 4w5d 16:43:04, metric 1• Receive• 13 *[MPLS/0] 4w5d 16:43:04, metric 1• Receive• 16 *[VPN/0] 02:01:51• to table BBOM_VRF.inet.0, Pop • 300032 *[LDP/9] 00:07:47, metric 1• > to 10.10.11.4 via ge-0/1/1.0, Pop • 300032(S=0) *[LDP/9] 00:07:47, metric 1• > to 10.10.11.4 via ge-0/1/1.0, Pop • 1001001 *[MPLS/6] 00:28:00, metric 1• > to 10.10.11.4 via ge-0/1/1.0, Pop • 1001001(S=0) *[MPLS/6] 00:28:00, metric 1• > to 10.10.11.4 via ge-0/1/1.0, Pop
• bgp.l3vpn.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)• + = Active Route, - = Last Active, * = Both
• 65000:10:2.2.2.22/32 • *[BGP/170] 00:07:12, localpref 100, from 4.4.4.44• AS path: I, validation-state: unverified• > to 10.10.11.4 via ge-0/1/1.0, Push 16• 65000:10:10.10.12.0/29 • *[BGP/170] 00:07:12, localpref 100, from 4.4.4.44• AS path: I, validation-state: unverified• > to 10.10.11.4 via ge-0/1/1.0, Push 16
CE1# run ping 2.2.2.2 PING 2.2.2.2 (2.2.2.2): 56 data bytes64 bytes from 2.2.2.2: icmp_seq=0 ttl=64 time=0.916 ms64 bytes from 2.2.2.2: icmp_seq=1 ttl=64 time=0.805 ms64 bytes from 2.2.2.2: icmp_seq=2 ttl=64 time=0.691 ms^C--- 2.2.2.2 ping statistics ---3 packets transmitted, 3 packets received, 0% packet lossround-trip min/avg/max/stddev = 0.691/0.804/0.916/0.092 ms
CE2# run ping 1.1.1.11 PING 1.1.1.11 (1.1.1.11): 56 data bytes64 bytes from 1.1.1.11: icmp_seq=0 ttl=62 time=1.662 ms64 bytes from 1.1.1.11: icmp_seq=1 ttl=62 time=1.634 ms^C--- 1.1.1.11 ping statistics ---2 packets transmitted, 2 packets received, 0% packet lossround-trip min/avg/max/stddev = 1.634/1.648/1.662/0.014 ms
Ping Successful….but I think this is follow the ldp signaled lsp….because when I deactivate ldp…ping was unsuccessful…..
But I want to follow the mentioned static lsp path PE1-PE2