1758 CHAPTER 104: L2TP CONFIGURATION COMMANDS

The allow l2tp command is available for only LNSs. If the tunnel name on the LAC is specified, ensure that it is the same as the tunnel name configured on the LAC.

Related command: l2tp-group.

Example # Accept the L2TP tunneling request initiated by the peer (LAC) of AS8010 and create a virtual access interface according to virtual template 1.

<Sysname> system-view

[Sysname] l2tp-group 2

[Sysname-l2tp2] allow l2tp virtual-template 1 remote AS8010

 

# Specify L2TP group 1 as the default L2TP group, accept the L2TP tunneling

 

request initiated by any peer, and create a virtual access interface based on virtual

 

template 1.

 

 

 

<Sysname> system-view

 

[Sysname] l2tp-group 1

 

[Sysname-l2tp1] allow l2tp virtual-template 1

 

 

 

 

display l2tp session

 

 

 

Syntax

display l2tp session

 

View

Any view

 

 

Parameter

None

 

 

Description

Use the display l2tp session command to display information about L2TP

 

sessions.

 

 

Related command:

display l2tp tunnel.

Example

# Display information about L2TP sessions.

 

<Sysname> display l2tp session

 

Total session = 1

 

LocalSID

 

RemoteSID LocalTID

 

1

1

2

 

Table 470 Description on the fields of the display l2tp session command

 

 

 

 

 

Field

 

Description

 

 

 

 

 

Total session

 

Number of active sessions

 

LocalSID

 

Unique ID of the session at the local end

 

RemoteSID

 

Unique ID of the session at the remote end

 

LocalTID

 

Unique ID of the tunnel at the local end

 

 

 

 

Page 1758
Image 1758
3Com MSR 30 manual Display l2tp session, Related command l2tp-group, Sessions, Related command Display l2tp tunnel Example