Configuration procedure
To configure a tunnel interface:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create a tunnel interface and enter its view. | interface tunnel number | By default, no tunnel interface is created. |
3. Configure the description for the interface. | description text | Optional. By default, the description of a tunnel interface is Tunnelnumber Interface. |
4. Reference a service loopback group. | service-loopback-group number | By default, the tunnel does not reference any service loopback group. |
5. Set the MTU of the tunnel interface. | mtu mtu-size | Optional. The default MTU of the tunnel interface depends on the status of the interface.
If you choose to manually set the MTU, make sure the same MTU is configured for all tunnel interfaces. An MTU set on any tunnel interface is effective on all existing tunnel interfaces. If you use this command multiple times, the most recent configuration takes effect. |
6. Set the bandwidth of the tunnel interface. | tunnel bandwidth bandwidth-value | Optional. By default, the bandwidth of the tunnel interface is 64 kbps. |
7. Restore the default setting. | default | Optional. |
8. Shut down the tunnel interface. | shutdown | Optional. By default, the interface is up. |