Configuring a subinterface

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Create a subinterface and enter its view.

interface serial interface-number.subnumber [ p2mp | p2p ]

N/A

3. (Optional.) Configure the interface description.

description text

By default, the description of a subinterface is interface-name Interface.

4. (Optional.) Set the MTU.

mtu size

The default MTU is 1500 bytes.

5. (Optional.) Set the expected bandwidth for the subinterface.

bandwidth bandwidth-value

By default, the expected bandwidth (in kbps) is the interface baud rate divided by 1000.

6. (Optional.) Restore the default settings for the subinterface.

default

N/A

7. Bring up the subinterface.

undo shutdown

By default, a subinterface is up.