beautypg.com

H3C Technologies H3C S12500-X Series Switches User Manual

Page 43

background image

36

# On FortyGigE 1/0/1, configure Ethernet service instance 1000 to match VLAN 2. Map the

service instance to the VSI vpna.

[SwitchA-FortyGigE1/0/1] service-instance 1000

[SwitchA-FortyGigE1/0/1-srv1000] encapsulation s-vid 2

[SwitchA-FortyGigE1/0/1-srv1000] xconnect vsi vpna

[SwitchA-FortyGigE1/0/1-srv1000] quit

# On FortyGigE 1/0/1, configure Ethernet service instance 2000 to match VLAN 3. Map the
service instance to the VSI vpnb.

[SwitchA-FortyGigE1/0/1] service-instance 2000

[SwitchA-FortyGigE1/0/1-srv2000] encapsulation s-vid 3

[SwitchA-FortyGigE1/0/1-srv2000] xconnect vsi vpnb

[SwitchA-FortyGigE1/0/1-srv2000] quit

# On FortyGigE 1/0/1, configure Ethernet service instance 3000 to match VLAN 4. Map the

service instance to the VSI vpnc.

[SwitchA-FortyGigE1/0/1] service-instance 3000

[SwitchA-FortyGigE1/0/1-srv3000] encapsulation s-vid 4

[SwitchA-FortyGigE1/0/1-srv3000] xconnect vsi vpnc

[SwitchA-FortyGigE1/0/1-srv3000] quit

# On FortyGigE 1/0/1, configure Ethernet service instance 4000 to match VLAN 5. Map the
service instance to the VSI vpnd.

[SwitchA-FortyGigE1/0/1] service-instance 4000

[SwitchA-FortyGigE1/0/1-srv4000] encapsulation s-vid 5

[SwitchA-FortyGigE1/0/1-srv4000] xconnect vsi vpnd

[SwitchA-FortyGigE1/0/1-srv4000] quit

[SwitchA-FortyGigE1/0/1] quit

# Start the VXLAN IS-IS process. Enable VXLAN autonegotiation and MAC advertisement.

[SwitchA] vxlan-isis

[SwitchA-vxlan-isis] negotiate-vni enable

[SwitchA-vxlan-isis] mac-synchronization enable

[SwitchA-vxlan-isis] quit

3.

Configure Switch B:
# Enable L2VPN.

system-view

[SwitchB] l2vpn enable

# Enable Layer 2 forwarding for VXLANs.

[SwitchB] undo vxlan ip-forwarding

# Specify VXLAN 11111 as the reserved VXLAN for VXLAN IS-IS.

[SwitchB] reserved vxlan 11111

# Create the VSI vpna and VXLAN 10000.

[SwitchB] vsi vpna

[SwitchB-vsi-vpna] vxlan 10000

[SwitchB-vsi-vpna-vxlan10000] quit

[SwitchB-vsi-vpna] quit

# Create the VSI vpnb and VXLAN 10001.

[SwitchB] vsi vpnb

[SwitchB-vsi-vpnb] vxlan 10001

This manual is related to the following products: