Spring中的aware接口详情
377
2022-09-27
Juniper E×××+VxLAN配置(juniper认证)
刚才配置了MPLS+E×××,接着在原因配置的基础上增加E×××+VxALN的配置。
图中共有4台设备,两台做PE,两台做CE。
两台PE之间配置E×××信令,建立隧道,传输CE端的流量。
CE上有两个vlan ,vlan100和vlan200,用于模拟用户。
配置L2的VxLAN,同vlan间互访配置L3的VxLAN,不同VLAN间的互访。
CE1 vlan 100 192.168.10.10/24 gateway 192.168.10.254CE1 vlan 200 192.168.20.10/24 gateway 192.168.20.254
CE2 vlan 100 192.168.10.20/24 gateway 192.168.10.254CE2 vlan 200 192.168.20.20/24 gateway 192.168.20.254
二、配置步骤
配置vxlan前,假设拓扑中三层可以,MPLS,LDP等协议已经配置完成 L2的LxLAN配置root@PE1# show protocols bgp | display set set protocols bgp group ibgp type internalset protocols bgp group ibgp local-address 1.1.1.1set protocols bgp group ibgp family inet-vpn unicastset protocols bgp group ibgp family evpn signalingset protocols bgp group ibgp multipathset protocols bgp group ibgp neighbor 2.2.2.2
root@PE2# show protocols bgp | display set set protocols bgp group ibgp type internalset protocols bgp group ibgp local-address 2.2.2.2set protocols bgp group ibgp family inet-vpn unicastset protocols bgp group ibgp family evpn signalingset protocols bgp group ibgp multipathset protocols bgp group ibgp neighbor 1.1.1.1
配置PE上的interface和E×××实例root@PE2# show interfaces ae0 | display set set interfaces ae0 unit 0 family bridge interface-mode trunkset interfaces ae0 unit 0 family bridge vlan-id-list 100set interfaces ae0 unit 0 family bridge vlan-id-list 200
[edit]root@PE2# show routing-instances evpn | display set set routing-instances evpn vtep-source-interface lo0.0set routing-instances evpn instance-type virtual-switchset routing-instances evpn interface ae0.0set routing-instances evpn route-distinguisher 2.2.2.2:1set routing-instances evpn vrf-target target:65000:1set routing-instances evpn protocols evpn encapsulation vxlanset routing-instances evpn protocols evpn extended-vni-list 100set routing-instances evpn protocols evpn extended-vni-list 200set routing-instances evpn protocols evpn multicast-mode ingress-replicationset routing-instances evpn protocols evpn default-gateway no-gateway-communityset routing-instances evpn bridge-domains v100 vlan-id 100set routing-instances evpn bridge-domains v100 vxlan vni 100set routing-instances evpn bridge-domains v100 vxlan ingress-node-replicationset routing-instances evpn bridge-domains v200 vlan-id 200set routing-instances evpn bridge-domains v200 vxlan vni 200set routing-instances evpn bridge-domains v200 vxlan ingress-node-replication
syntax error.root@PE1# show interfaces ae0 | display set set interfaces ae0 unit 0 family bridge interface-mode trunkset interfaces ae0 unit 0 family bridge vlan-id-list 100set interfaces ae0 unit 0 family bridge vlan-id-list 200
[edit]root@PE1# show routing-instances evpn | display set set routing-instances evpn vtep-source-interface lo0.0set routing-instances evpn instance-type virtual-switchset routing-instances evpn interface ae0.0set routing-instances evpn route-distinguisher 1.1.1.1:1set routing-instances evpn vrf-target target:65000:1set routing-instances evpn protocols evpn encapsulation vxlanset routing-instances evpn protocols evpn extended-vni-list 100set routing-instances evpn protocols evpn extended-vni-list 200set routing-instances evpn protocols evpn multicast-mode ingress-replicationset routing-instances evpn protocols evpn default-gateway no-gateway-communityset routing-instances evpn bridge-domains v100 vlan-id 100set routing-instances evpn bridge-domains v100 routing-interface irb.100set routing-instances evpn bridge-domains v100 vxlan vni 100set routing-instances evpn bridge-domains v100 vxlan ingress-node-replicationset routing-instances evpn bridge-domains v200 vlan-id 200set routing-instances evpn bridge-domains v200 routing-interface irb.200set routing-instances evpn bridge-domains v200 vxlan vni 200set routing-instances evpn bridge-domains v200 vxlan ingress-node-replication
查看bgp状态root@PE1# run show bgp summary Groups: 1 Peers: 1 Down peers: 0Table Tot Paths Act Paths Suppressed History Damp State Pendingbgp.l3vpn.0 0 0 0 0 0 0bgp.evpn.0 16 16 0 0 0 0Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...2.2.2.2 65000 158 157 0 0 55:02 Establbgp.l3vpn.0: 0/0/0/0bgp.evpn.0: 16/16/16/0evpn.evpn.0: 16/16/16/0__default_evpn__.evpn.0: 0/0/0/0
[edit]root@PE1# run show route table bgp.evpn.0 match-prefix "3:*"
bgp.evpn.0: 16 destinations, 16 routes (16 active, 0 holddown, 0 hidden)
= Active Route, - = Last Active, * = Both
3:2.2.2.2:1::100::2.2.2.2/248 IM *[BGP/170] 00:55:08, localpref 100, from 2.2.2.2AS path: I, validation-state: unverified
to 10.0.12.2 via ge-0/0/0.0to 10.0.21.2 via ge-0/0/1.03:2.2.2.2:1::200::2.2.2.2/248 IM *[BGP/170] 00:55:08, localpref 100, from 2.2.2.2AS path: I, validation-state: unverifiedto 10.0.12.2 via ge-0/0/0.0to 10.0.21.2 via ge-0/0/1.0
[edit]root@PE1# run show route table bgp.evpn.0 match-prefix "2:*"
bgp.evpn.0: 16 destinations, 16 routes (16 active, 0 holddown, 0 hidden)
= Active Route, - = Last Active, * = Both
2:2.2.2.2:1::100::00:00:5e:00:01:01/304 MAC/IP *[BGP/170] 00:55:11, localpref 100, from 2.2.2.2AS path: I, validation-state: unverifiedto 10.0.12.2 via ge-0/0/0.0
to 10.0.21.2 via ge-0/0/1.02:2.2.2.2:1::100::00:05:86:71:b7:c0/304 MAC/IP [BGP/170] 00:01:57, localpref 100, from 2.2.2.2AS path: I, validation-state: unverifiedto 10.0.12.2 via ge-0/0/0.0to 10.0.21.2 via ge-0/0/1.02:2.2.2.2:1::100::2c:6b:f5:84:cd:f0/304 MAC/IP [BGP/170] 00:55:11, localpref 100, from 2.2.2.2AS path: I, validation-state: unverifiedto 10.0.12.2 via ge-0/0/0.0to 10.0.21.2 via ge-0/0/1.02:2.2.2.2:1::200::00:00:5e:00:01:01/304 MAC/IP [BGP/170] 00:55:11, localpref 100, from 2.2.2.2AS path: I, validation-state: unverifiedto 10.0.12.2 via ge-0/0/0.0to 10.0.21.2 via ge-0/0/1.02:2.2.2.2:1::200::00:05:86:71:b7:c0/304 MAC/IP [BGP/170] 00:05:24, localpref 100, from 2.2.2.2AS path: I, validation-state: unverifiedto 10.0.12.2 via ge-0/0/0.0to 10.0.21.2 via ge-0/0/1.02:2.2.2.2:1::200::2c:6b:f5:84:cd:f0/304 MAC/IP [BGP/170] 00:55:11, localpref 100, from 2.2.2.2AS path: I, validation-state: unverifiedto 10.0.12.2 via ge-0/0/0.0to 10.0.21.2 via ge-0/0/1.02:2.2.2.2:1::100::00:00:5e:00:01:01::192.168.10.254/304 MAC/IP [BGP/170] 00:55:11, localpref 100, from 2.2.2.2AS path: I, validation-state: unverifiedto 10.0.12.2 via ge-0/0/0.0to 10.0.21.2 via ge-0/0/1.02:2.2.2.2:1::100::00:05:86:71:b7:c0::192.168.10.20/304 MAC/IP [BGP/170] 00:01:57, localpref 100, from 2.2.2.2AS path: I, validation-state: unverifiedto 10.0.12.2 via ge-0/0/0.0to 10.0.21.2 via ge-0/0/1.02:2.2.2.2:1::100::2c:6b:f5:84:cd:f0::192.168.10.252/304 MAC/IP [BGP/170] 00:55:11, localpref 100, from 2.2.2.2AS path: I, validation-state: unverifiedto 10.0.12.2 via ge-0/0/0.0to 10.0.21.2 via ge-0/0/1.02:2.2.2.2:1::200::00:00:5e:00:01:01::192.168.20.254/304 MAC/IP [BGP/170] 00:55:11, localpref 100, from 2.2.2.2AS path: I, validation-state: unverifiedto 10.0.12.2 via ge-0/0/0.0to 10.0.21.2 via ge-0/0/1.02:2.2.2.2:1::200::00:05:86:71:b7:c0::192.168.20.20/304 MAC/IP [BGP/170] 00:05:24, localpref 100, from 2.2.2.2AS path: I, validation-state: unverifiedto 10.0.12.2 via ge-0/0/0.0to 10.0.21.2 via ge-0/0/1.02:2.2.2.2:1::200::2c:6b:f5:84:cd:f0::192.168.20.252/304 MAC/IP *[BGP/170] 00:55:11, localpref 100, from 2.2.2.2AS path: I, validation-state: unverifiedto 10.0.12.2 via ge-0/0/0.0to 10.0.21.2 via ge-0/0/1.0 查看MAC地址状态root@PE1# run show bridge mac-table
MAC flags (S -static MAC, D -dynamic MAC, L -locally learned, C -Control MACO -OVSDB MAC, SE -Statistics enabled, NM -Non configured MAC, R -Remote PE MAC)
Routing instance : evpnBridging domain : v100, VLAN : 100MAC MAC Logical Activeaddress flags interface source 00:00:5e:00:01:01 DR esi.577 05:00:00:fd:e8:00:00:00:64:00 00:05:86:71:b7:c0 D vtep.32769 2.2.2.2 00:05:86:71:e4:c0 D ae0.0 2c:6b:f5:84:cd:f0 D vtep.32769 2.2.2.2
MAC flags (S -static MAC, D -dynamic MAC, L -locally learned, C -Control MACO -OVSDB MAC, SE -Statistics enabled, NM -Non configured MAC, R -Remote PE MAC)
Routing instance : evpnBridging domain : v200, VLAN : 200MAC MAC Logical Activeaddress flags interface source 00:00:5e:00:01:01 DR esi.575 05:00:00:fd:e8:00:00:00:c8:00 00:05:86:71:b7:c0 D vtep.32769 2.2.2.2 00:05:86:71:e4:c0 D ae0.0 2c:6b:f5:84:cd:f0 D vtep.32769 2.2.2.2
[edit]root@PE1# run show interfaces terse | match vtep vtep up upvtep.32768 up up vtep.32769 up up bridge
[edit]root@PE1# 5.测试连通性
[edit]root@CE1# run ping 192.168.10.20 source 192.168.10.10 PING 192.168.10.20 (192.168.10.20): 56 data bytes64 bytes from 192.168.10.20: icmp_seq=0 ttl=64 time=7.373 ms^C--- 192.168.10.20 ping statistics ---1 packets transmitted, 1 packets received, 0% packet lossround-trip min/avg/max/stddev = 7.373/7.373/7.373/0.000 ms
[edit]root@CE1# ...source 192.168.20.10 routing-instance ce1 PING 192.168.20.20 (192.168.20.20): 56 data bytes64 bytes from 192.168.20.20: icmp_seq=0 ttl=64 time=86.393 ms^C--- 192.168.20.20 ping statistics ---1 packets transmitted, 1 packets received, 0% packet lossround-trip min/avg/max/stddev = 86.393/86.393/86.393/0.000 ms
[edit]root@CE1#
配置VxLAN 三层网关配置:[edit]root@PE1# show interfaces irb | display set set interfaces irb unit 100 proxy-macip-advertisementset interfaces irb unit 100 family inet address 192.168.10.251/24 virtual-gateway-address 192.168.10.254set interfaces irb unit 200 proxy-macip-advertisementset interfaces irb unit 200 family inet address 192.168.20.251/24 virtual-gateway-address 192.168.20.254
[edit]root@PE1# show routing-instances evpn bridge-domains | display set set routing-instances evpn bridge-domains v100 vlan-id 100set routing-instances evpn bridge-domains v100 routing-interface irb.100set routing-instances evpn bridge-domains v100 vxlan vni 100set routing-instances evpn bridge-domains v100 vxlan ingress-node-replicationset routing-instances evpn bridge-domains v200 vlan-id 200set routing-instances evpn bridge-domains v200 routing-interface irb.200set routing-instances evpn bridge-domains v200 vxlan vni 200set routing-instances evpn bridge-domains v200 vxlan ingress-node-replication
[edit]root@PE2# show interfaces irb | display set set interfaces irb unit 100 proxy-macip-advertisementset interfaces irb unit 100 family inet address 192.168.10.252/24 virtual-gateway-address 192.168.10.254set interfaces irb unit 200 family inet address 192.168.20.252/24 virtual-gateway-address 192.168.20.254
[edit]root@PE2# show routing-instances evpn bridge-domains | display set set routing-instances evpn bridge-domains v100 vlan-id 100set routing-instances evpn bridge-domains v100 routing-interface irb.100set routing-instances evpn bridge-domains v100 vxlan vni 100set routing-instances evpn bridge-domains v100 vxlan ingress-node-replicationset routing-instances evpn bridge-domains v200 vlan-id 200set routing-instances evpn bridge-domains v200 routing-interface irb.200set routing-instances evpn bridge-domains v200 vxlan vni 200set routing-instances evpn bridge-domains v200 vxlan ingress-node-replication
查看ARP状态:Total entries: 11
[edit]root@PE1# run show arp no-resolve | match irb 00:05:86:71:e4:c0 192.168.10.10 irb.100 [ae0.0] none00:05:86:71:b7:c0 192.168.10.20 irb.100 [vtep.32769] none2c:6b:f5:84:cd:f0 192.168.10.252 irb.100 [vtep.32769] none00:00:5e:00:01:01 192.168.10.254 irb.100 permanent published gateway00:05:86:71:e4:c0 192.168.20.10 irb.200 [ae0.0] none00:05:86:71:b7:c0 192.168.20.20 irb.200 [vtep.32769] none2c:6b:f5:84:cd:f0 192.168.20.252 irb.200 [vtep.32769] none00:00:5e:00:01:01 192.168.20.254 irb.200 permanent published gateway
[edit]root@PE1#
[edit]root@PE2# run show arp no-resolve | match irb 00:05:86:71:e4:c0 192.168.10.10 irb.100 [vtep.32769] none00:05:86:71:b7:c0 192.168.10.20 irb.100 [ae0.0] none2c:6b:f5:d1:ce:f0 192.168.10.251 irb.100 [vtep.32769] none00:00:5e:00:01:01 192.168.10.254 irb.100 permanent published gateway00:05:86:71:e4:c0 192.168.20.10 irb.200 [vtep.32769] permanent remote00:05:86:71:b7:c0 192.168.20.20 irb.200 [ae0.0] permanent remote2c:6b:f5:d1:ce:f0 192.168.20.251 irb.200 [vtep.32769] permanent remote00:00:5e:00:01:01 192.168.20.254 irb.200 permanent published gateway
[edit]root@PE2#
测试L3 连通性:[edit]root@CE1# run ping 192.168.10.20 PING 192.168.10.20 (192.168.10.20): 56 data bytes64 bytes from 192.168.10.20: icmp_seq=0 ttl=64 time=9.451 ms^C--- 192.168.10.20 ping statistics ---1 packets transmitted, 1 packets received, 0% packet lossround-trip min/avg/max/stddev = 9.451/9.451/9.451/0.000 ms
[edit]root@CE1# run ping 192.168.20.10 PING 192.168.20.10 (192.168.20.10): 56 data bytes64 bytes from 192.168.20.10: icmp_seq=0 ttl=63 time=5.845 ms^C--- 192.168.20.10 ping statistics ---1 packets transmitted, 1 packets received, 0% packet lossround-trip min/avg/max/stddev = 5.845/5.845/5.845/0.000 ms
[edit]root@CE1# run ping 192.168.20.20 PING 192.168.20.20 (192.168.20.20): 56 data bytes64 bytes from 192.168.20.20: icmp_seq=0 ttl=63 time=18.676 ms^C--- 192.168.20.20 ping statistics ---1 packets transmitted, 1 packets received, 0% packet lossround-trip min/avg/max/stddev = 18.676/18.676/18.676/0.000 ms
[edit]root@CE1#
[edit]root@CE1# run ping 192.168.10.10 routing-instance ce1 PING 192.168.10.10 (192.168.10.10): 56 data bytes64 bytes from 192.168.10.10: icmp_seq=0 ttl=63 time=26.844 ms^C--- 192.168.10.10 ping statistics ---1 packets transmitted, 1 packets received, 0% packet lossround-trip min/avg/max/stddev = 26.844/26.844/26.844/0.000 ms
[edit]root@CE1# run ping 192.168.10.20 routing-instance ce1 PING 192.168.10.20 (192.168.10.20): 56 data bytes64 bytes from 192.168.10.20: icmp_seq=0 ttl=63 time=11.732 ms^C--- 192.168.10.20 ping statistics ---1 packets transmitted, 1 packets received, 0% packet lossround-trip min/avg/max/stddev = 11.732/11.732/11.732/0.000 ms
[edit]root@CE1# run ping 192.168.20.20 routing-instance ce1 PING 192.168.20.20 (192.168.20.20): 56 data bytes64 bytes from 192.168.20.20: icmp_seq=0 ttl=64 time=9.908 ms^C--- 192.168.20.20 ping statistics ---1 packets transmitted, 1 packets received, 0% packet lossround-trip min/avg/max/stddev = 9.908/9.908/9.908/0.000 ms
[edit]root@CE1#
四、设备的完成配置PE1配置:root@PE1# show | display set | no-more set version 18.1R1.9set system host-name PE1set system root-authentication encrypted-password "$6$vr.UFWb6$F30e1qd2fm4Y6YBLzuyykAbYTjQ4axpUOPxnG8QljU1YmD5Hz6TkAHmUQf3hHP3mTXR0bnEns3aVFarvZLweK0"set system syslog file messages any noticeset system syslog file messages authorization infoset system syslog file interactive-commands interactive-commands anyset chassis aggregated-devices ethernet device-count 8set chassis fpc 0 pic 0 tunnel-services bandwidth 1gset chassis fpc 0 lite-modeset chassis network-services enhanced-ipset interfaces ge-0/0/0 unit 0 family inet address 10.0.12.1/24set interfaces ge-0/0/0 unit 0 family mplsset interfaces ge-0/0/1 unit 0 family inet address 10.0.21.1/24set interfaces ge-0/0/1 unit 0 family mplsset interfaces ge-0/0/2 gigether-options 802.3ad ae0set interfaces ge-0/0/3 gigether-options 802.3ad ae0set interfaces ae0 unit 0 family bridge interface-mode trunkset interfaces ae0 unit 0 family bridge vlan-id-list 100set interfaces ae0 unit 0 family bridge vlan-id-list 200set interfaces irb unit 100 proxy-macip-advertisementset interfaces irb unit 100 family inet address 192.168.10.251/24 virtual-gateway-address 192.168.10.254set interfaces irb unit 200 proxy-macip-advertisementset interfaces irb unit 200 family inet address 192.168.20.251/24 virtual-gateway-address 192.168.20.254set interfaces lo0 unit 0 family inet address 1.1.1.1/32set interfaces tap unit 0set routing-options router-id 1.1.1.1set routing-options autonomous-system 65000set routing-options forwarding-table export load-blanceset protocols mpls interface allset protocols bgp group ibgp type internalset protocols bgp group ibgp local-address 1.1.1.1set protocols bgp group ibgp family inet-vpn unicastset protocols bgp group ibgp family evpn signalingset protocols bgp group ibgp multipathset protocols bgp group ibgp neighbor 2.2.2.2set protocols ospf area 0.0.0.0 interface lo0.0 passiveset protocols ospf area 0.0.0.0 interface ge-0/0/0.0set protocols ospf area 0.0.0.0 interface ge-0/0/1.0set protocols ldp interface allset policy-options policy-statement load-blance then load-balance per-packetset routing-instances evpn vtep-source-interface lo0.0set routing-instances evpn instance-type virtual-switchset routing-instances evpn interface ae0.0set routing-instances evpn route-distinguisher 1.1.1.1:1set routing-instances evpn vrf-target target:65000:1set routing-instances evpn protocols evpn encapsulation vxlanset routing-instances evpn protocols evpn extended-vni-list 100set routing-instances evpn protocols evpn extended-vni-list 200set routing-instances evpn protocols evpn multicast-mode ingress-replicationset routing-instances evpn protocols evpn default-gateway no-gateway-communityset routing-instances evpn bridge-domains v100 vlan-id 100set routing-instances evpn bridge-domains v100 routing-interface irb.100set routing-instances evpn bridge-domains v100 vxlan vni 100set routing-instances evpn bridge-domains v100 vxlan ingress-node-replicationset routing-instances evpn bridge-domains v200 vlan-id 200set routing-instances evpn bridge-domains v200 routing-interface irb.200set routing-instances evpn bridge-domains v200 vxlan vni 200set routing-instances evpn bridge-domains v200 vxlan ingress-node-replication
PE2配置:root@PE2# show | display set | no-more set version 18.1R1.9set system host-name PE2set system root-authentication encrypted-password "$6$KNzT/UZC$1X6NqsVWkWWwafPSlvxZOTFMYe4prMJ1bWUbtrH4KhN/xjEQeLl8txSncpJYO9DeQgeFz8.hmQiRbFoUzdonD."set system syslog file messages any noticeset system syslog file messages authorization infoset system syslog file interactive-commands interactive-commands anyset chassis aggregated-devices ethernet device-count 8set chassis fpc 0 lite-modeset chassis network-services enhanced-ipset interfaces ge-0/0/0 unit 0 family inet address 10.0.12.2/24set interfaces ge-0/0/0 unit 0 family mplsset interfaces ge-0/0/1 unit 0 family inet address 10.0.21.2/24set interfaces ge-0/0/1 unit 0 family mplsset interfaces ge-0/0/2 gigether-options 802.3ad ae0set interfaces ge-0/0/3 gigether-options 802.3ad ae0set interfaces ae0 unit 0 family bridge interface-mode trunkset interfaces ae0 unit 0 family bridge vlan-id-list 100set interfaces ae0 unit 0 family bridge vlan-id-list 200set interfaces irb unit 100 proxy-macip-advertisementset interfaces irb unit 100 family inet address 192.168.10.252/24 virtual-gateway-address 192.168.10.254set interfaces irb unit 200 family inet address 192.168.20.252/24 virtual-gateway-address 192.168.20.254set interfaces lo0 unit 0 family inet address 2.2.2.2/32set interfaces tap unit 0set routing-options router-id 2.2.2.2set routing-options autonomous-system 65000set routing-options forwarding-table export load-blanceset protocols mpls interface allset protocols bgp group ibgp type internalset protocols bgp group ibgp local-address 2.2.2.2set protocols bgp group ibgp family inet-vpn unicastset protocols bgp group ibgp family evpn signalingset protocols bgp group ibgp multipathset protocols bgp group ibgp neighbor 1.1.1.1set protocols ospf area 0.0.0.0 interface lo0.0 passiveset protocols ospf area 0.0.0.0 interface ge-0/0/0.0set protocols ospf area 0.0.0.0 interface ge-0/0/1.0set protocols ldp interface allset policy-options policy-statement load-blance then load-balance per-packetset routing-instances evpn vtep-source-interface lo0.0set routing-instances evpn instance-type virtual-switchset routing-instances evpn interface ae0.0set routing-instances evpn route-distinguisher 2.2.2.2:1set routing-instances evpn vrf-target target:65000:1set routing-instances evpn protocols evpn encapsulation vxlanset routing-instances evpn protocols evpn extended-vni-list 100set routing-instances evpn protocols evpn extended-vni-list 200set routing-instances evpn protocols evpn multicast-mode ingress-replicationset routing-instances evpn protocols evpn default-gateway no-gateway-communityset routing-instances evpn bridge-domains v100 vlan-id 100set routing-instances evpn bridge-domains v100 routing-interface irb.100set routing-instances evpn bridge-domains v100 vxlan vni 100set routing-instances evpn bridge-domains v100 vxlan ingress-node-replicationset routing-instances evpn bridge-domains v200 vlan-id 200set routing-instances evpn bridge-domains v200 routing-interface irb.200set routing-instances evpn bridge-domains v200 vxlan vni 200set routing-instances evpn bridge-domains v200 vxlan ingress-node-replication
CE1配置:[edit]root@CE1# show | display set set version 14.1R1.10set system host-name CE1set system root-authentication encrypted-password "$1$53mbzDGK$9Hca7Iwxm0xD/k18JhYaa/"set system syslog user * any emergencyset system syslog file messages any noticeset system syslog file messages authorization infoset system syslog file interactive-commands interactive-commands anyset chassis aggregated-devices ethernet device-count 8set interfaces ge-0/0/0 gigether-options 802.3ad ae0set interfaces ge-0/0/1 gigether-options 802.3ad ae0set interfaces ae0 flexible-vlan-taggingset interfaces ae0 unit 100 vlan-id 100set interfaces ae0 unit 100 family inet address 192.168.10.10/24set interfaces ae0 unit 200 vlan-id 200set interfaces ae0 unit 200 family inet address 192.168.20.10/24set routing-options static route 0.0.0.0/0 next-hop 192.168.10.254set routing-instances ce1 instance-type virtual-routerset routing-instances ce1 interface ae0.200set routing-instances ce1 routing-options static route 0.0.0.0/0 next-hop 192.168.20.254
[edit]root@CE1#
CE2配置:[edit]root@CE2# show | no-more |display set set version 14.1R1.10set system host-name CE2set system root-authentication encrypted-password "$1$Lm.K.ooI$tfjWMjodLO6oIbEfGX8m40"set system syslog user * any emergencyset system syslog file messages any noticeset system syslog file messages authorization infoset system syslog file interactive-commands interactive-commands anyset chassis aggregated-devices ethernet device-count 8set interfaces ge-0/0/0 gigether-options 802.3ad ae0set interfaces ge-0/0/1 gigether-options 802.3ad ae0set interfaces ae0 flexible-vlan-taggingset interfaces ae0 unit 100 vlan-id 100set interfaces ae0 unit 100 family inet address 192.168.10.20/24set interfaces ae0 unit 200 vlan-id 200set interfaces ae0 unit 200 family inet address 192.168.20.20/24set routing-options static route 0.0.0.0/0 next-hop 192.168.10.254set routing-instances ce1 instance-type virtual-routerset routing-instances ce1 interface ae0.200set routing-instances ce1 routing-options static route 0.0.0.0/0 next-hop 192.168.20.254
[edit]root@CE2#
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~