Chapter 17 commands for layer 3 forwarding, 1 commands for layer 3 interface, 1 bandwidth – PLANET XGS3-24040 User Manual

Page 245: 2 shutdown, Ommands for, Ayer, Nterface

Advertising
background image

17-3

Chapter 17 Commands for Layer 3

Forwarding

17.1 Commands for Layer 3 Interface
17.1.1 bandwidth

Command:

bandwidth <bandwidth>

no bandwidth

Function:

Configure the bandwidth for Interface vlan. The “no bandwidth” command recovery the default

value. The bandwidth of interface vlan is used to protocol account but not control the bandwidth of

port. For instance, it is use the interface bandwidth(cost=10^8/bandwidth)when OSPF account the

link cost, so change the bandwidth can result in OSPF link cost changed.

Parameters:

<bandwidth> is the bandwidth for interface vlan. Range from 1bits to 10000000000 bits. It is can

use unit “k, m, g”. There are no decimal numbers after conversion.

Command mode:

VLAN Interface Mode

Default:

The default bandwidth for interface VLAN is 100,000,000bit.

Usage Guide:

This command only can be used at interface VLAN mode 。 The conversion of unit:

1g=1,000m=1,000,000k=1,000,000,000bit.

Example:

Configure the bandwidth for vlan1 is 50,000,000bit.

Switch(Config-if-Vlan1)#bandwidth 50m

17.1.2 shutdown

Command:

shutdown

no shutdown

Function:

Shut down the specified VLAN interface of the switch. The no operation of the command will enable

the VLAN interface.

Command Mode:

VLAN Interface Configuration Mode.

Default:

The VLAN interface is enabled by default.

Advertising