Configuring an Ethernet Segment
Ethernet Segment (ES) type, redundancy
mode, and a LAG type can be configured for an ES for a Layer 2 Virtual Private Network
(L2VPN) using Ethernet Virtual Private Network (EVPN).
The following task configures an ES as type 0, with a dynamic LAG, to operate in all-active mode (so that all links within the ES are operational).
- Enter global configuration mode.
- Configure a dynamic LAG.A dynamic LAG with an ID of 100 is created.
- Return to global configuration mode.
- Enter EVPN configuration mode.
- Configure an ES.An ES is configured and ES configuration mode is enabled.
- Configure an ES type.An ES type 0 is configured. A local discriminator (11:22:33:44:55:66:77:88:99) is configured, and a MAC address (4444.5555.6666) is specified. The local discriminator value for ES value is set to 100. These identifiers uniquely identify the ES type 0 within the network configuration.
- Associate a LAG with the
ES.Associates the ES with the previously configured dynamic LAG.
- Configure the redundancy mode for the ES.The ES is configured to operate in all-active mode so that all links within the ES are operational.
The following example configures ES as ES type 0. A dynamic LAG is configured for the ES and the ES is configured to operate in all-active mode so that all links within the ES are operational.
device# configure terminal device(config)# lag 100 dynamic id 100 device(config-lag-100)# exit device(config)# l2vpn evpn device(config-evpn)# ethernet-segment 1 device(config-evpn-es-1)# es-type type-0 11:22:33:44:55:66:77:88:99 4444.5555.6666 100 device(config-evpn-es-1)# lag 100 device(config-evpn-es-1)# redundancy-mode all-active