Vpn-Instance - H3C MSR Series Command Reference Manual

Routers. layer 2 - wan command (v7)
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

fullusername user-name: Specifies that the LAC initiate tunneling requests to the LNS when the username
of a user matches a configured full username. The domain-name argument represents the username of
the user and is a case-sensitive string of 1 to 255 characters.
Usage guidelines
This command is available only to L2TP groups in LAC mode.
If you execute this command multiple times for an L2TP group, the most recent configuration takes effect.
Examples
# Specifies that the LAC initiate tunneling requests to the LNS when the username of the user is
test@aabbcc.net.
<Sysname> system-view
[Sysname] l2tp-group 1 mode lac
[Sysname-l2tp1] user fullusername test@aabbcc.net

vpn-instance

Use vpn-instance to specify the VPN to which a tunnel peer belongs.
Use undo vpn-instance to restore the default.
Syntax
vpn-instance vpn-instance-name
undo vpn-instance
Default
A tunnel peer belongs to the public network.
Views
L2TP group view
Predefined user roles
network-admin
Parameters
vpn-instance-name: Specifies a VPN instance by its name, a case-sensitive string of 1 to 31 characters.
Usage guidelines
By default, the device transmits L2TP control messages and data messages over the public network. With
this feature, the device transmits them in a specified VPN by searching the routing table in that specified
VPN.
When one L2TP endpoint is in a VPN, you should configure this endpoint to belong to the VPN on the
peer for correct packet forwarding between the two endpoints.
The physical port connecting to the tunnel peer and the tunnel peer should belong to the same VPN. The
VPN to which this physical port belongs is configured by using the ip binding vpn-instance command.
The specified VPN must already exist.
Examples
# Configure the VPN vpn1 to which the tunnel peer belongs.
<Sysname>system-view
61

Advertisement

Table of Contents
loading

Table of Contents