bgp-lsp mtu

Function

The bgp-lsp mtu command sets an MTU for BGP LSPs.

The undo bgp-lsp mtu command restores the default MTU of BGP LSPs.

By default, the MTU of BGP LSPs is 1500.

Format

bgp-lsp mtu mtu

undo bgp-lsp mtu

Parameters

Parameter Description Value
mtu

Specifies the MTU for BGP LSPs.

The value is an integer ranging from 46 to 65535.

Views

BGP-IPv4 unicast address family view, BGP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

An MTU value determines the maximum number of bytes of a packet each time a sender can send without fragmenting the packet. If the size of packets exceeds the MTU supported by a transit node or a receiver, the transit node or receiver fragments the packets or even discards them, aggravating the network transmission load. MTU values must be correctly negotiated between LSRs to allow packets to successfully reach the receiver.

Example

# Set the MTU to 20000 for BGP LSPs.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] ipv4-family unicast
[*HUAWEI-bgp-af-ipv4] bgp-lsp mtu 20000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >