การคอนฟิก MC-LAG Multihome active/active ที่ใช้ร่วมกับ L2VPN EVPN-ELAN, OSPF-SR TI-LFA และ Fail-Over Test บนอุปกรณ์ ZTE
ในแล๊ปนี้จะแสดงการคอนฟิกและผลลัพธ์ทีละสเต็ป ส่วนทฤษฎีผมแนะนำให้แยกอ่านแต่ละหัวข้อเองในอินเตอร์เน็ตเพราะผมเองก็รู้พอที่จะทำแล๊บให้สำเร็จได้ ผมจะแสดงตัวอย่างฝั่งเดียวคือ PE1, PE2, Switch_HQ, Client_HQ นะครับ ถ้าแสดงทั้งหมดกลัวจะยาวเกินไป ส่วนคอนฟิกและผลลัพธ์ทั้งหมด ผมแนบไว้ในอ้างอิงโหลดดูได้เลย
ขั้นตอนการคอนฟิก
- คอนฟิก IP, OSPF-SR, TI-LFA
- คอนฟิก MP-BGP address-family evpn
- คอนฟิก Targeted-LDP สำหรับ MC-LAG ICCP
- คอนฟิก MC-LAG บน PE และ LACP บน Switch
- คอนฟิก EVPN-ELAN บน PE และ Allow vlan 100 บน Switch
- คอนฟิก IP บน Client HQ/Brance, ping test และเช็ค MAC บนทุกอุปกรณ์
Fail-Over Test
- Link PE1 - SW_HQ down
- Link PE2 - SW_HQ down
- PE1 down
- PE2 down
อ้างอิง
คอนฟิก IP, OSPF-SR, TI-LFA
PE1 Config
hostname PE1
interface loopback0
ip address 10.10.10.1 255.255.255.255
$
interface xxvgei-1/1/0/1
description To_PE3
ip address 192.168.13.1 255.255.255.0
$
interface xxvgei-1/1/0/2
description To_PE2
ip address 192.168.12.1 255.255.255.0
$
segment-routing
ipv4-mpls prefix-sid 10.10.10.1/32 index 10001 node-flag
$
router ospf 1
router-id 10.10.10.1
area 0.0.0.0
mpls traffic-eng
interface loopback0
passive
$
interface xxvgei-1/1/0/1
network point-to-point
$
interface xxvgei-1/1/0/2
network point-to-point
$
$
ti-lfa capability enable
ti-lfa protection-type node-protecting
fast-reroute ti-lfa priority 1
microloop-prevention segment-routing mpls enable
segment-routing mpls enable
$
PE2 Config
hostname PE2
interface xxvgei-1/1/0/1
description To_PE4
ip address 192.168.24.2 255.255.255.0
$
interface xxvgei-1/1/0/2
description To_PE1
ip address 192.168.12.2 255.255.255.0
$
interface loopback0
ip address 10.10.10.2 255.255.255.255
$
segment-routing
ipv4-mpls prefix-sid 10.10.10.2/32 index 10002 node-flag
$
router ospf 1
router-id 10.10.10.2
area 0.0.0.0
mpls traffic-eng
interface loopback0
passive
$
interface xxvgei-1/1/0/1
network point-to-point
$
interface xxvgei-1/1/0/2
network point-to-point
$
$
ti-lfa capability enable
ti-lfa protection-type node-protecting
fast-reroute ti-lfa priority 1
microloop-prevention segment-routing mpls enable
segment-routing mpls enable
$
PE1 verify
PE1#show ip ospf neighbor
Codes: *: Multi-Area Interface
OSPF Router with ID (10.10.10.1) (Process ID 1)
Neighbor ID Pri State DeadTime Address Interface
10.10.10.2 1 FULL/-- 00:00:32 192.168.12.2 xxvgei-1/1/0/2
10.10.10.3 1 FULL/-- 00:00:34 192.168.13.3 xxvgei-1/1/0/1
PE1#show ip forwarding route
Routes: 10 Route-paths: 11
IPv4 Routing Table:
Headers: Dest: Destination, Gw: Gateway, Pri: Priority;
Codes : BROADC: Broadcast, USER-I: User-ipaddr, USER-S: User-special,
MULTIC: Multicast, USER-N: User-network, DHCP-D: DHCP-DFT,
ASBR-V: ASBR-VPN, STAT-V: Static-VRF, DHCP-S: DHCP-static,
GW-FWD: PS-BUSI, NAT64: Stateless-NAT64, LDP-A: LDP-area,
GW-UE: PS-USER, P-VRF: Per-VRF-label, TE: RSVP-TE, NAT-M : NAT-mask
BP: BRAS-pool, HAGP: Hybrid-access-gateway-protocol;
Status codes: *valid, >best, R: Relay;
Dest Gw Interface Owner Pri Metric
*> 10.10.10.1/32 10.10.10.1 loopback0 Address 0 0
*> 10.10.10.2/32 192.168.12.2 xxvgei-1/1/0/2 OSPF 110 1
*> 10.10.10.3/32 192.168.13.3 xxvgei-1/1/0/1 OSPF 110 1
*> 10.10.10.4/32 192.168.12.2 xxvgei-1/1/0/2 OSPF 110 2
*> 192.168.12.0/24 192.168.12.1 xxvgei-1/1/0/2 Direct 0 0
*> 192.168.12.1/32 192.168.12.1 xxvgei-1/1/0/2 Address 0 0
*> 192.168.13.0/24 192.168.13.1 xxvgei-1/1/0/1 Direct 0 0
*> 192.168.13.1/32 192.168.13.1 xxvgei-1/1/0/1 Address 0 0
*> 192.168.24.0/24 192.168.12.2 xxvgei-1/1/0/2 OSPF 110 2
*> 192.168.34.0/24 192.168.13.3 xxvgei-1/1/0/1 OSPF 110 2
PE1#show segment-routing ipv4-mpls prefix-sid remote
Codes: N = Node-flag; E = Explicit-null; I = Implicit-null; NH = Next-hop;
Marks: * = valid; > = best; I = ISIS; O = OSPF;
*>O 10.10.10.2/32 SID:10002 SID-Flag:N
Via:192.168.12.2 Router-ID:10.10.10.2
NH-SID:10002 NH-SID-Flag:N
*>O 10.10.10.3/32 SID:10003 SID-Flag:N
Via:192.168.13.3 Router-ID:10.10.10.3
NH-SID:10003 NH-SID-Flag:N
*>O 10.10.10.4/32 SID:10004 SID-Flag:N
Via:192.168.12.2 Router-ID:10.10.10.2
NH-SID:10004 NH-SID-Flag:N
*O 10.10.10.4/32 SID:10004 SID-Flag:N
Via:10.10.10.3 Router-ID:10.10.10.3
NH-SID:10004 NH-SID-Flag:N
PE2 verify
PE2#show ip ospf neighbor
Codes: *: Multi-Area Interface
OSPF Router with ID (10.10.10.2) (Process ID 1)
Neighbor ID Pri State DeadTime Address Interface
10.10.10.1 1 FULL/-- 00:00:36 192.168.12.1 xxvgei-1/1/0/2
10.10.10.4 1 FULL/-- 00:00:40 192.168.24.4 xxvgei-1/1/0/1
PE2#show ip forwarding route
Routes: 10 Route-paths: 11
IPv4 Routing Table:
Headers: Dest: Destination, Gw: Gateway, Pri: Priority;
Codes : BROADC: Broadcast, USER-I: User-ipaddr, USER-S: User-special,
MULTIC: Multicast, USER-N: User-network, DHCP-D: DHCP-DFT,
ASBR-V: ASBR-VPN, STAT-V: Static-VRF, DHCP-S: DHCP-static,
GW-FWD: PS-BUSI, NAT64: Stateless-NAT64, LDP-A: LDP-area,
GW-UE: PS-USER, P-VRF: Per-VRF-label, TE: RSVP-TE, NAT-M : NAT-mask
BP: BRAS-pool, HAGP: Hybrid-access-gateway-protocol;
Status codes: *valid, >best, R: Relay;
Dest Gw Interface Owner Pri Metric
*> 10.10.10.1/32 192.168.12.1 xxvgei-1/1/0/2 OSPF 110 1
*> 10.10.10.2/32 10.10.10.2 loopback0 Address 0 0
*> 10.10.10.3/32 192.168.12.1 xxvgei-1/1/0/2 OSPF 110 2
*> 10.10.10.4/32 192.168.24.4 xxvgei-1/1/0/1 OSPF 110 1
*> 192.168.12.0/24 192.168.12.2 xxvgei-1/1/0/2 Direct 0 0
*> 192.168.12.2/32 192.168.12.2 xxvgei-1/1/0/2 Address 0 0
*> 192.168.13.0/24 192.168.12.1 xxvgei-1/1/0/2 OSPF 110 2
*> 192.168.24.0/24 192.168.24.2 xxvgei-1/1/0/1 Direct 0 0
*> 192.168.24.2/32 192.168.24.2 xxvgei-1/1/0/1 Address 0 0
*> 192.168.34.0/24 192.168.24.4 xxvgei-1/1/0/1 OSPF 110 2
PE2#show segment-routing ipv4-mpls prefix-sid remote
Codes: N = Node-flag; E = Explicit-null; I = Implicit-null; NH = Next-hop;
Marks: * = valid; > = best; I = ISIS; O = OSPF;
*>O 10.10.10.1/32 SID:10001 SID-Flag:N
Via:192.168.12.1 Router-ID:10.10.10.1
NH-SID:10001 NH-SID-Flag:N
*>O 10.10.10.3/32 SID:10003 SID-Flag:N
Via:192.168.12.1 Router-ID:10.10.10.1
NH-SID:10003 NH-SID-Flag:N
*O 10.10.10.3/32 SID:10003 SID-Flag:N
Via:10.10.10.4 Router-ID:10.10.10.4
NH-SID:10003 NH-SID-Flag:N
*>O 10.10.10.4/32 SID:10004 SID-Flag:N
Via:192.168.24.4 Router-ID:10.10.10.4
NH-SID:10004 NH-SID-Flag:N
คอนฟิก MP-BGP address-family evpn
PE1 config
router bgp 65000
bgp router-id 10.10.10.1
neighbor 10.10.10.2 remote-as 65000
neighbor 10.10.10.2 activate disable
neighbor 10.10.10.2 update-source loopback0
neighbor 10.10.10.3 remote-as 65000
neighbor 10.10.10.3 activate disable
neighbor 10.10.10.3 update-source loopback0
neighbor 10.10.10.4 remote-as 65000
neighbor 10.10.10.4 activate disable
neighbor 10.10.10.4 update-source loopback0
address-family l2vpn evpn
neighbor 10.10.10.2 activate
neighbor 10.10.10.3 activate
neighbor 10.10.10.4 activate
$
$
PE2 config
router bgp 65000
bgp router-id 10.10.10.2
neighbor 10.10.10.1 remote-as 65000
neighbor 10.10.10.1 activate disable
neighbor 10.10.10.1 update-source loopback0
neighbor 10.10.10.3 remote-as 65000
neighbor 10.10.10.3 activate disable
neighbor 10.10.10.3 update-source loopback0
neighbor 10.10.10.4 remote-as 65000
neighbor 10.10.10.4 activate disable
neighbor 10.10.10.4 update-source loopback0
address-family l2vpn evpn
neighbor 10.10.10.1 activate
neighbor 10.10.10.3 activate
neighbor 10.10.10.4 activate
$
$
PE1 verify
PE1#show bgp l2vpn evpn summary
BGP router ID : 10.10.10.1
Local AS : 65000
All peers : 3
Established : 3
All prefixes : 13
Neighbor Ver As MsgRcvd MsgSend Up/Down State/PfxRcd
10.10.10.2 4 65000 11 11 00:04:48 4
10.10.10.3 4 65000 11 10 00:04:39 4
10.10.10.4 4 65000 12 9 00:04:44 5
PE2 verify
PE2#show bgp l2vpn evpn summary
BGP router ID : 10.10.10.2
Local AS : 65000
All peers : 3
Established : 3
All prefixes : 14
Neighbor Ver As MsgRcvd MsgSend Up/Down State/PfxRcd
10.10.10.1 4 65000 16 6 00:06:00 5
10.10.10.3 4 65000 12 6 00:05:43 4
10.10.10.4 4 65000 13 6 00:05:29 5
คอนฟิก Targeted-LDP สำหรับ MC-LAG ICCP
PE1 config
mpls ldp instance 1
router-id loopback0
target-session 10.10.10.2
$
PE2 config
mpls ldp instance 1
router-id loopback0
target-session 10.10.10.1
$
PE1 verify
PE1#show mpls ldp neighbor brief instance 1 | one-line
Codes: D:Direct, T:Targeted, D&T:Direct&Targeted
Total number of neigbors:2
Operational:2 (D:0,T:2,D&T:0) (IPv4:2,IPv6:0,IPv4&IPv6:0)
Not operational:0 (D:0,T:0,D&T:0) (IPv4:0,IPv6:0,IPv4&IPv6:0)
Peer-LDP-ID State Up-time Discovery GR Address IPv4/IPv6 Local-LDP-ID Type
Label
10.10.10.2:0 Oper 00:05:51 1 N 1 8/0 10.10.10.1:0 T
10.10.10.2:65535 Oper 00:05:51 1 N 0 0/0 10.10.10.1:65535 T
PE2 verify
PE2#show mpls ldp neighbor brief instance 1 | one-line
Codes: D:Direct, T:Targeted, D&T:Direct&Targeted
Total number of neigbors:2
Operational:2 (D:0,T:2,D&T:0) (IPv4:2,IPv6:0,IPv4&IPv6:0)
Not operational:0 (D:0,T:0,D&T:0) (IPv4:0,IPv6:0,IPv4&IPv6:0)
Peer-LDP-ID State Up-time Discovery GR Address IPv4/IPv6 Local-LDP-ID Type
Label
10.10.10.1:0 Oper 00:07:04 1 N 1 8/0 10.10.10.2:0 T
10.10.10.1:65535 Oper 00:07:04 1 N 0 0/0 10.10.10.2:65535 T
คอนฟิก MC-LAG บน PE และ LACP บน Switch
PE1 config
interface smartgroup1
description To_SW_HQ
$
lacp
interface smartgroup1
lacp mode 802.3ad
mc-lag iccp 1
mc-lag mode force-master
mc-lag priority 200
mc-lag roid 1 node-id 1
mc-lag sys-id 0000.1111.2222 sys-priority 1
$
interface xxvgei-1/1/0/3
smartgroup 1 mode active
$
$
redundancy interchassis group 1
apply mc-port
apply mc-pw
apply mlacp
hostname PE1
peer 10.10.10.2
$
icbg smg1
bind interface smartgroup1
bind rg 1
$
PE2 config
interface smartgroup1
description To_SW_HQ
$
lacp
interface smartgroup1
lacp mode 802.3ad
mc-lag iccp 1
mc-lag mode force-master
mc-lag priority 200
mc-lag roid 1 node-id 2
mc-lag sys-id 0000.1111.2222 sys-priority 1
$
interface xxvgei-1/1/0/4
smartgroup 1 mode active
$
$
redundancy interchassis group 1
apply mc-port
apply mc-pw
apply mlacp
hostname PE2
peer 10.10.10.1
$
icbg smg1
bind interface smartgroup1
bind rg 1
$
SW_HQ config
interface xxvgei-1/1/0/3
description To_PE3
$
interface xxvgei-1/1/0/4
description To_PE4
$
interface smartgroup1
description To_PE
$
switchvlan-configuration
interface xxvgei-1/1/0/3
switchport mode trunk
$
interface xxvgei-1/1/0/4
switchport mode trunk
$
interface smartgroup1
switchport mode trunk
$
$
lacp
interface smartgroup1
lacp mode 802.3ad
$
interface xxvgei-1/1/0/3
smartgroup 1 mode active
$
interface xxvgei-1/1/0/4
smartgroup 1 mode active
$
$
PE1 verify
PE1#show lacp mc-lag
Smartgroup id: 1
Mc-lag iccp id: 1
Mc-lag IPv4 source:
Mc-lag IPv4 destination:
Mc-lag IPv6 source:
Mc-lag IPv6 destination:
Mc-lag VRF name:
Mc-lag priority: 200
Mc-lag sys-priority: 1
Mc-lag sys-mac: 0000.1111.2222
Mc-lag restore mode: MCLAG_IMMEDIATELY_MODE
Mc-lag restore delay time: 0
Mc-lag mode: Force-master
Mc-lag work-mode: Force-master
Mc-lag roid: 1
Mc-lag node-id: 1
Mc-lag state: LOAD-SHARING
Mc-lag actor smartgroup state: UP
Mc-lag partner smartgroup state: UP
Mc-lag error down: NO
PE1#show lacp internal
Smartgroup:1
Flags: * - Port is Active member Port
S - Port is requested in Slow LACPDUs
F - Port is requested in Fast LACPDUs
A - Port is in Active mode
P - Port is in Passive mode
Actor Agg LACPDUs Port Oper Port RX Mux
Port[Flags] State Interval Pri Key State Machine Machine
--------------------------------------------------------------------------------
xxvgei-1/1/0/3[SA*] ACTIVE 30 32768 0x101 0x3d CURRENT COLL&DIST
PE2 verify
PE2#show lacp mc-lag
Smartgroup id: 1
Mc-lag iccp id: 1
Mc-lag IPv4 source:
Mc-lag IPv4 destination:
Mc-lag IPv6 source:
Mc-lag IPv6 destination:
Mc-lag VRF name:
Mc-lag priority: 200
Mc-lag sys-priority: 1
Mc-lag sys-mac: 0000.1111.2222
Mc-lag restore mode: MCLAG_IMMEDIATELY_MODE
Mc-lag restore delay time: 0
Mc-lag mode: Force-master
Mc-lag work-mode: Force-master
Mc-lag roid: 1
Mc-lag node-id: 2
Mc-lag state: LOAD-SHARING
Mc-lag actor smartgroup state: UP
Mc-lag partner smartgroup state: UP
Mc-lag error down: NO
PE2#show lacp internal
Smartgroup:1
Flags: * - Port is Active member Port
S - Port is requested in Slow LACPDUs
F - Port is requested in Fast LACPDUs
A - Port is in Active mode
P - Port is in Passive mode
Actor Agg LACPDUs Port Oper Port RX Mux
Port[Flags] State Interval Pri Key State Machine Machine
--------------------------------------------------------------------------------
xxvgei-1/1/0/4[SA*] ACTIVE 30 32768 0x101 0x3d CURRENT COLL&DIST
SW_HQ verify
SW_HQ#show lacp internal
Smartgroup:1
Flags: * - Port is Active member Port
S - Port is requested in Slow LACPDUs
F - Port is requested in Fast LACPDUs
A - Port is in Active mode
P - Port is in Passive mode
Actor Agg LACPDUs Port Oper Port RX Mux
Port[Flags] State Interval Pri Key State Machine Machine
--------------------------------------------------------------------------------
xxvgei-1/1/0/3[SA*] ACTIVE 30 32768 0x101 0x3d CURRENT COLL&DIST
xxvgei-1/1/0/4[SA*] ACTIVE 30 32768 0x101 0x3d CURRENT COLL&DIST
คอนฟิก EVPN-ELAN บน PE และ Allow vlan 100 บน Switch
PE1 config
interface smartgroup1.100
description vpls_cotton
$
vlan-configuration
interface smartgroup1.100
encapsulation-dot1q 100
$
$
mpls l2vpn enable
vpls cotton evpn
rd 100:1
auto-discovery mpls-evpn
route-target import 100:1
route-target export 100:1
$
access-point smartgroup1.100
access-params ethernet
$
$
$
ethernet-segments
es-instance 1
es-id static octets aa.11.11.22.22.00.00.00.00
interface smartgroup1.100
rd 10:1
redundancy-mode all-active
route-target import 10:1
route-target export 10:1
$
$
PE2 config
interface smartgroup1.100
description vpls_cotton
$
vlan-configuration
interface smartgroup1.100
encapsulation-dot1q 100
$
$
mpls l2vpn enable
vpls cotton evpn
rd 100:1
auto-discovery mpls-evpn
route-target import 100:1
route-target export 100:1
$
access-point smartgroup1.100
access-params ethernet
$
$
$
ethernet-segments
es-instance 1
es-id static octets aa.11.11.22.22.00.00.00.00
interface smartgroup1.100
rd 10:1
route-target import 10:1
route-target export 10:1
$
$
SW_HQ config
switchvlan-configuration
interface xxvgei-1/1/0/5
switchport access vlan 100
$
interface smartgroup1
switchport mode trunk
switchport trunk vlan 100
$
vlan 100
$
$
PE1 verify
PE1#show l2vpn instance-name cotton
Name:cotton Type:VPLS
PW count:0 AC count:1 Kompella PW count:0
MPLS EVPN label:53505
Activation Status:ENABLE
Default VCID:-
Default Cword:DISABLE
Default Encapsulation:-
Description:
VPN ID:1
RD:100:1
Attachment Circuit(AC):
InterfaceName Client/Server
smartgroup1.100 Server
Description:
Admin Status: UP Prot Status: UP
Vlan Encapsulation DOT1Q:
Vlan id: 100
PE2 verify
PE2#show l2vpn instance-name cotton
Name:cotton Type:VPLS
PW count:0 AC count:1 Kompella PW count:0
MPLS EVPN label:27785
Activation Status:ENABLE
Default VCID:-
Default Cword:DISABLE
Default Encapsulation:-
Description:
VPN ID:1
RD:100:1
Attachment Circuit(AC):
InterfaceName Client/Server
smartgroup1.100 Server
Description:
Admin Status: UP Prot Status: UP
Vlan Encapsulation DOT1Q:
Vlan id: 100
SW_HQ verify
SW_HQ#show vlan id 100
VLAN Name PvidPorts UntagPorts TagPorts
--------------------------------------------------------------------------------
100 vlan0100 xxvgei-1/1/0/5 smartgroup1
xxvgei-1/1/0/3-4
คอนฟิก IP บน Client HQ/Brance, ping test และเช็ค MAC บนทุกอุปกรณ์
Client_HQ config
interface xxvgei-1/1/0/5
description To_SW_HQ_xxvgei-1/1/0/5
ip address 192.168.0.1 255.255.255.0
$
Client_Brance config
interface xxvgei-1/1/0/5
description To_SW_Brance_xxvgei-1/1/0/5
ip address 192.168.0.2 255.255.255.0
$
Client_HQ verify
Client_HQ#ping 192.168.0.2
sending 5,100-byte ICMP echo(es) to 192.168.0.2,timeout is 2 second(s).
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max= 58/69/87 ms.
[finish]
Client_HQ#Client_HQ#show interface xxvgei-1/1/0/5
xxvgei-1/1/0/5 is up, ifindex: 8196
Description: To_SW_HQ_xxvgei-1/1/0/5
Line protocol is up, IPv4 protocol is up, IPv6 protocol is down,
Hardware is XXVGigabit Ethernet, address is 0016.3e64.2d01
Internet address is 192.168.0.1/24
Client_Brance verify
Client_Brance#ping 192.168.0.1
sending 5,100-byte ICMP echo(es) to 192.168.0.1,timeout is 2 second(s).
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max= 69/93/101 ms.
[finish]
Client_Brance#show interface xxvgei-1/1/0/5
xxvgei-1/1/0/5 is up, ifindex: 8196
Description: To_SW_Brance_xxvgei-1/1/0/5
Line protocol is up, IPv4 protocol is up, IPv6 protocol is down,
Hardware is XXVGigabit Ethernet, address is 0016.3e64.2a01
Internet address is 192.168.0.2/24
SW_HQ verify
SW_HQ#show mac table
Total MAC address : 2
Flags: Src--Source filter, Dst--Destination filter, *--Switch to peerlink,
From:0,driver;1,config;2,VPN;3,802.1X;4,micro;5,DHCP;
6,PBT;7,EVB;8,OTV;9,TRILL;10,ESADI;11,MC-LAG,
Time--Day:Hour:Min:Sec
MAC VLAN Outgoing Information Attribute From Time
-------------- ---- ---------------------------- -------------- ---- -----------
0016.3e64.2a01 100 smartgroup1 Dynamic 0 00:00:08:39
0016.3e64.2d01 100 xxvgei-1/1/0/5 Dynamic 0 00:00:10:03
SW_Brance verify
SW_Brance#show mac table
Total MAC address : 2
Flags: Src--Source filter, Dst--Destination filter, *--Switch to peerlink,
From:0,driver;1,config;2,VPN;3,802.1X;4,micro;5,DHCP;
6,PBT;7,EVB;8,OTV;9,TRILL;10,ESADI;11,MC-LAG,
Time--Day:Hour:Min:Sec
MAC VLAN Outgoing Information Attribute From Time
-------------- ---- ---------------------------- -------------- ---- -----------
0016.3e64.2d01 100 smartgroup1 Dynamic 0 00:00:08:11
0016.3e64.2a01 100 xxvgei-1/1/0/5 Dynamic 0 00:00:09:54
PE1 verify
PE1#show bgp l2vpn evpn mac
Status codes: * valid, > best, i - internal, s - stale, d - duplication
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf RtPrf Path
Route Distinguisher:100:1
*>i [2][0][48][0016.3e64.2a01][0]
10.10.10.4 100 200 ?
*> [2][0][48][0016.3e64.2d01][0]
0.0.0.0 0 ?
PE1#show mac vpls instance cotton
Total MAC Entries: 2
Headers: Src--Source filter, Dst--Destination filter
Age--Day:Hour:Min:Sec
$vxlan_tunnel--Auto discovered VXLAN tunnel
VLAN--Different broadcast domains in VPN domain
E--Exter-VLAN ID I--Inter-VLAN ID
*--Switch to peerlink
BH--Black-Hole
MAC VLAN Outgoing Information Attribute Age
0016.3e64.2d01 0 smartgroup1.100 Dynamic 00:00:00:13
0016.3e64.2a01 0 ESI:0:bb3333444400000000 Dynamic 00:00:03:17
PE2 verify
PE2#show bgp l2vpn evpn mac
Status codes: * valid, > best, i - internal, s - stale, d - duplication
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf RtPrf Path
Route Distinguisher:100:1
*>i [2][0][48][0016.3e64.2a01][0]
10.10.10.4 100 200 ?
*>i [2][0][48][0016.3e64.2d01][0]
10.10.10.1 100 200 ?
PE2#show mac vpls instance cotton
Total MAC Entries: 2
Headers: Src--Source filter, Dst--Destination filter
Age--Day:Hour:Min:Sec
$vxlan_tunnel--Auto discovered VXLAN tunnel
VLAN--Different broadcast domains in VPN domain
E--Exter-VLAN ID I--Inter-VLAN ID
*--Switch to peerlink
BH--Black-Hole
MAC VLAN Outgoing Information Attribute Age
0016.3e64.2d01 0 ESI:0:aa1111222200000000 Dynamic 00:00:00:39
0016.3e64.2a01 0 ESI:0:bb3333444400000000 Dynamic 00:00:13:59
PE3 verify
PE3#show bgp l2vpn evpn mac
Status codes: * valid, > best, i - internal, s - stale, d - duplication
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf RtPrf Path
Route Distinguisher:100:1
*>i [2][0][48][0016.3e64.2a01][0]
10.10.10.4 100 200 ?
*>i [2][0][48][0016.3e64.2d01][0]
10.10.10.1 100 200 ?
PE3#show mac vpls instance cotton
Total MAC Entries: 2
Headers: Src--Source filter, Dst--Destination filter
Age--Day:Hour:Min:Sec
$vxlan_tunnel--Auto discovered VXLAN tunnel
VLAN--Different broadcast domains in VPN domain
E--Exter-VLAN ID I--Inter-VLAN ID
*--Switch to peerlink
BH--Black-Hole
MAC VLAN Outgoing Information Attribute Age
0016.3e64.2d01 0 ESI:0:aa1111222200000000 Dynamic 00:00:01:16
0016.3e64.2a01 0 ESI:0:bb3333444400000000 Dynamic 00:00:04:21
PE4 verify
PE4#show bgp l2vpn evpn mac
Status codes: * valid, > best, i - internal, s - stale, d - duplication
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf RtPrf Path
Route Distinguisher:100:1
*> [2][0][48][0016.3e64.2a01][0]
0.0.0.0 0 ?
*>i [2][0][48][0016.3e64.2d01][0]
10.10.10.1 100 200 ?
PE4#show mac vpls instance cotton
Total MAC Entries: 2
Headers: Src--Source filter, Dst--Destination filter
Age--Day:Hour:Min:Sec
$vxlan_tunnel--Auto discovered VXLAN tunnel
VLAN--Different broadcast domains in VPN domain
E--Exter-VLAN ID I--Inter-VLAN ID
*--Switch to peerlink
BH--Black-Hole
MAC VLAN Outgoing Information Attribute Age
0016.3e64.2a01 0 smartgroup1.100 Dynamic 00:00:02:00
0016.3e64.2d01 0 ESI:0:aa1111222200000000 Dynamic 00:00:02:03
จบ สำหรับคอนฟิกและปิงเทส
Fail-Over Test
1. Link PE1 - SW_HQ down
Client_HQ Ping test
Client_HQ#ping 192.168.0.2
sending 5,100-byte ICMP echo(es) to 192.168.0.2,timeout is 2 second(s).
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max= 77/97/131 ms.
[finish]
Client_HQ#show interface xxvgei-1/1/0/5 | include address
Hardware is XXVGigabit Ethernet, address is 0016.3e64.2e01
Internet address is 192.168.0.1/24
Client_Brance Ping test
Client_Brance#ping 192.168.0.1
sending 5,100-byte ICMP echo(es) to 192.168.0.1,timeout is 2 second(s).
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max= 68/91/101 ms.
[finish]
Client_Brance#show interface xxvgei-1/1/0/5 | include address
Hardware is XXVGigabit Ethernet, address is 0016.3e64.2f01
Internet address is 192.168.0.2/24
SW_HQ check interface, lacp and mac table
SW_HQ#show interface brief include smartgroup1|1/1/0/3|1/1/0/4
Interface Portattribute Mode BW(Mbps) Admin Phy Prot Description
xxvgei-1/1/0/3 optical Duplex/full 25000 down down down To_PE1
xxvgei-1/1/0/4 optical Duplex/full 25000 up up up To_PE2
smartgroup1 N/A N/A 25000 up up up To_PE
SW_HQ#show lacp 1 internal
Smartgroup:1
Actor Agg LACPDUs Port Oper Port RX Mux
Port[Flags] State Interval Pri Key State Machine Machine
--------------------------------------------------------------------------------
xxvgei-1/1/0/3[ A ] INACTIVE 30 32768 0x101 0x45 PORT_DISABLED DETACHED
xxvgei-1/1/0/4[SA*] ACTIVE 30 32768 0x101 0x3d CURRENT COLL&DIST
SW_HQ#show mac table
Total MAC address : 2
MAC VLAN Outgoing Information Attribute From Time
-------------- ---- ---------------------------- -------------- ---- -----------
0016.3e64.2e01 100 xxvgei-1/1/0/5 Dynamic 0 00:00:08:20
0016.3e64.2f01 100 smartgroup1 Dynamic 0 00:00:19:18
SW_Brance check lacp and mac table
SW_Brance#show lacp 1 internal
Smartgroup:1
Actor Agg LACPDUs Port Oper Port RX Mux
Port[Flags] State Interval Pri Key State Machine Machine
--------------------------------------------------------------------------------
xxvgei-1/1/0/3[SA*] ACTIVE 30 32768 0x101 0x3d CURRENT COLL&DIST
xxvgei-1/1/0/4[SA*] ACTIVE 30 32768 0x101 0x3d CURRENT COLL&DIST
SW_Brance#show mac table
Total MAC address : 2
MAC VLAN Outgoing Information Attribute From Time
-------------- ---- ---------------------------- -------------- ---- -----------
0016.3e64.2e01 100 smartgroup1 Dynamic 0 00:00:17:02
0016.3e64.2f01 100 xxvgei-1/1/0/5 Dynamic 0 00:00:00:51
PE1 check interface status, lacp and mac table
PE1#show interface brief include smartgroup1|xxvgei-1/1/0/3
Interface Portattribute Mode BW(Mbps) Admin Phy Prot Description
xxvgei-1/1/0/3 optical Duplex/full 25000 up down down To_SW-CE1_HQ1
smartgroup1 N/A N/A N/A up up down To_SW_HQ
PE1#show lacp 1 internal
Smartgroup:1
Actor Agg LACPDUs Port Oper Port RX Mux
Port[Flags] State Interval Pri Key State Machine Machine
--------------------------------------------------------------------------------
xxvgei-1/1/0/3[ A ] INACTIVE 30 32768 0x101 0x45 PORT_DISABLED DETACHED
PE1#show lacp mc-lag
Smartgroup id: 1
Mc-lag iccp id: 1
Mc-lag IPv4 source:
Mc-lag IPv4 destination:
Mc-lag IPv6 source:
Mc-lag IPv6 destination:
Mc-lag VRF name:
Mc-lag priority: 200
Mc-lag sys-priority: 1
Mc-lag sys-mac: 0000.1111.2222
Mc-lag restore mode: MCLAG_IMMEDIATELY_MODE
Mc-lag restore delay time: 0
Mc-lag mode: Force-master
Mc-lag work-mode: Force-master
Mc-lag roid: 1
Mc-lag node-id: 1
Mc-lag state: M/S
Mc-lag actor smartgroup state: DOWN
Mc-lag partner smartgroup state: UP
Mc-lag error down: NO
PE1#show bgp l2vpn evpn mac
Status codes: * valid, > best, i - internal, s - stale, d - duplication
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf RtPrf Path
Route Distinguisher:100:1
*>i [2][0][48][0016.3e64.2e01][0]
10.10.10.2 100 200 ?
*>i [2][0][48][0016.3e64.2f01][0]
10.10.10.4 100 200 ?
PE1#show l2vpn instance-name cotton
Name:cotton Type:VPLS
PW count:0 AC count:1 Kompella PW count:0
MPLS EVPN label:456825
Attachment Circuit(AC):
InterfaceName Client/Server
smartgroup1.100 Server
Description:
Admin Status: UP Prot Status: DOWN
Vlan Encapsulation DOT1Q:
Vlan id: 100
PE1#show mac vpls instance cotton
Total MAC Entries: 2
MAC VLAN Outgoing Information Attribute Age
0016.3e64.2f01 0 ESI:0:bb3333444400000000 Dynamic 00:00:00:22
0016.3e64.2e01 0 ESI:0:aa1111222200000000 Dynamic 00:00:00:49
PE2 check interface status, lacp and mac table
PE2#show interface brief include smartgroup1|xxvgei-1/1/0/4
Interface Portattribute Mode BW(Mbps) Admin Phy Prot Description
xxvgei-1/1/0/4 optical Duplex/full 25000 up up up To_SW-CE1_HQ1
smartgroup1 N/A N/A 25000 up up up To_SW_HQ
PE2#show lacp 1 internal
Smartgroup:1
Actor Agg LACPDUs Port Oper Port RX Mux
Port[Flags] State Interval Pri Key State Machine Machine
--------------------------------------------------------------------------------
xxvgei-1/1/0/4[SA*] ACTIVE 30 32768 0x101 0x3d CURRENT COLL&DIST
PE2#show lacp mc-lag
Smartgroup id: 1
Mc-lag iccp id: 1
Mc-lag IPv4 source:
Mc-lag IPv4 destination:
Mc-lag IPv6 source:
Mc-lag IPv6 destination:
Mc-lag VRF name:
Mc-lag priority: 200
Mc-lag sys-priority: 1
Mc-lag sys-mac: 0000.1111.2222
Mc-lag restore mode: MCLAG_IMMEDIATELY_MODE
Mc-lag restore delay time: 0
Mc-lag mode: Force-master
Mc-lag work-mode: Force-master
Mc-lag roid: 1
Mc-lag node-id: 2
Mc-lag state: M/S
Mc-lag actor smartgroup state: UP
Mc-lag partner smartgroup state: DOWN
Mc-lag error down: NO
PE2#show bgp l2vpn evpn mac
Status codes: * valid, > best, i - internal, s - stale, d - duplication
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf RtPrf Path
Route Distinguisher:100:1
*> [2][0][48][0016.3e64.2e01][0]
0.0.0.0 0 ?
*>i [2][0][48][0016.3e64.2f01][0]
10.10.10.4 100 200 ?
PE2#show l2vpn instance-name cotton
Name:cotton Type:VPLS
PW count:0 AC count:1 Kompella PW count:0
MPLS EVPN label:27784
Attachment Circuit(AC):
InterfaceName Client/Server
smartgroup1.100 Server
Description:
Admin Status: UP Prot Status: UP
Vlan Encapsulation DOT1Q:
Vlan id: 100
PE2#show mac vpls instance cotton
Total MAC Entries: 2
MAC VLAN Outgoing Information Attribute Age
0016.3e64.2f01 0 ESI:0:bb3333444400000000 Dynamic 00:00:01:10
0016.3e64.2e01 0 smartgroup1.100 Dynamic 00:00:01:37
PE3 check bgp mac-route and mac table
PE3#show bgp l2vpn evpn mac
Status codes: * valid, > best, i - internal, s - stale, d - duplication
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf RtPrf Path
Route Distinguisher:100:1
*>i [2][0][48][0016.3e64.2e01][0]
10.10.10.2 100 200 ?
*>i [2][0][48][0016.3e64.2f01][0]
10.10.10.4 100 200 ?
PE3#show mac vpls instance cotton
Total MAC Entries: 2
MAC VLAN Outgoing Information Attribute Age
0016.3e64.2f01 0 ESI:0:bb3333444400000000 Dynamic 00:00:01:36
0016.3e64.2e01 0 ESI:0:aa1111222200000000 Dynamic 00:00:02:03
PE4 check bgp mac-route and mac table
PE4#show bgp l2vpn evpn mac
Status codes: * valid, > best, i - internal, s - stale, d - duplication
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf RtPrf Path
Route Distinguisher:100:1
*>i [2][0][48][0016.3e64.2e01][0]
10.10.10.2 100 200 ?
*> [2][0][48][0016.3e64.2f01][0]
0.0.0.0 0 ?
PE4#show mac vpls instance cotton
Total MAC Entries: 2
MAC VLAN Outgoing Information Attribute Age
0016.3e64.2e01 0 ESI:0:aa1111222200000000 Dynamic 00:00:00:02
0016.3e64.2f01 0 smartgroup1.100 Dynamic 00:00:02:09
2. Link PE2 - SW_HQ down
Client_HQ Ping test
Client_HQ#ping 192.168.0.2
sending 5,100-byte ICMP echo(es) to 192.168.0.2,timeout is 2 second(s).
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max= 77/96/114 ms.
[finish]
Client_HQ#show interface xxvgei-1/1/0/5 | include address
Hardware is XXVGigabit Ethernet, address is 0016.3e64.2e01
Internet address is 192.168.0.1/24
Client_SW Ping test
Client_Brance#ping 192.168.0.1
sending 5,100-byte ICMP echo(es) to 192.168.0.1,timeout is 2 second(s).
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max= 71/83/100 ms.
[finish]
Client_Brance#show interface xxvgei-1/1/0/5 | include address
Hardware is XXVGigabit Ethernet, address is 0016.3e64.2f01
Internet address is 192.168.0.2/24
SW_HQ check lacp and mac table
SW_HQ#show interface brief include smartgroup1|1/1/0/3|1/1/0/4
Interface Portattribute Mode BW(Mbps) Admin Phy Prot Description
xxvgei-1/1/0/3 optical Duplex/full 25000 up up up To_PE1
xxvgei-1/1/0/4 optical Duplex/full 25000 down down down To_PE2
smartgroup1 N/A N/A 25000 up up up To_PE
SW_HQ#show lacp 1 internal
Smartgroup:1
Actor Agg LACPDUs Port Oper Port RX Mux
Port[Flags] State Interval Pri Key State Machine Machine
--------------------------------------------------------------------------------
xxvgei-1/1/0/3[SA*] ACTIVE 30 32768 0x101 0x3d CURRENT COLL&DIST
xxvgei-1/1/0/4[ A ] INACTIVE 30 32768 0x101 0x45 PORT_DISABLED DETACHED
SW_HQ#show mac table
Total MAC address : 2
MAC VLAN Outgoing Information Attribute From Time
-------------- ---- ---------------------------- -------------- ---- -----------
0016.3e64.2e01 100 xxvgei-1/1/0/5 Dynamic 0 00:00:14:28
0016.3e64.2f01 100 smartgroup1 Dynamic 0 00:00:25:26
SW_Brance check lacp and mac table
SW_Brance#show interface brief include smartgroup1|1/1/0/3|1/1/0/4
Interface Portattribute Mode BW(Mbps) Admin Phy Prot Description
xxvgei-1/1/0/3 optical Duplex/full 25000 up up up To_PE3
xxvgei-1/1/0/4 optical Duplex/full 25000 up up up To_PE4
smartgroup1 N/A N/A 50000 up up up
SW_Brance#show lacp 1 internal
Smartgroup:1
Actor Agg LACPDUs Port Oper Port RX Mux
Port[Flags] State Interval Pri Key State Machine Machine
--------------------------------------------------------------------------------
xxvgei-1/1/0/3[SA*] ACTIVE 30 32768 0x101 0x3d CURRENT COLL&DIST
xxvgei-1/1/0/4[SA*] ACTIVE 30 32768 0x101 0x3d CURRENT COLL&DIST
SW_Brance#show mac table
Total MAC address : 2
MAC VLAN Outgoing Information Attribute From Time
-------------- ---- ---------------------------- -------------- ---- -----------
0016.3e64.2e01 100 smartgroup1 Dynamic 0 00:00:23:23
0016.3e64.2f01 100 xxvgei-1/1/0/5 Dynamic 0 00:00:00:48
PE1 check interface status, lacp and mac table
PE1#show interface brief include smartgroup1|xxvgei-1/1/0/3
Interface Portattribute Mode BW(Mbps) Admin Phy Prot Description
xxvgei-1/1/0/3 optical Duplex/full 25000 up up up To_SW-CE1_HQ1
PE1#show lacp 1 internal
Smartgroup:1
Actor Agg LACPDUs Port Oper Port RX Mux
Port[Flags] State Interval Pri Key State Machine Machine
--------------------------------------------------------------------------------
xxvgei-1/1/0/3[SA*] ACTIVE 30 32768 0x101 0x3d CURRENT COLL&DIST
PE1#show lacp mc-lag
Smartgroup id: 1
Mc-lag iccp id: 1
Mc-lag IPv4 source:
Mc-lag IPv4 destination:
Mc-lag IPv6 source:
Mc-lag IPv6 destination:
Mc-lag VRF name:
Mc-lag priority: 200
Mc-lag sys-priority: 1
Mc-lag sys-mac: 0000.1111.2222
Mc-lag restore mode: MCLAG_IMMEDIATELY_MODE
Mc-lag restore delay time: 0
Mc-lag mode: Force-master
Mc-lag work-mode: Force-master
Mc-lag roid: 1
Mc-lag node-id: 1
Mc-lag state: M/S
Mc-lag actor smartgroup state: UP
Mc-lag partner smartgroup state: DOWN
Mc-lag error down: NO
PE1#show bgp l2vpn evpn mac
Status codes: * valid, > best, i - internal, s - stale, d - duplication
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf RtPrf Path
Route Distinguisher:100:1
*> [2][0][48][0016.3e64.2e01][0]
0.0.0.0 0 ?
*>i [2][0][48][0016.3e64.2f01][0]
10.10.10.4 100 200 ?
PE1#show l2vpn instance-name cotton
Name:cotton Type:VPLS
PW count:0 AC count:1 Kompella PW count:0
MPLS EVPN label:456825
Attachment Circuit(AC):
InterfaceName Client/Server
smartgroup1.100 Server
Description:
Admin Status: UP Prot Status: UP
Vlan Encapsulation DOT1Q:
Vlan id: 100
PE1#show mac vpls instance cotton
Total MAC Entries: 2
MAC VLAN Outgoing Information Attribute Age
0016.3e64.2f01 0 ESI:0:bb3333444400000000 Dynamic 00:00:01:36
0016.3e64.2e01 0 smartgroup1.100 Dynamic 00:00:00:45
PE2 check interface status, lacp and mac table
PE2#show interface brief include smartgroup1|xxvgei-1/1/0/4
Interface Portattribute Mode BW(Mbps) Admin Phy Prot Description
xxvgei-1/1/0/4 optical Duplex/full 25000 up down down To_SW-CE1_HQ1
smartgroup1 N/A N/A N/A up up down To_SW_HQ
PE2#show lacp 1 internal
Smartgroup:1
Actor Agg LACPDUs Port Oper Port RX Mux
Port[Flags] State Interval Pri Key State Machine Machine
--------------------------------------------------------------------------------
xxvgei-1/1/0/4[ A ] INACTIVE 30 32768 0x101 0x45 PORT_DISABLED DETACHED
PE2#show lacp mc-lag
Smartgroup id: 1
Mc-lag iccp id: 1
Mc-lag IPv4 source:
Mc-lag IPv4 destination:
Mc-lag IPv6 source:
Mc-lag IPv6 destination:
Mc-lag VRF name:
Mc-lag priority: 200
Mc-lag sys-priority: 1
Mc-lag sys-mac: 0000.1111.2222
Mc-lag restore mode: MCLAG_IMMEDIATELY_MODE
Mc-lag restore delay time: 0
Mc-lag mode: Force-master
Mc-lag work-mode: Force-master
Mc-lag roid: 1
Mc-lag node-id: 2
Mc-lag state: M/S
Mc-lag actor smartgroup state: DOWN
Mc-lag partner smartgroup state: UP
Mc-lag error down: NO
PE2#show bgp l2vpn evpn mac
Status codes: * valid, > best, i - internal, s - stale, d - duplication
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf RtPrf Path
Route Distinguisher:100:1
*>i [2][0][48][0016.3e64.2e01][0]
10.10.10.1 100 200 ?
*>i [2][0][48][0016.3e64.2f01][0]
10.10.10.4 100 200 ?
PE2#show l2vpn instance-name cotton
Name:cotton Type:VPLS
PW count:0 AC count:1 Kompella PW count:0
MPLS EVPN label:27784
Attachment Circuit(AC):
InterfaceName Client/Server
smartgroup1.100 Server
Description:
Admin Status: UP Prot Status: DOWN
Vlan Encapsulation DOT1Q:
Vlan id: 100
PE2#show mac vpls instance cotton
Total MAC Entries: 2
MAC VLAN Outgoing Information Attribute Age
0016.3e64.2f01 0 ESI:0:bb3333444400000000 Dynamic 00:00:02:14
0016.3e64.2e01 0 ESI:0:aa1111222200000000 Dynamic 00:00:01:23
PE3 check interface status, lacp and mac table
PE3#show bgp l2vpn evpn mac
Status codes: * valid, > best, i - internal, s - stale, d - duplication
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf RtPrf Path
Route Distinguisher:100:1
*>i [2][0][48][0016.3e64.2e01][0]
10.10.10.1 100 200 ?
*>i [2][0][48][0016.3e64.2f01][0]
10.10.10.4 100 200 ?
PE3#show mac vpls instance cotton
Total MAC Entries: 2
MAC VLAN Outgoing Information Attribute Age
0016.3e64.2f01 0 ESI:0:bb3333444400000000 Dynamic 00:00:00:15
0016.3e64.2e01 0 ESI:0:aa1111222200000000 Dynamic 00:00:01:57
PE4 lacp and mac table
PE4#show bgp l2vpn evpn mac
Status codes: * valid, > best, i - internal, s - stale, d - duplication
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf RtPrf Path
Route Distinguisher:100:1
*>i [2][0][48][0016.3e64.2e01][0]
10.10.10.1 100 200 ?
*> [2][0][48][0016.3e64.2f01][0]
0.0.0.0 0 ?
PE4#show mac vpls instance cotton
Total MAC Entries: 2
MAC VLAN Outgoing Information Attribute Age
0016.3e64.2f01 0 smartgroup1.100 Dynamic 00:00:00:44
0016.3e64.2e01 0 ESI:0:aa1111222200000000 Dynamic 00:00:02:26
3. PE1 down
Client_HQ Ping test
Client_HQ#ping 192.168.0.2
sending 5,100-byte ICMP echo(es) to 192.168.0.2,timeout is 2 second(s).
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max= 68/71/73 ms.
[finish]
Client_HQ#show interface xxvgei-1/1/0/5 | include address
Hardware is XXVGigabit Ethernet, address is 0016.3e64.2e01
Internet address is 192.168.0.1/24
Client_Brance Ping test
Client_Brance#ping 192.168.0.1
sending 5,100-byte ICMP echo(es) to 192.168.0.1,timeout is 2 second(s).
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max= 86/97/101 ms.
[finish]
Client_Brance#show interface xxvgei-1/1/0/5 | include address
Hardware is XXVGigabit Ethernet, address is 0016.3e64.2f01
Internet address is 192.168.0.2/24
SW_HQ check lacp and mac table
SW_HQ#show interface brief include smartgroup1|1/1/0/3|1/1/0/4
Interface Portattribute Mode BW(Mbps) Admin Phy Prot Description
xxvgei-1/1/0/3 optical Duplex/full 25000 up down down To_PE1
xxvgei-1/1/0/4 optical Duplex/full 25000 up up up To_PE2
smartgroup1 N/A N/A 25000 up up up To_PE
SW_HQ#show lacp 1 internal
Smartgroup:1
Actor Agg LACPDUs Port Oper Port RX Mux
Port[Flags] State Interval Pri Key State Machine Machine
--------------------------------------------------------------------------------
xxvgei-1/1/0/3[ A ] INACTIVE 30 32768 0x101 0x45 PORT_DISABLED DETACHED
xxvgei-1/1/0/4[SA*] ACTIVE 30 32768 0x101 0x3d CURRENT COLL&DIST
SW_HQ#show mac table
Total MAC address : 2
MAC VLAN Outgoing Information Attribute From Time
-------------- ---- ---------------------------- -------------- ---- -----------
0016.3e64.2e01 100 xxvgei-1/1/0/5 Dynamic 0 00:00:04:01
0016.3e64.2f01 100 smartgroup1 Dynamic 0 00:00:37:59
SW_Brance check lacp and mac table
SW_Brance#show lacp 1 internal
Smartgroup:1
Actor Agg LACPDUs Port Oper Port RX Mux
Port[Flags] State Interval Pri Key State Machine Machine
--------------------------------------------------------------------------------
xxvgei-1/1/0/3[SA*] ACTIVE 30 32768 0x101 0x3d CURRENT COLL&DIST
xxvgei-1/1/0/4[SA*] ACTIVE 30 32768 0x101 0x3d CURRENT COLL&DIST
SW_Brance#show mac table
Total MAC address : 2
MAC VLAN Outgoing Information Attribute From Time
-------------- ---- ---------------------------- -------------- ---- -----------
0016.3e64.2e01 100 smartgroup1 Dynamic 0 00:00:35:54
0016.3e64.2f01 100 xxvgei-1/1/0/5 Dynamic 0 00:00:01:47
PE1 status is DOWN
PE2 check interface status, lacp and mac table
PE2#terminal length 0
PE2#show interface brief
Interface Portattribute Mode BW(Mbps) Admin Phy Prot Description
xxvgei-1/1/0/1 optical Duplex/full 25000 up up up To_PE4
xxvgei-1/1/0/2 optical Duplex/full 25000 up down down To_PE1
xxvgei-1/1/0/3 optical Duplex/full 25000 up down down
xxvgei-1/1/0/4 optical Duplex/full 25000 up up up To_SW-CE1_HQ1
xxvgei-1/1/0/5 optical Duplex/full 25000 up down down
smartgroup1 N/A N/A 25000 up up up To_SW_HQ
PE2#show mpls ldp neighbor brief instance 1 | one-line
Codes: D:Direct, T:Targeted, D&T:Direct&Targeted
Total number of neigbors:0
Operational:0 (D:0,T:0,D&T:0) (IPv4:0,IPv6:0,IPv4&IPv6:0)
Not operational:0 (D:0,T:0,D&T:0) (IPv4:0,IPv6:0,IPv4&IPv6:0)
PE2#show ip ospf neighbor
Codes: *: Multi-Area Interface
OSPF Router with ID (10.10.10.2) (Process ID 1)
Neighbor ID Pri State DeadTime Address Interface
10.10.10.4 1 FULL/-- 00:00:38 192.168.24.4 xxvgei-1/1/0/1
PE2#show lacp 1 internal
Smartgroup:1
Actor Agg LACPDUs Port Oper Port RX Mux
Port[Flags] State Interval Pri Key State Machine Machine
--------------------------------------------------------------------------------
xxvgei-1/1/0/4[SA*] ACTIVE 30 32768 0x101 0x3d CURRENT COLL&DIST
PE2#show lacp mc-lag
Smartgroup id: 1
Mc-lag iccp id: 1
Mc-lag IPv4 source:
Mc-lag IPv4 destination:
Mc-lag IPv6 source:
Mc-lag IPv6 destination:
Mc-lag VRF name:
Mc-lag priority: 200
Mc-lag sys-priority: 1
Mc-lag sys-mac: 0000.1111.2222
Mc-lag restore mode: MCLAG_IMMEDIATELY_MODE
Mc-lag restore delay time: 0
Mc-lag mode: Force-master
Mc-lag work-mode: Force-master
Mc-lag roid: 1
Mc-lag node-id: 2
Mc-lag state: PEER-UNKNOWN
Mc-lag actor smartgroup state: UP
Mc-lag partner smartgroup state: UNKNOWN
Mc-lag error down: NO
PE2#show bgp l2vpn evpn summary
BGP router ID : 10.10.10.2
Local AS : 65000
All peers : 3
Established : 3
All prefixes : 13
Neighbor Ver As MsgRcvd MsgSend Up/Down State/PfxRcd
10.10.10.1 4 65000 52 72 00:00:03 Connect
10.10.10.3 4 65000 46 29 00:35:40 4
10.10.10.4 4 65000 69 29 00:35:38 5
PE2#show bgp l2vpn evpn mac
Status codes: * valid, > best, i - internal, s - stale, d - duplication
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf RtPrf Path
Route Distinguisher:100:1
*> [2][0][48][0016.3e64.2e01][0]
0.0.0.0 0 ?
*>i [2][0][48][0016.3e64.2f01][0]
10.10.10.4 100 200 ?
PE2#show l2vpn instance-name cotton
Name:cotton Type:VPLS
PW count:0 AC count:1 Kompella PW count:0
MPLS EVPN label:27784
Attachment Circuit(AC):
InterfaceName Client/Server
smartgroup1.100 Server
Description:
Admin Status: UP Prot Status: UP
Vlan Encapsulation DOT1Q:
Vlan id: 100
PE2#show mac vpls instance cotton
Total MAC Entries: 2
MAC VLAN Outgoing Information Attribute Age
0016.3e64.2f01 0 ESI:0:bb3333444400000000 Dynamic 00:00:01:56
0016.3e64.2e01 0 smartgroup1.100 Dynamic 00:00:02:23
PE3 check interface status, lacp and mac table
PE3#show bgp l2vpn evpn summary
BGP router ID : 10.10.10.3
Local AS : 65000
All peers : 3
Idle : 1
Established : 2
All prefixes : 10
Neighbor Ver As MsgRcvd MsgSend Up/Down State/PfxRcd
10.10.10.1 4 65000 55 47 00:00:01 Idle
10.10.10.2 4 65000 70 6 00:36:16 5
10.10.10.4 4 65000 69 6 00:35:34 5
PE3#show bgp l2vpn evpn mac
Status codes: * valid, > best, i - internal, s - stale, d - duplication
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf RtPrf Path
Route Distinguisher:100:1
*>i [2][0][48][0016.3e64.2e01][0]
10.10.10.2 100 200 ?
*>i [2][0][48][0016.3e64.2f01][0]
10.10.10.4 100 200 ?
PE3#show mac vpls instance cotton
Total MAC Entries: 2
MAC VLAN Outgoing Information Attribute Age
0016.3e64.2e01 0 ESI:0:aa1111222200000000 Dynamic 00:00:00:24
0016.3e64.2f01 0 ESI:0:bb3333444400000000 Dynamic 00:00:02:31
PE4 lacp and mac table
PE4#show bgp l2vpn evpn summary
BGP router ID : 10.10.10.4
Local AS : 65000
All peers : 3
Connect : 1
Established : 2
All prefixes : 9
Neighbor Ver As MsgRcvd MsgSend Up/Down State/PfxRcd
10.10.10.1 4 65000 52 72 00:00:03 Connect
10.10.10.2 4 65000 71 31 00:36:50 5
10.10.10.3 4 65000 45 32 00:36:10 4
PE4#show bgp l2vpn evpn mac
Status codes: * valid, > best, i - internal, s - stale, d - duplication
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf RtPrf Path
Route Distinguisher:100:1
*>i [2][0][48][0016.3e64.2e01][0]
10.10.10.2 100 200 ?
*> [2][0][48][0016.3e64.2f01][0]
0.0.0.0 0 ?
PE4#show mac vpls instance cotton
Total MAC Entries: 2
MAC VLAN Outgoing Information Attribute Age
0016.3e64.2f01 0 smartgroup1.100 Dynamic 00:00:00:35
0016.3e64.2e01 0 ESI:0:aa1111222200000000 Dynamic 00:00:01:02
4. PE2 down
Client_HQ#ping 192.168.0.2
sending 5,100-byte ICMP echo(es) to 192.168.0.2,timeout is 2 second(s).
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max= 72/84/110 ms.
[finish]
Client_HQ#show interface xxvgei-1/1/0/5 | include address
Hardware is XXVGigabit Ethernet, address is 0016.3e64.2e01
Internet address is 192.168.0.1/24
Client_Brance Ping test
Client_Brance#ping 192.168.0.1
sending 5,100-byte ICMP echo(es) to 192.168.0.1,timeout is 2 second(s).
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max= 99/99/100 ms.
[finish]
Client_Brance#show interface xxvgei-1/1/0/5 | include address
Hardware is XXVGigabit Ethernet, address is 0016.3e64.2f01
Internet address is 192.168.0.2/24
SW_HQ check lacp and mac table
SW_HQ#show interface brief include smartgroup1|1/1/0/3|1/1/0/4
Interface Portattribute Mode BW(Mbps) Admin Phy Prot Description
xxvgei-1/1/0/3 optical Duplex/full 25000 up up up To_PE1
xxvgei-1/1/0/4 optical Duplex/full 25000 up down down To_PE2
smartgroup1 N/A N/A 25000 up up up To_PE
SW_HQ#show lacp 1 internal
Smartgroup:1
Actor Agg LACPDUs Port Oper Port RX Mux
Port[Flags] State Interval Pri Key State Machine Machine
--------------------------------------------------------------------------------
xxvgei-1/1/0/3[SA*] ACTIVE 30 32768 0x101 0x3d CURRENT COLL&DIST
xxvgei-1/1/0/4[ A ] INACTIVE 30 32768 0x101 0x45 PORT_DISABLED DETACHED
SW_HQ#show mac table
Total MAC address : 2
MAC VLAN Outgoing Information Attribute From Time
-------------- ---- ---------------------------- -------------- ---- -----------
0016.3e64.2f01 100 smartgroup1 Dynamic 0 00:00:03:31
0016.3e64.2e01 100 xxvgei-1/1/0/5 Dynamic 0 00:00:14:13
SW_Brance check lacp and mac table
SW_Brance#show lacp 1 internal
Smartgroup:1
Actor Agg LACPDUs Port Oper Port RX Mux
Port[Flags] State Interval Pri Key State Machine Machine
--------------------------------------------------------------------------------
xxvgei-1/1/0/3[SA*] ACTIVE 30 32768 0x101 0x3d CURRENT COLL&DIST
xxvgei-1/1/0/4[SA*] ACTIVE 30 32768 0x101 0x3d CURRENT COLL&DIST
SW_Brance#show mac table
Total MAC address : 2
MAC VLAN Outgoing Information Attribute From Time
-------------- ---- ---------------------------- -------------- ---- -----------
0016.3e64.2e01 100 smartgroup1 Dynamic 0 00:00:45:27
0016.3e64.2f01 100 xxvgei-1/1/0/5 Dynamic 0 00:00:02:26
PE1 check interface status, lacp and mac table
PE1#show interface brief
Interface Portattribute Mode BW(Mbps) Admin Phy Prot Description
xxvgei-1/1/0/1 optical Duplex/full 25000 up up up To_PE3
xxvgei-1/1/0/2 optical Duplex/full 25000 up down down To_PE2
xxvgei-1/1/0/3 optical Duplex/full 25000 up up up To_SW-CE1_HQ1
xxvgei-1/1/0/4 optical Duplex/full 25000 up down down
xxvgei-1/1/0/5 optical Duplex/full 25000 up down down
smartgroup1 N/A N/A 25000 up up up To_SW_HQ
PE1#show mpls ldp neighbor brief instance 1 | one-line
Codes: D:Direct, T:Targeted, D&T:Direct&Targeted
Total number of neigbors:0
Operational:0 (D:0,T:0,D&T:0) (IPv4:0,IPv6:0,IPv4&IPv6:0)
Not operational:0 (D:0,T:0,D&T:0) (IPv4:0,IPv6:0,IPv4&IPv6:0)
PE1#show ip ospf neighbor
Codes: *: Multi-Area Interface
OSPF Router with ID (10.10.10.1) (Process ID 1)
Neighbor ID Pri State DeadTime Address Interface
10.10.10.3 1 FULL/-- 00:00:31 192.168.13.3 xxvgei-1/1/0/1
PE1#show lacp 1 internal
Smartgroup:1
Actor Agg LACPDUs Port Oper Port RX Mux
Port[Flags] State Interval Pri Key State Machine Machine
--------------------------------------------------------------------------------
xxvgei-1/1/0/3[SA*] ACTIVE 30 32768 0x101 0x3d CURRENT COLL&DIST
PE1#show lacp mc-lag
Smartgroup id: 1
Mc-lag iccp id: 1
Mc-lag IPv4 source:
Mc-lag IPv4 destination:
Mc-lag IPv6 source:
Mc-lag IPv6 destination:
Mc-lag VRF name:
Mc-lag priority: 200
Mc-lag sys-priority: 1
Mc-lag sys-mac: 0000.1111.2222
Mc-lag restore mode: MCLAG_IMMEDIATELY_MODE
Mc-lag restore delay time: 0
Mc-lag mode: Force-master
Mc-lag work-mode: Force-master
Mc-lag roid: 1
Mc-lag node-id: 1
Mc-lag state: NONE
Mc-lag actor smartgroup state: UP
Mc-lag partner smartgroup state: UNKNOWN
Mc-lag error down: NO
PE1#show bgp l2vpn evpn summary
BGP router ID : 10.10.10.1
Local AS : 65000
All peers : 3
Connect : 1
Established : 2
All prefixes : 9
Neighbor Ver As MsgRcvd MsgSend Up/Down State/PfxRcd
10.10.10.2 4 65000 0 0 00:03:28 Connect
10.10.10.3 4 65000 4 6 00:00:54 4
10.10.10.4 4 65000 6 6 00:00:53 5
PE1#show bgp l2vpn evpn mac
Status codes: * valid, > best, i - internal, s - stale, d - duplication
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf RtPrf Path
Route Distinguisher:100:1
*> [2][0][48][0016.3e64.2e01][0]
0.0.0.0 0 ?
*>i [2][0][48][0016.3e64.2f01][0]
10.10.10.4 100 200 ?
PE1#show l2vpn instance-name cotton
Name:cotton Type:VPLS
PW count:0 AC count:1 Kompella PW count:0
MPLS EVPN label:53505
Attachment Circuit(AC):
InterfaceName Client/Server
smartgroup1.100 Server
Description:
Admin Status: UP Prot Status: UP
Vlan Encapsulation DOT1Q:
Vlan id: 100
PE1#show mac vpls instance cotton
Total MAC Entries: 2
MAC VLAN Outgoing Information Attribute Age
0016.3e64.2e01 0 smartgroup1.100 Dynamic 00:00:00:52
0016.3e64.2f01 0 ESI:0:bb3333444400000000 Dynamic 00:00:00:53
PE2 status is down
PE3 check interface status, lacp and mac table
PE3#show bgp l2vpn evpn summary
BGP router ID : 10.10.10.3
Local AS : 65000
All peers : 3
Connect : 1
Established : 2
All prefixes : 10
Neighbor Ver As MsgRcvd MsgSend Up/Down State/PfxRcd
10.10.10.1 4 65000 7 4 00:01:31 5
10.10.10.2 4 65000 77 56 00:03:12 Connect
10.10.10.4 4 65000 88 45 00:45:32 5
PE3#show bgp l2vpn evpn mac
Status codes: * valid, > best, i - internal, s - stale, d - duplication
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf RtPrf Path
Route Distinguisher:100:1
*>i [2][0][48][0016.3e64.2e01][0]
10.10.10.1 100 200 ?
*>i [2][0][48][0016.3e64.2f01][0]
10.10.10.4 100 200 ?
PE3#show l2vpn instance-name cotton
Name:cotton Type:VPLS
PW count:0 AC count:1 Kompella PW count:0
MPLS EVPN label:53504
Attachment Circuit(AC):
InterfaceName Client/Server
smartgroup1.100 Server
Description:
Admin Status: UP Prot Status: UP
Vlan Encapsulation DOT1Q:
Vlan id: 100
PE3#show mac vpls instance cotton
Total MAC Entries: 2
MAC VLAN Outgoing Information Attribute Age
0016.3e64.2e01 0 ESI:0:aa1111222200000000 Dynamic 00:00:01:28
0016.3e64.2f01 0 ESI:0:bb3333444400000000 Dynamic 00:00:02:14
PE4 lacp and mac table
PE4#show bgp l2vpn evpn summary
BGP router ID : 10.10.10.4
Local AS : 65000
All peers : 3
Connect : 1
Established : 2
All prefixes : 9
Neighbor Ver As MsgRcvd MsgSend Up/Down State/PfxRcd
10.10.10.1 4 65000 6 7 00:02:00 5
10.10.10.2 4 65000 77 84 00:03:50 Connect
10.10.10.3 4 65000 57 80 00:46:02 4
PE4#show bgp l2vpn evpn mac
Status codes: * valid, > best, i - internal, s - stale, d - duplication
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf RtPrf Path
Route Distinguisher:100:1
*>i [2][0][48][0016.3e64.2e01][0]
10.10.10.1 100 200 ?
*> [2][0][48][0016.3e64.2f01][0]
0.0.0.0 0 ?
PE4#show mac vpls instance cotton
Total MAC Entries: 2
MAC VLAN Outgoing Information Attribute Age
0016.3e64.2f01 0 smartgroup1.100 Dynamic 00:00:00:13
0016.3e64.2e01 0 ESI:0:aa1111222200000000 Dynamic 00:00:01:59
จบ บริบูรณ์