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.
The no form of this command places the entity into an administratively enabled state.
The no form of the command enables cookies.
keepalive seconds [hold-up-multiplier
multiplier]
The no form of the command reverts to the default value.
The no form of the command reverts to the default value.
The no form of the command reverts all PPPoE parameters from the PPPoE context to their defaults.
The no form of the command disables the feature.
If an authentication policy is also configured, pppoe-access-method must be set to none in this authentication policy to use the local user database (in that case RADIUS authentication will not be used for PPPoE hosts).
The no form of the command reverts to the default value.
The no form of the command excludes called station id attributes.
This command enables the inclusion of the calling-station-id attribute in RADIUS authentication requests and RADIUS accounting messages. The value inserted is set at the SAP level. If no calling-station-id value is set at the SAP level, the calling-station-id attribute will not be sent.
[no
] nas-port
bit-specification binary-spec
The no form of this command disables your nas-port configuration.
*12o*12i00*2s*2m*2p => oooo oooo oooo iiii iiii iiii 00ss mmpp
If outer vlan = 0 & inner vlan = 1 & slot = 3 & mda = 1 & port = 1
=> 0000 0000 0000 0000 0000 0001 0011 0101 => nas-port = 309
[no
] nas-port-id
[prefix-string
string] [suffix
suffix-option]
The no form of the command reverts to the default.
The no form of the command reverts to the default value.
The no form of the command reverts to the default value.
server server-index address
ip-address secret
key [hash
| hash2
] [port
port] [create
]
The no form of the command removes the server from the configuration.
The no form of the command reverts to the default value.
The no form of the command reverts to the default value.
*A:ALA-49>show>subscr-mgmt# pppoe-policy policy1
===============================================================================
PPPoE Policy "policy1"
===============================================================================
Last Mgmt Change : 11/16/2003 20:06:39 PPP-mtu : N/A
Keepalive Interval : 10s Keepalive Multiplier : 1
Disable AC-Cookies : No PADO Delay : 0msec
Max Sessions-Per-Mac : 63 Reply-On-PADT : No
-------------------------------------------------------------------------------
PPP Custom Options
-------------------------------------------------------------------------------
Protocol Number Value
-------------------------------------------------------------------------------
No options configured.
===============================================================================
*A:ALA-49>show>subscr-mgmt# pppoe-policy policy1 association
===============================================================================
PPPoE Policy "policy1"
===============================================================================
-------------------------------------------------------------------------------
Interface Associations
-------------------------------------------------------------------------------
Service-Id : 20 (IES)
- grp_pppoe1
- grp_pppoe2
- grp_pppoe3
===============================================================================
*A:ALA-49>show>subscr-mgmt#
session [interface
ip-int-name | ip-address | sap
sap-id] [session-id
session-id] [mac
ieee-address] [ip-address
ip-address[/mask]] [port
port-id] [no-inter-dest-id
| inter-dest-id
intermediate-destination-id] [detail
| statistics
]
session l2tp-connection-id connection-id [detail
|statistics
]
*A:ALA-49#show service id 20 pppoe session
===============================================================================
PPPoE sessions for svc-id 20
===============================================================================
Sap Id Mac Address Sid Up Time IP Address
-------------------------------------------------------------------------------
1/1/3:200 00:00:00:00:00:03 1 1d 00:48:39 20.0.0.101
1/1/3:300 00:00:00:00:00:05 1 0d 00:01:08 30.0.0.119
-------------------------------------------------------------------------------
Number of sessions : 2
===============================================================================
*A:ALA-49#
*A:ALA-49# show service id 20 pppoe session ip-address 20.0.0.101 detail
===============================================================================
PPPoE sessions for svc-id 20
===============================================================================
Sap Id Mac Address Sid Up Time IP Address
-------------------------------------------------------------------------------
1/1/3:200 00:00:00:00:00:03 1 1d 00:49:46 20.0.0.101
LCP State : Opened
IPCP State : Opened
PPP MTU : 1492
PPP Auth-Protocol : PAP
PPP User-Name : user4@domain1
Subscriber-interface : sub_pppoe
Group-interface : grp_pppoe2
Subscriber Origin : RADIUS
Strings Origin : RADIUS
IPCP Info Origin : DHCP
Subscriber : "radius_papchap4"
Sub-Profile-String : "sub1"
SLA-Profile-String : "sla1"
ANCP-String : ""
Int-Dest-Id : ""
App-Profile-String : ""
Primary DNS : N/A
Secondary DNS : N/A
Primary NBNS : N/A
Secondary NBNS : N/A
Circuit-Id : 2
Remote-Id :
Session-Timeout : N/A
-------------------------------------------------------------------------------
Number of sessions : 1
===============================================================================
*A:ALA-49#
*A:ALA-49# show service id 20 pppoe session ip-address 20.0.0.101 statistics
===============================================================================
PPPoE sessions for svc-id 20
===============================================================================
Sap Id Mac Address Sid Up Time IP Address
-------------------------------------------------------------------------------
1/1/3:200 00:00:00:00:00:03 1 1d 00:50:39 20.0.0.101
Packet Type Received Transmitted
-------------------------------------------------------------------------------
LCP Configure-Request 1 2
LCP Configure-Ack 1 1
LCP Configure-Nak 1 0
LCP Configure-Reject 0 0
LCP Terminate-Request 0 0
LCP Terminate-Ack 0 0
LCP Code-Reject 0 0
LCP Echo-Request 8927 866
LCP Echo-Reply 866 8927
LCP Protocol-Reject 0 0
LCP Discard-Request 0 0
-------------------------------------------------------------------------------
PAP Authenticate-Request 1 -
PAP Authenticate-Ack - 1
PAP Authenticate-Nak - 0
-------------------------------------------------------------------------------
CHAP Challenge - 0
CHAP Response 0 -
CHAP Success - 0
CHAP Failure - 0
-------------------------------------------------------------------------------
IPCP Configure-Request 2 1
IPCP Configure-Ack 1 1
IPCP Configure-Nak 0 1
IPCP Configure-Reject 0 0
IPCP Terminate-Request 0 0
IPCP Terminate-Ack 0 0
IPCP Code-Reject 0 0
-------------------------------------------------------------------------------
Unknown Protocol 0 -
-------------------------------------------------------------------------------
Number of sessions : 1
===============================================================================
*A:ALA-49#
*A:Dut-C# show service id 2000 pppoe session detail
===============================================================================
PPPoE sessions for svc-id 2000
===============================================================================
Sap Id Mac Address Sid Up Time Type
IP/L2TP-Id/Interface-Id
-------------------------------------------------------------------------------
2/1/5:2000 00:01:00:00:04:15 1 0d 00:05:07 Local
200.1.5.22
LCP State : Opened
IPCP State : Opened
IPv6CP State : Initial
PPP MTU : 1492
PPP Auth-Protocol : None
PPP User-Name : (Not Specified)
Subscriber-interface : ies-2000-200.1.1.1
Group-interface : grp-Vprn-2/1/5
Subscriber Origin : RADIUS
Strings Origin : RADIUS
IPCP Info Origin : RADIUS
IPv6CP Info Origin : None
Subscriber : "hpolSub43"
Sub-Profile-String : "hpolSubProf2"
SLA-Profile-String : "hpolSlaProf1"
ANCP-String : ""
Int-Dest-Id : "2000"
App-Profile-String : ""
Category-Map-Name : ""
Primary DNS : N/A
Secondary DNS : N/A
Primary NBNS : N/A
Secondary NBNS : N/A
Address-Pool : N/A
IPv6 Prefix : N/A
IPv6 Del.Pfx. : N/A
Primary IPv6 DNS : N/A
Secondary IPv6 DNS : N/A
Circuit-Id : circuit 0
Remote-Id : remote 00-00-00-00-00-00-eth0-2
Service-Name :
Session-Timeout : N/A
RADIUS Class :
RADIUS User-Name : 00:01:00:00:04:15
Data link : aal5
Encaps 1 : notAvailable
Encaps 2 : pppoaLlc
-------------------------------------------------------------------------------
Overrides
-------------------------------------------------------------------------------
Direction Type Key PIR CIR CBS MBS
-------------------------------------------------------------------------------
Egress Agg-Rate-Limit N/A 24125940 N/A N/A N/A
-------------------------------------------------------------------------------
No. of Overrides: 1
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Number of sessions : 1
===============================================================================
*A:Dut-C#
statistics [{sap
sap-id | interface
ip-int-name | ip-address}]
*A:ALA-49# show service id 20 pppoe statistics
===============================================================================
PPPoE statistics for IES service 20
===============================================================================
Packet Type Received Transmitted
-------------------------------------------------------------------------------
PADI 2 -
PADO - 2
PADR 2 -
PADS - 2
PADT 0 0
session 9838 9839
-------------------------------------------------------------------------------
Drop Counters
-------------------------------------------------------------------------------
Rx Invalid Version : 0
Rx Invalid Type : 0
Rx Invalid Code : 0
Rx Invalid Session : 0
Rx Invalid Length : 0
Rx Invalid Tags : 0
Rx Invalid AC-Cookie : 0
Rx Dropped : 0
===============================================================================
*A:ALA-49#
session {interface
ip-int-name | ip-address | sap
sap-id} [mac
ieee-address] [session-id
session-id] [ip-address
ip-address[/mask]] [port
port-id] [no-inter-dest-id
| inter-dest-id
intermediate-destination-id] [no-padt
]
statistics [{sap
sap-id | interface
ip-int-name | ip-address}]
mode {dropped-only
| ingr-and-dropped
|egr-ingr-and-dropped
}
ppp [lcp
] [pap
] [chap
] [ipcp
]
host-lookup [mac
ieee-address] [remote-id
remote-id] [sap-id
sap-id] [service-id
service-id] [string
vso-string] [system-id
system-id] [option60
hex-string] [circuit-id
circuit-id | circuit-id-hex
circuit-id-hex]
host-lookup [mac
ieee-address] [remote-id
remote-id] [user-name
user-name] [circuit-id
circuit-id | circuit-id-hex
circuit-id-hex]
edit-ppp-session sap
sap-id ip
ip-address [subscriber
sub-ident-string] [sub-profile-string
sub-profile-string] [sla-profile-string
sla-profile-string] [inter-dest-id
intermediate-destination-id] [ancp-string
ancp-string] [app-profile-string
app-profile-string] [user-name
user-name]
edit-ppp-session svc-id
service-id ip
ip-address [subscriber
sub-ident-string] [sub-profile-string
sub-profile-string] [sla-profile-string
sla-profile-string] [app-profile-string
app-profile-string] [inter-dest-id
intermediate-destination-id] [ancp-string
ancp-string][user-name
user-name]
sap-id: null [
port-id |
bundle-id |
bpgrp-id | lag-id |
aps-id]
dot1q [
port-id |
bundle-id |
bpgrp-id | lag-id |
aps-id]:
qtag1
qinq [
port-id |
bundle-id |
bpgrp-id | lag-id]:
qtag1.qtag2
atm [
port-id |
aps-id][:
vpi/vci|
vpi|
vpi1.vpi2]
frame [
port-id |
aps-id]:
dlci
cisco-hdlc
slot/mda/port.channel
cem
slot/mda/port.channel
ima-grp [
bundle-id[:vpi/vci|vpi|
vpi1.vpi2]
port-id
slot/mda/port[.
channel]
bundle-id bundle-
type-
slot/mda.bundle-num
bundle keyword
type ima, ppp
bundle-num 1 — 256
bpgrp-id bpgrp-
type-
bpgrp-num
bpgrp keyword
type ima, ppp
bpgrp-num 1 — 1280
aps-id aps-
group-id[.
channel]
aps keyword
group-id 1 — 64
ccag-id ccag-
id.
path-id[
cc-type]:
cc-id
ccag keyword
id 1 — 8
path-id a, b
cc-type .sap-net, .net-sap
cc-id 0 — 4094
lag-
id lag-
id
lag keyword
id 1 — 200
qtag1 0 — 4094
qtag2 *, 0 — 4094
vpi NNI: 0 — 4095
UNI: 0 — 255
vci 1, 2, 5 — 65535
dlci 16 — 1022
eval-lease-state [svc-id
service-id] [sap
sap-id] [subscriber
sub-ident-string] [ip
ip-address]
sap-id: null [
port-id |
bundle-id |
bpgrp-id | lag-id |
aps-id]
dot1q [
port-id |
bundle-id |
bpgrp-id | lag-id |
aps-id]:
qtag1
qinq [
port-id |
bundle-id |
bpgrp-id | lag-id]:
qtag1.qtag2
atm [
port-id |
aps-id][:
vpi/vci|
vpi|
vpi1.vpi2]
frame [
port-id |
aps-id]:
dlci
cisco-hdlc
slot/mda/port.channel
cem
slot/mda/port.channel
ima-grp [
bundle-id[:vpi/vci|vpi|
vpi1.vpi2]
port-id
slot/mda/port[.
channel]
bundle-id bundle-
type-
slot/mda.bundle-num
bundle keyword
type ima, ppp
bundle-num 1 — 256
bpgrp-id bpgrp-
type-
bpgrp-num
bpgrp keyword
type ima, ppp
bpgrp-num 1 — 1280
aps-id aps-
group-id[.
channel]
aps keyword
group-id 1 — 64
ccag-id ccag-
id.
path-id[
cc-type]:
cc-id
ccag keyword
id 1 — 8
path-id a, b
cc-type .sap-net, .net-sap
cc-id 0 — 4094
lag-
id lag-
id
lag keyword
id 1 — 200
qtag1 0 — 4094
qtag2 *, 0 — 4094
vpi NNI: 0 — 4095
UNI: 0 — 255
vci 1, 2, 5 — 65535
dlci 16 — 1022