H3C Technologies H3C S6800 Series Switches User Manual

Page 348

Advertising
background image

335

Step Command

Remarks

6.

Configure a backup LDP PW
and enter cross-connect

backup PW view.

backup-peer ip-address pw-id
pw-id [ pw-class class-name |
tunnel-policy tunnel-policy-name ] *

By default, no backup LDP PW is
configured.

7.

Return to user view.

return

N/A

8.

Manually switch traffic to the
backup PW of the specified

PW.

l2vpn switchover peer ip-address
pw-id pw-id

N/A

Enabling MAC address software learning on an
interface

The MAC address software learning feature applies to a Software Defined Network (SDN).
On an SDN network, the device uploads the learned MAC addresses to the controller, and the controller

issues the received MAC address to other remote devices, which reduces unnecessary broadcasts.
An interface can learn MAC addresses through one of the following methods:

Hardware learning—MAC addresses are learned through hardware (the default setting).
Hardware learning requires the software to periodically check whether the hardware has learned

new MAC addresses, and then uploads the learned MAC addresses to the controller.

Software learning—The software learns MAC addresses, issues the learned MAC addresses to the
hardware, and uploads the MAC addresses to the controller. Software learning has a faster

learning speed than hardware learning because software learning does not require a periodical
check.

To avoid impacting the system, H3C recommends not enabling this feature when a large number of MAC

addresses change frequently.
To enable MAC address software learning on an interface:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Layer 2 Ethernet
interface or Layer 2

aggregate interface view.

Enter Layer 2 Ethernet interface

view:

interface interface-type
interface-number

Enter Layer 2 aggregate interface

view:
interface bridge-aggregation

interface-number

N/A

3.

Enable MAC address
software learning on the

interface.

l2vpn mac-address software-learning

enable

By default, MAC address
software learning is disabled on

an interface.

Advertising