Tuesday 21 January 2020

PPPoE IA override Circuit/Remote ID

In this section, We are going to learn how to override the default Circuit and Remote ID.

PPPoE IA

The default behaviour of generic circuit id can be also configured with the below command

Configuration:
------------------
SW(config)#pppoe intermediate-agent format-type identifier-string string Home1 option pv delimiter #
------------------

Verification:
------------------
SW#sh pppoe intermediate-agent info
PPPoE Intermediate-Agent is enabled

Global access-node-id is default
Global generic error msg is not set
Global identifier-string Home1 delimiter #

PPPoE Intermediate-Agent trust/rate is configured on the following Interfaces:

Interface               IA         Trusted    Vsa Strip   Rate limit (pps)
----------------------- --------   -------    ---------   ----------------
GigabitEthernet0/1       yes        no         no          unlimited
PPPoE Intermediate-Agent is configured on following VLANs:
none
GigabitEthernet0/2       yes        yes        no          unlimited
PPPoE Intermediate-Agent is configured on following VLANs:
none

------------------

Tshark capture of PPPoE Discover packet:
------------------
FF FF FF FF FF FF 00 00 00 00 11 11 88 63 11 09 00 00 00 31 01 01 00 00 01 05 00 29 00 00 0D E9 01 09 48 6F 6D 65 31 20 31 23 31 02 18 30 30 30 30 2E 30 30 30 30 2E 39 39 39 39 3A 72 65 6D 6F 74 65 2D 69 64
















Let's look into TSHARK raw traffic capture, CIRCUIT ID: <Home1> <Port> < delimiter> <VLAN ID>.

Since its a global level command, it will be applied to all the PPPoE IA enabled client interface. Remember PPPoE IA agent will tag the VSA only for PADI, PADR, and PADT. 

Let's configure the Port Gi0/1 into VLAN 100 and check the same packet.

Configuration:
------------------
SW(config)#int gi0/1                                                                                                                          
SW(config-if)#switchport acess vlan 100                                          
SW(config-if)#pppoe intermediate-agent               
SW(config-if)#end                                                                            
------------------

Tshark capture of PPPoE Discover packet:
------------------

FF FF FF FF FF FF 00 00 00 00 11 11 81 00 00 64 88 63 11 09 00 00 00 33 01 01 00 00 01 05 00 2B 00 00 0D E9 01 0B 48 6F 6D 65 31 20 31 23 31 30 30 02 18 31 63 64 65 2E 61 37 37 63 2E 35 32 38 30 3A 72 65 6D 6F 74 65 2D 69 64




















If you notice the Circuit ID. Now it's having a VLAN ID 100 along with identifier string Home1 and port id.


No comments:

Post a Comment