34
Default
No gateway interface is specified for a VSI.
Views
VSI view
Predefined user roles
network-admin
mdc-admin
Parameters
vsi-interface-id
: Specifies an existing VSI interface by its number. The value range for this
argument is 0 to 8191. You can create a maximum of 1024 VSI interfaces.
Usage guidelines
A VSI can have only one gateway interface. Multiple VSIs can share a gateway interface.
Examples
# Specify VSI-interface 100 as the gateway interface for VSI
vpna
.
<Sysname> system-view
[Sysname] vsi vpna
[Sysname-vsi-vpna] gateway vsi-interface 100
Related commands
interface vsi-interface
interface vsi-interface
Use
interface vsi-interface
to create a VSI interface and enter its view, or enter the view of
an existing VSI interface.
Use
undo interface vsi-interface
to delete a VSI interface or VSI subinterface.
Syntax
interface vsi-interface vsi-interface-id
undo interface vsi-interface vsi-interface-id
Default
No VSI interfaces or VSI subinterfaces exist.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
vsi-interface-id
: Specifies a VSI interface number. The value range for this argument is 0 to
8191. You can create a maximum of 1024 VSI interfaces.
Usage guidelines
Before you create a VSI subinterface, make sure its main VSI interface has been created.