For more information about L2TP PPP commands, refer to the 7450 ESS, 7750 SR, 7950 XRS, and VSR Router Configuration Guide.
The show L2TP commands apply only to the 7750 SR and 7450 ESS.
This command creates a text description stored in the configuration file for a configuration context.
The description command associates a text string with a configuration context to help identify the content in the configuration file.
The no form of this command removes the string from the configuration.
This command administratively disables the entity. When disabled, an entity does not change, reset, or remove any configuration settings or statistics. Many entities must be explicitly enabled using the no shutdown command. The operational state of the entity is disabled as well as the operational state of any entities contained within. Many objects must be shut down before they may be deleted.
The no form of this command places the entity into an administratively enabled state.
This command enables the context to configure L2TP parameters. L2TP extends the PPP model by allowing Layer 2 and PPP endpoints to reside on different devices interconnected by a packet-switched network.
This command configures Attribute Value Pair (AVP) hiding. This capability can be used to avoid the passing of sensitive data, such as user passwords, as cleartext in an AVP.
The no form of this command reverts to the default value.
no avp-hiding
This command what string to put in the Calling Number AVP, for L2TP control messages related to a session in this L2TP protocol instance.
calling-number-format "%S %s"
ascii-spec | char-specification ascii-spec | ||
char-specification | ascii-char | char-origin | ||
ascii-char | a printable ASCII character | ||
char-origin | %origin | ||
origin | S | c | r | s | l | ||
S | system name, the value of TIMETRA-CHASSIS-MIB::tmnxChassisName | ||
c | Agent Circuit Id | ||
r | Agent Remote Id | ||
s | SAP ID, formatted as a character string | ||
l | Logical Line ID | ||
This command configures the use of challenge-response authentication.
The no form of this command reverts to the default never value.
no challenge
This command configures the L2TP Cisco NAS port AVP.
The no form of this command removes the specified L2TP Cisco NAS port AVP.
no cisco-nas-port
This command configures the period of time that the data of a disconnected tunnel will persist before being removed.
The no form of this command removes the value from the configuration.
no destruct-timeout
This command enables the context to configure Ethernet tunnel client parameters.
This command configures the number of seconds that the Ethernet tunnel client of L2TPv3 waits before attempting to re-establish a new session after a session setup fails or a session closes.
The no form of this command returns reconnect-timeout to an infinite timeout value, meaning that reconnection is not attempted by the local client.
no reconnect-timeout (infinite timeout)
This command configures the L2TP AVPs to exclude.
no exclude-avps
This command enables the context to configure LAC multi-chassis redundancy.
This command configures the sub-set of sessions that this system attempts to synchronize in the Session State Synchronization phase as described in RFC 4951, Fail Over Extensions for Layer 2 Tunneling Protocol (L2TP).
The no form of this command reverts to the default.
recovery-max-session-lifetime 2
This command sets the recovery method to be used for newly created tunnels.
The no form of this command reverts to the default.
recovery-method mcs on config>router>l2tp>failover and config>service>vprn>l2tp>failover
recovery-method default on config>router>l2tp>group>failover
recovery-method default on config>router>l2tp>group>tunnel>failover
recovery-method default on config>service>vprn>l2tp>group>failover
recovery-method default on config>service>vprn>l2tp>group>tunnel>failover
| Note: While failover is enabled, the tunnels and sessions proper are always kept synchronized between the redundant pair, regardless of the recovery method for the sequence numbers when a failover really occurs. |
This command sets the recovery time to be negotiated via RFC 4951. It represents the extra time this L2TP peer (LAC or LNS) needs to recover all its tunnels.
The no form of this command reverts to the default.
recovery-time 0 on config>router>l2tp>failover and config>service>vprn>l2tp>failover
This command sets the sync-tag to be used to synchronize the tunnels with track-srrp srrp-id to MCS peer IP-@. The same sync-tag should be configured on the MCS peer.
The no form of this command reverts to the default.
Removes the sync-tag for the indicated track-srrp.
This command configures an L2TP tunnel group.
The no form of this command reverts removes the tunnel group name from the configuration.
This command configures the time interval between two consecutive tunnel Hello messages. The Hello message is an L2TP control message sent by either peer of a LAC-LNS control connection. This control message is used as a keepalive for the tunnel.
The no form of this command removes the interval from the configuration.
no hello-interval
This command configures the period of time that an established tunnel with no active sessions persists before being disconnected.
Enter the no form of this command to maintain a persistent tunnel.
The no form of this command removes the idle timeout from the configuration.
no idle-timeout
This command enables the context to configure L2TPv3 parameters.
This command configures the length of the optional cookie field.
This command configures the hashing algorithm used to calculate the message digest.
This command configures the length for the local L2TPv3 nonce (random number) value used in the Nonce AVP.
The no form of this command removes the nonce length from the configuration.
This command enables TCP MSS adjust for L2TPv3 tunnels on the private side of the group or tunnel level. When this command is configured, the system updates the TCP MSS option value of the received TCP SYN packet on the private side.
With the default parameter, the system uses the upper-level configuration. With the non-default parameter, the system uses this configuration instead of the upper level configuration.
The no form of this command disables TCP MSS adjust on the private side.
no private-tcp-mss-adjust
This command enables TCP MSS adjust for L2TPv3 tunnels on the public side on the group or tunnel level. When the command is configured, the system updates the TCP MSS option value of the received TCP SYN packet on the public side that is encapsulated in the L2TPv3 tunnel.
With the default parameter, the system uses the upper level configuration. With the non-default parameter, the system uses this configuration instead of the upper level configuration.
The no form of this command disables TCP MSS adjust on the public side.
no public-tcp-mss-adjust
This command configures the transport type to be used to carry the L2TPv3 tunnel. Currently, only IP transport is supported.
The no form of this command returns the transport-type to the default value.
no transport-type
This command configures the ISA LNS group.
The no form of this command removes the LNS group ID from the configuration.
no lns-group
This command describes how new sessions are assigned to an L2TP ISA MDA.
The no form of this command reverts to the default value.
load-balance-method per-session
ISA MDA.
MLPPP with multiple links per bundle;
HPol intermediate destination arbiters where the intermediate destination is an L2TP tunnel.
This command configures the local address.
The no form of this command removes the local IP address from the configuration.
no local-address
This command creates the local host name used by this system for the tunnels in this L2TP group during the authentication phase of tunnel establishment. It can be used to distinguish tunnels.
The no form of this command removes the host name from the configuration.
no local-name
This command configures the number of retries allowed for this L2TP tunnel while it is established, before its control connection goes down.
The no form of this command removes the value from the configuration.
no max-retries-estab
This command configures the number of retries allowed for this L2TP tunnel while it is not established, before its control connection goes down.
The no form of this command removes the value from the configuration.
no max-retries-not-estab
This command enables tunnel selection algorithm based on the tunnel preference level.
The no form of this command reverts to the default.
next-attempt next-preference-level
In case that a new session setup request is received while all tunnels on the same preference level are blacklisted, the L2TP session tries to be established on blacklisted tunnels before the tunnel selection moves to the next preference level.
This command configures the password between L2TP LAC and LNS
The no form of this command removes the password.
no password
This command specifies what to do in case the system receives a L2TP response from another address than the one the request was sent to.
peer-address-change-policy reject
This command configures the peer address.
The no form of this command removes the IP address from the tunnel configuration.
no peer
This command configures PPP for the L2TP tunnel group.
This command configures the PPP authentication protocol to negotiate authentication.
authentication pref-chap
This command configures the authentication policy.
The no form of this command reverts to the default value.
no authentication-policy
This command configures the maximum and minimum PPP CHAP challenge length.
The no form of this command reverts to the default value.
chap-challenge-length min 32 max 64
This command configures the default group interface.
no default-group-interface
This command configures the IPCP subnet negotiation using PPP IPCP Subnet-Mask option (0x90) if requested by the client. The subnet can be obtained from RADIUS (Framed-IP-Netmask attribute) or local user database. The subnet is installed as a managed route of the PPP session. This requires the anti-spoof type on the SAP to be configured to nh-mac.
By default, an IPCP Config Request with IPCP Subnet-Mask option (0x90) is rejected.
The no form of this command reverts to the default value.
no ipcp-subnet-negotiation
This command configures the PPP keepalive interval and multiplier.
keepalive 30 hold-up-multiplier 3
This command enables the LCP Asynchronous Control Character Map (ACCM) configuration option. When enabled, the LCP ACCM configuration option is acknowledged during LCP negotiation between the LNS and the PPP client. The option is then ignored and no ACCM mapping is done.
By default, an L2TP tunnel inherits the configuration from the L2TP group CLI context.
The no form of this command disables the LCP ACCM configuration option.
This command configures checking the magic number field in LCP Echo-Request and LCP Echo-Reply messages.
The no form of this command reverts to the default value.
no lcp-ignore-magic-numbers
This command configures the maximum PPP MTU size.
mtu 1500
This command configures the use of the authentication AVPs received from the LAC.
no proxy-authentication
This command configures the use of the proxy LCP AVPs received from the LAC.
no proxy-lcp
This command forces an LCP Protocol Reject when receiving an IPv6CP Configure Request message whenIPv6 is not configured.
By default, an IPv6CP Configure Request message is silently ignored when IPv6 is not configured.
This command configures the local user database to use for PPP PAP/CHAP authentication.
no user-db
This command configures a preference number that indicates the relative preference assigned to a tunnel when using a weighted session assignment.
The no form of this command removes the preference value from the tunnel configuration.
no preference
This command configures the RADIUS accounting policy.
The no form of this command reverts to the default value.
no radius-accounting-policy
This command configures the L2TP receive window size.
receive-window-size 64
This command replaces CDN Result-Code 4, 5 and 6 on LNS with the Result Code 2. This is needed for interoperability with some implementation of LAC which only takes action based on CDN Result-Code 2 while ignoring CDN Result-Code 4, 5 and 6.
no replace-result-code
This command configures the amount of time, in milliseconds, that the system waits before declaring an L2TP tunnel down when the remote endpoint IP address cannot be resolved to an active IP route in the local routing table.
The default behavior is for the L2TP tunnel to not be declared down based on the remote endpoint IP address reachability.
The no form of this command returns the rtm-debounce-time to a value of 0.
no rtm-debounce-time
This command configures the session assignment method.
The no form of this command reverts to the default value.
no session-assign-method
This command enables the context to configure L2TP Tunnel Selection Blacklist parameters.
This command will force the tunnel to the blacklist and render it unavailable for new sessions for the duration of preconfigured time. Peers are always forced to the black list in case that they time out (failure to receive response to control packets). In addition to time outs, certain events can be used to trigger placement of the tunnel on the black list.
add-tunnel never
Return code | Tunnels added to blacklist |
cdn-err-code | A tunnel is forced to the blacklist if that CDN message with the Result Code 2 (Call disconnected for the reasons indicated in error code) is received. |
cdn-inv-dest | A tunnel is forced to the blacklist if that CDN message with the Result Codes 6 (Invalid destination) is received. |
cdn-tmp-no-facilities | A tunnel is forced to the blacklist if that CDN message with the Result Code 4 is received (Call failed due to lack of appropriate facilities being available - temporary condition) is received. |
cdn-perm-no-facilities | A tunnel is forced to the blacklist if that CDN message with the Result Codes 5 (Call failed due to lack of appropriate facilities being available - permanent condition) is received. |
tx-cdn-not-established-in-time | A tunnel is forced to the blacklist if that CDN message with the Result Code 10 (Call was not established within time allotted by LAC) is sent from the LAC to the LNS. |
stop-ccn-err-code | A tunnel is forced to the blacklist if that StopCCN message with the Result Code 2 (General error – Error Code indicates the problem) is sent or received. |
stop-ccn-other | A tunnel is forced to the blacklist if that StopCCN message with the following Result Codes is received: (1) General request to clear control connection (4) Requester is not authorized to establish a control channel (5) Protocol version not supported (6) Requester is being shutdown Or in the case that the StopCCN with the following result codes is transmitted: (4) Requester is not authorized to establish a control channel. (5) Protocol version not supported The receipt of the following Result Codes will NEVER blacklist a tunnel: (0) Reserved (3) Control channel already exist (7) Finite state machine error (8) Undefined Transmission of the following Result Codes will NEVER blacklist a tunnel: (1) General request to clear control connection (3) Control channel already exist (6) Requester is being shutdown (7) Finite state machine error |
addr-change-timeout | A timed-out tunnel for which the peer IP address has changed mid-session (from the one that is provided initially during configuration) is forced to the blacklist. In absence of this configuration option, only the configured peer for the tunnel is, but not the tunnel itself which now has a different peer address than the one initially configured. |
This command configures a string to be compared to the host name used by the tunnel peer during the authentication phase of tunnel establishment.
no remote-name
This command specifies how new sessions are assigned to one of the set of suitable tunnels that are available or could be made available.
The no form of this command reverts to the default value.
session-assign-method existing-first
This command configures the session limit. The value controls how many L2TP sessions will be allowed within a given context (system, group, tunnel).
The no form of this command removes the value from the configuration.
no session-limit
This command configures an L2TP tunnel. A tunnel exists between a LAC-LNS pair and consists of a Control Connection and zero or more L2TP sessions. The tunnel carries encapsulated PPP datagrams and control messages between the LAC and the L2TP Network Server (LNS).
The no form of this command removes the tunnel name from the configuration.
This command configures the session limit. The value controls how many L2TP session will be allowed within a given context (system, group, tunnel).
The no form of this command removes the session limit value from the configuration.
no group-session-limit
This command replaces CDN Result-Code 4, 5 and 6 on LNS with the Result Code 2. This is needed for interoperability with some implementation of LAC which only takes action based on CDN Result-Code 2, while ignoring CDN Result-Code 4, 5 and 6.
The no form of this command reverts to the default.
By default, the LAC df-bit-lac is always set and sends all L2TP packets with the DF bit set to 1. The DF bit is configurable to allow downstream routers to fragment the L2TP packets. The LAC itself will not fragment L2TP packets. L2TP packets that have a larger MTU size than what the LAC egress ports allows are dropped.
The no form of this command reverts to the default.
df-bit-lac always
By default, the LAC df-bit-lac is set to default and sends all L2TP packets with the DF bit set to 1. The DF bit is configurable to allow downstream routers to fragment the L2TP packets. The LAC will not fragment L2TP packets. L2TP packets that have a larger MTU size than what the LAC egress ports allows are dropped. The configuration of the df-bit can be overridden at different levels: l2tp, tunnel, and group. The configuration at the tunnel level overrides the configuration on both the group and l2tp levels. The configuration at the group level overrides the configuration on l2tp.
The no form of this command reverts to the default.
df-bit-lac default
This command specifies the L2TP AVPs that should be ignored in L2TP session control.
The no form of this command reverts to the default.
This command specifies if this tunnel is to be automatically set up by the system.
no auto-establish
This command configures the group interface where the PPP sessions are established when the authentication server does not specify the group interface.
The no form of this command removes the interface name or service ID from the configuration.
This variant of the command is only supported in 'classic' configuration-mode (configure system management-interface configuration-mode classic). The default-group-interface ip-int-name service-name svc-name variant can be used in all configuration modes.
id: | 1 to 2147483647 |
svc-name: | up to 64 characters (svc-name is an alias for input only. The svc-name gets replaced with an id automatically by SR OS in the configuration). |
This command enables the LCP Asynchronous Control Character Map (ACCM) configuration option. When enabled, the LCP ACCM configuration option is acknowledged during LCP negotiation between the LNS and the PPP client. The option is then ignored and no ACCM mapping is done.
By default, the LCP ACCM configuration option is rejected.
The no form of this command disables the LCP ACCM configuration option.
This command configures PPP for the L2TP tunnel group.
This command configures PPP for the L2TP tunnel.
This command enables the LCP Asynchronous Control Character Map (ACCM) configuration option. When enabled, the LCP ACCM configuration option is acknowledged during LCP negotiation between the LNS and the PPP client. The option is then ignored and no ACCM mapping is done.
By default, an L2TP tunnel inherits the configuration from the L2TP group CLI context.
The no form of this command disables the LCP ACCM configuration option.
This command enables the context to configure L2TP Tunnel Selection Blacklist parameters.
This command forces the tunnel to the blacklist and renders it unavailable for new sessions for the duration of pre-configured time. Peers are always forced to the blacklist in case that they time out (failure to receive response to control packets). In addition to time outs, certain events can be used to trigger placement of the tunnel on the blacklist.
The no form of this command reverts to the default.
add-tunnel never
(4) Requestor is not authorized to establish a control channel
(5) Protocol version not supported
(6) Requestor is being shut down or, in the case that the StopCCN with the following result codes is transmitted:
(4) Requestor is not authorized to establish a control channel.
(5) Protocol version not supported The receipt of the following Result Codes never blacklists a tunnel:
(0) Reserved
(3) Control channel already exist
(7) Finite state machine error
(8) Undefined
Transmission of the following Result Codes never blacklists a tunnel:
(1) General request to clear control connection
(3) Control channel already exist
(6) Requestor is being shutreplace-result-codedown
(7) Finite state machine error
addr-change-timeout — Specifies a timed-out tunnel for which the peer IP address has changed mid-session (from the one that is provided initially during configuration) is forced to the blacklist. In absence of this configuration option, only the configured peer for the tunnel is blacklisted, but not the tunnel itself which now has a different peer address than the one initially configured.
This command specifies the number of tunnels or peers that can be in the tunnel-selection-blacklist. If a tunnel or peer needs to be added to the blacklist and the blacklist is full, the system removes the item (tunnel or peer) from the blacklist that was in this blacklist for the longest time.
The no form of this command reverts to the default.
max-list-length unlimited
This command configures time for which an entity (peer or a tunnel) are kept in the blacklist.
The no form of this command reverts to the default.
max-time 5
This command defines an action that is executed on the entity (peer/tunnel) in the blacklist once the entity becomes eligible for selection again.
The no form of this command reverts to the default.
timeout-action remove-from-blacklist
This command configures the L2TP session limit for each tunnel of the specified router.
The no form of this command removes the tunnel session limit value from the configuration.
no tunnel-session-limit
This command sets the tunnel-id range that is used to allocate a new tunnel-id for a tunnel for which no multi-chassis redundancy is configured.
The no form of this command is a double negation and means all tunnel-IDs are configured for multi-chassis redundancy.
Sets the tunnel-id range to the full tunnel-id range available on this system meaning that by default no tunnel-ID has multi-chassis redundancy.
non-multi-chassis-tunnel-id-range default or non-multi-chassis-tunnel-id-range start 1 end <maximum tunnel-id>
The default for start l2tp-tunnel-id is 1. No tunnel-ids are available for which no multi-chassis redundancy is configured when set to 0.
The default for end l2tp-tunnel-id is the maximum tunnel-id allowed on this system. The end l2tp-tunnel-id must be set to 0 when the start l2tp-tunnel-id is set to 0 and vice versa.
This command enables the context to configure tracked SRRP instances.
This command configures a tracked SRRP instance.
The no form of this command removes the SRRP instance identifier from the configuration.
This command sets the tunnel-id range that is used to allocate a new tunnel-id for a tunnel for which multi-chassis redundancy is configured to this MCS peer.
The no form of this command reverts to the default.
This command configures the sub-set of sessions that this system attempts to synchronize in the Session State Synchronization phase as described in RFC 4951, Fail Over Extensions for Layer 2 Tunneling Protocol (L2TP).
The no form of this command reverts to the default.
recovery-max-session-lifetime 2
This command sets the recovery method to be used for newly created tunnels.
The no form of this command reverts to the default.
recovery-method mcs on config>router>l2tp>failover and config>service>vprn>l2tp>failover
recovery-method default on config>router>l2tp>group>failover
recovery-method default on config>router>l2tp>group>tunnel>failover
recovery-method default on config>service>vprn>l2tp>group>failover
recovery-method default on config>service>vprn>l2tp>group>tunnel>failover
| Note: While failover is enabled, the tunnels and sessions proper are always kept synchronized between the redundant pair, regardless of the recovery method for the sequence numbers when a failover really occurs. |
This command sets the recovery time to be negotiated via RFC 4951. It represents the extra time this L2TP peer (LAC or LNS) needs to recover all its tunnels.
The no form of this command reverts to the default.
recovery-time 0 on config>router>l2tp>failover and config>service>vprn>l2tp>failover
This command sets the sync-tag to be used to synchronize the tunnels with track-srrp srrp-id to MCS peer IP-@. The same sync-tag should be configured on the MCS peer.
The no form of this command reverts to the default.
Removes the sync-tag for the indicated track-srrp.
This command configures an L2TP tunnel.
The no form of this command removes the tunnel name from the group configuration.
This command configures a steering profile mapping. A steering profile can be applied to each L2TP LAC subscriber host that requires traffic steering.
The no form of this command removes the specified steering profile.
This command specifies a routing instance to be used as a network VAS router in the steering profile.
The no form of this command removes the router instance.
router-instance: | router-name | vprn-svc-id |
router-name: | “Base” |
vprn-svc-id: | 1 to 2147483647 |
This command creates a text description stored in the configuration file for a configuration context.
The description command associates a text string with a configuration context to help identify the content in the configuration file.
The no form of this command removes the string from the configuration.
This command specifies the downstream next-hop IP address and an optional routing instance to be used as a network VAS router in the steering profile.
The no form of this command removes the specified next-hop IP address and the router instance if specified.
router-instance: | router-name | vprn-svc-id |
router-name: | “Base” |
vprn-svc-id: | 1 to 2147483647 |
This command enables the L2TP accounting.
The no form of this command disables accounting.
This command specifies the accounting type for the L2TP tunnel accounting policy.
The no form of this command reverts to the default.
accounting-type session tunnel
Tunnel-Link-Start
Tunnel-Link-Stop
Tunnel-Link-Reject
Tunnel-Start
Tunnel-Stop
Tunnel-Reject
This command configures the accounting tunnel connection ascii-specification.
no acct-tunnel-connection-fmt
<ascii-spec> | <char-specification> <ascii-spec> | ||
char-specification | <ascii-char> | <char-origin> | ||
ascii-char | a printable ASCII character | ||
char-origin | %<origin> | ||
origin | n | s | S | t | T | c | C | ||
n | Call Serial Number | ||
s | S | Local (s) or Remote (S) Session Id | ||
t | T | Local (t) or Remote (T) Tunnel Id | ||
c | C | Local (c) or Remote (C) Connection Id | ||
This command enables the inclusion of the calling-station-id attribute in RADIUS authentication requests and RADIUS accounting messages.
no calling-station-id
This command enables the context to specify the RADIUS parameters that the system should include into RADIUS authentication-request messages.
The no form of this command disables the RADIUS attributes to be included in the policy.
This command enables the generation of the nas-identifier RADIUS attribute.
The no form of this command reverts to the default.
This command enables the generation of the nas-port RADIUS attribute. Enter decimal representation of a 32-bit string that indicates the port information. This 32-bit string can be compiled based on different information from the port (data types). Using number-of-bits data-type syntax indicates the number of bits from the 32 bits that are used for the specific data type. These data types can be combined up to 32 bits. In between the different data types 0s and 1s as bits can be added.
The no form of this command disables the nas-port configuration.
binary-spec | <bit-specification> <binary-spec> | |
bit-specification | 0 | 1 | <bit-origin> | |
bit-origin | *<number-of-bits><origin> | |
number-of-bits | 1 to 32 | |
origin | s | m | p | o | i | v | c | |
s | slot number | |
m | MDA number | |
p | port number, lag-id, pw-id or pxc-id | |
o | outer VLAN ID | |
i | inner VLAN ID | |
v | ATM VPI | |
c | ATM VCI or PXC subport (subport a = 0, subport b = 1) | |
The following output shows an example.
This command enables the generation of the nas-port-id RADIUS attribute. Optionally, the value of this attribute (the SAP ID) can be prefixed by a fixed string and suffixed by the circuit-id or the remote-id of the client connection. If a suffix is configured, but no corresponding data is available, the suffix used is 0/0/0/0/0/0.
The no form of this command reverts to the default.
This command enables the generation of the nas-port-type RADIUS attribute. If set to nas-port-type, the following values are sent: 32 (null-encap), 33 (dot1q), 34 (qinq), 15 (DHCP hosts). The nas-port-type can also be set as a specified value, with an integer from 0 to 255.
The no form of this command reverts to the default.
This command enables the context for defining RADIUS accounting server attributes under a given session authentication policy.
This command configures the algorithm used to access the list of configured RADIUS servers.
The no form of this command reverts to the default.
access-algorithm direct
This command configures the number of times the router attempts to contact the RADIUS server for authentication.
| Note: The retry count includes the first attempt. |
The no form of this command reverts to the default value.
retry 3 (the initial attempt as well as two retried attempts)
This command specifies the number of times the router attempts to contact the RADIUS server for authentication, if not successful the first time.
The no form of this command reverts to the default value.
router-name | vprn-svc-id | |
router-name | Base, management Default - Base |
vprn-svc-id | 1 to 2147483647 |
This command adds a RADIUS server and configures the RADIUS server IP address, index, and key values.
Up to five RADIUS servers can be configured at any one time. RADIUS servers are accessed in order from lowest to highest index for authentication requests until a response from a server is received. A higher indexed server is only queried if no response is received from a lower indexed server (which implies that the server is not available). If a response from a server is received, no other RADIUS servers are queried.
The no form of this command removes the server from the configuration.
This command configures the source address of the RADIUS messages.
The no form of this command reverts to the default value.
This command configures the time that the router waits for a response from a RADIUS server.
The no form of this command reverts to the default value.
timeout sec 5
This command references an existing radius-server-policy (available under the config>aaa context) for use in subscriber management authentication and accounting.
When configured in an authentication-policy, following CLI commands are ignored in the policy to avoid conflicts:
When configured in a radius-accounting-policy, following CLI commands are ignored in the policy to avoid conflicts:
The no form of this command removes the radius-server-policy reference from the configuration.
no radius-server-policy
This command specifies the RADIUS script policy to be used for accounting-request packets.
The no form of this command removes the policy from the configuration.
| Note: The command outputs in the following section are examples only; actual displays may differ depending on supported functionality and user configuration. |
This command enables the context to display various types of information for the specified router instance.
router-instance : router name | vprn-svc-id | ||
router-name | Base | management | cpm-vr-name | vpls-management | |
cpm-vr-name | [32 characters maximum] | |
vprn-svc-id | [1..2147483647] | |
The following are examples of router information.
This command enables the context to display L2TP related information.
This command displays information about configured L2TPv3 Ethernet tunnels. These Ethernet tunnels are the L2TPv3 sessions setup between the local private L2 SAP and the far end device.
If this command is executed without any parameters, then a list of all configured Ethernet tunnels are displayed.
If this command is executed with a tunnel group name or a VC-ID, then a detailed view of the associated Ethernet tunnel is displayed.
The following output is an example of L2TPv3 Ethernet tunnel information
This command displays L2TP group operational information.
The following output is an example of L2TP group operational information.
This command displays L2TP MLPPP operational information.
This command displays L2TP MLPPP bundle statistics.
The following output is an example of L2TP MLPPP bundle statistics information.
The following is an example with one MLPPP bundle (using two links).
The following is an example with two MLPPP bundles (using two links)
This command displays information regarding all configured L2TP peers.
If this command is executed without specifying a peer IP address, then a list of all L2TP peers are listed along with the type of transport used and statistics on the total number of tunnels and sessions, as well as the number of active tunnels and sessions.
If this command is executed with a specific peer IP address, then a detailed view for that peer is displayed.
The following output is an example of L2TP peer operational information.
This command displays L2TP session operational information.
ipv4-address | a.b.c.d (host bits must be 0) |
ipv6-address | x:x:x:x:x:x:x:x[-interface] |
x:x:x:x:x:x:d.d.d.d[-interface] | |
x: [0 to FFFF]H | |
d: [0 to 255]D | |
interface: 32 characters maximum, mandatory for link local addresses |
The following output is an example of L2TP session operational information.
This command displays L2TP statistics.
The following output is an example of L2TP statistics information.
This command displays L2TP tunnel operational information.
ipv4-address | a.b.c.d (host bits must be 0) |
ipv6-address | x:x:x:x:x:x:x:x[-interface] |
x:x:x:x:x:x:d.d.d.d[-interface] | |
x: [0 to FFFF]H | |
d: [0 to 255]D | |
interface: 32 characters maximum, mandatory for link local addresses |
The following output is an example of L2TP tunnel operational information.
On LAC (master node after switchover)
On LAC (slave node after switchover)
On LNS after switchover
On LAC (master node after switchover; 7536640 is the recovered tunnel, 1865089024 is the recovery tunnel)
On LAC (slave node after switchover)
On LNS after switchover (433324032 is the recovered tunnel, 1169424384 is the recovery tunnel)
This command displays L2TP VAS tunnel operational information.
The following output displays L2TP VAS tunnel information.
This command displays PPP policy information.
The following output displays PPP policy information and Table 71 describes the field descriptions.
Label | Description |
Description | Specifies the description. |
Last Mgmt Change | Specifies the date and time of the last management change. |
PPP-mtu | Specifies the configured maximum PPP MTU size. |
Force PPP-mtu >1492 | Specifies if PPPoE MRU negotiations greater than 1492 bytes are enabled without receiving a "PPP-Max-Payload" tag in the PADI/PADR client message (Yes, No). |
Keepalive Interval | Specifies the keepalive interval, in seconds. |
Keepalive Multiplier | Specifies the keepalive multiplier value. |
Disable AC-Cookies | Specifies to disable AC cookies (Yes, No). |
PADO Delay | Specifies the PADO delay value, in milliseconds. |
Max Sessions-Per-Mac | Specifies the maximum number of sessions with the same client MAC address and active on the same SAP or MSAP. |
Reply-On-PADT | Specifies to reply on PADT (Yes, No). |
Allow Same CID | Specifies to allow the same Circuit ID for multiple PPPoE sessions with the same client MAC address and active on the same SAP when using the internal DHCPv4 client for IPv4 address allocation (Yes, No). |
Re-establish Session | Specifies if a PPPoE session can be re-established upon receiving a PADR from a PPPoE client that previously disconnected without sending a PADT and for which a session is still active in the BNG (PADR, Disabled). |
PPP-Authentication | Specifies the PPP Authentication method (PAP, CHAP, pref-PAP or pref-CHAP). |
PPP-CHAP Challenge | Specifies the minimum and maximum length of a PPP CHAP Challenge (in bytes). |
PPP-Init-Delay (ms) | Specifies the delay in milliseconds for sending an LCP configure request after the discovery phase. |
IPCP negotiate subnet | Specifies if IPCP subnet negotiation is enabled (Yes, No). |
Unique SIDs-Per-SAP | Specifies the unique SIDs per-SAP (disabled, per-capture-sap, per-msap). |
Reject-Disabled-Ncp | Specifies if an LCP protocol reject is sent for an unconfigured NCP (Yes, No). |
Ignore-Magic-Num | Specifies if the LCP peer magic number should be ignored (Yes, No). |
Session Timeout | Specifies the session timeout value in seconds (default = unlimited). |
SID Allocation | Specifies the PPPoE Session ID allocation method (sequential, random). |
PADO AC-Name | Specifies the AC name used in PADO messages. |
Default username | Specifies the default username for PAP or CHAP authentication. |
Default password | Specifies the default PAP password (Specified, Not specified). |
Accept MRRU | Specifies to accept MRRU (true, false). |
Request short sequence nr. | Specifies to request short sequence numbers (true, false). |
Endpoint class | Specifies the endpoint class (null, ipv4-address or mac-address). |
Endpoint address | Specifies the endpoint IPv4 or mac address. |
This command displays PPPoE session information.
The following output displays PPPoE session information.
This command displays PPPoE statistics.
The following output displays PPPoE statistics information.
This command displays PPPoE summary information.
This command displays L2TP peer operational information.
ip-address | ipv4-address - a.b.c.d |
ipv6-address | x:x:x:x:x:x:x:x (eight 16-bit pieces) |
x:x:x:x:x:x:d.d.d.d | |
x - [0 to FFFF]H | |
d - [0 to 255]D | |
draining | keyword |
statistics | keyword |
port | [1 to 65535] |
The following output is an example of L2TP peer information.
This command displays L2TP system information.
The following output is an example of L2TP system information.
This command displays synchronization information.
The following output is an example of multi-chassis sync information.
This command enters the context in which to clear various parameters for the specified router-instance.
router-instance : router-name | ||
router-name | Base | management | vpls-management | cpm-vr-name | |
cpm-vr-name | [32 characters maximum] | |
This command enables the context to clear L2TP data.
This command clears L2TP data.
This command clears statistics for the specified context.
This command clears L2TP tunnel data.
This command purges tunnels from the L2TP tunnel selection blacklist.
This command clears L2TP peer data.
ipv4-address: | a.b.c.d | |
ipv6-address: | x:x:x:x:x:x:x:x (eight 16-bit pieces) | |
x:x:x:x:x:x:d.d.d.d | ||
x: | [0 to FFFF]H | |
d: | [0 to 255]D | |
This command purges peers from the L2TP tunnel selection blacklist.
This command clears L2TP session data.
This command clears L2TP data.
This command sets debugging for L2TP packets.
The no form of this command removes the settings of debugging for L2TP packet.
This command enables debugging for the L2TP tunnel associated with a specified assignment ID, up to 63 characters.
This command enables packet debugging.
The no form of this command disables packet debugging.
This command configures the L2TP packet debugging level of detail.
This command enables debugging for DHCP client packet.
The no form of this command disables debugging for DHCP client packet.
This command enables debugging for packet direction.
This command selects protocol for PPP packet debugging.
The no form of this command disables the protocols selection for PPP packet debugging.
This command enables debugging for an L2TP tunnel group.
This command enables and configures debugging for an L2TP peer.
This command enables debugging for an L2TP tunnel.
This command enables and configures debugging for the L2TP tunnel with a given assignment ID.
This command configures an L2TP debugging event.
This command enables and configures debugging for an L2TP group.
This command enables and configures debugging for an L2TP peer.
This command enables and configures debugging for an L2TP tunnel.
This command configures L2TP LAC state recovery event debugging.
This command configures L2TP LAC state recovery failed event debugging.
This command enables and configures PPP debugging.
This command enables debugging for specific PPPoE events.
This command enables debugging for specific DHCP client events.
This command enables debugging for PPP events.
This command shows PPP packets for the specified MAC address.
This command enables debugging for specific PPPoE packets.
This command configures the PPP packet tracing detail level.
This command enables debugging for specific DHCP client packets.
This command enables debugging for specific PPP discovery packets.
This command configures the PPP packet tracing mode.
This command enables debugging for specific PPP packets
This command debugs PPP packets for the specified SAP.
This command enables the context to configure performance tools for L2TP.
This command enables the context to configure performance tools for L2TP tunnel group.
This command triggers an attempt to drain a specified L2TP tunnel group.
This command triggers an attempt to immediately stop all the L2TP connections within the specified L2TP tunnel group.
This command enables the context to configure performance tools for a specified L2TP tunnel.
This command triggers an attempt to drain a specified L2TP tunnel.
This command triggers an attempt to start the control connection for a specified L2TP tunnel.
This command triggers an attempt to immediately stop all the L2TP connections within the specified L2TP tunnel.
This command configures performance tools for an L2TP peer.
This command triggers an attempt to drain a specified L2TP peer.
This command configures performance tools for a specified L2TP session.