Está en la página 1de 1

cu hinh tnh nng PPPoE vi 7 tham s vi nh dng l : systemanme atm 0/0/0/%port :0.0.

Switch(config)#pppoe snooping enable


Switch(config)#pppoe snooping information format circuit-id user-defined "VPC.VY
N.V11 atm0/0/0/%port:0.0"
Switch(config)#pppoe snooping information format remote-id user-defined "%sysnam
e"
Cu hnh tnh nng IP DHCP Option82 cho dch v thoi: Switch ca VFT h tr mi nh dng
cho tnh nng Option82. Sau y l v d vi Option82 l nh dng c a VNPT l systemanme a
0.
SWITCH(config)# service dhcp
SWITCH(config)# ip dhcp snooping
SWITCH(config)# ip dhcp snooping vlan 400
SWITCH(config)# ip dhcp snooping trust 1
SWITCH(config)#ip dhcp option format circuit
SWITCH(config)#attr 1 length-hidden variable value string %HOSTNAME
SWITCH(config)# attr 2 length-hidden variable value string %BLANK
SWITCH(config)#attr 3 length-hidden variable value string atm
SWITCH(config)# attr 4 length-hidden variable value string %BLANK
SWITCH(config)#attr 5 length-hidden variable value string 0
SWITCH(config)# attr 6 length-hidden variable value string /
SWITCH(config)# attr 7 length-hidden variable value string %FRAME
SWITCH(config)# attr 8 length-hidden variable value string /
SWITCH(config)# attr 9 length-hidden variable value string %SLOT
SWITCH(config)# attr 10 length-hidden variable value string /
SWITCH(config)# attr 11 length-hidden variable value string %PORT
SWITCH(config)# attr 12 length-hidden variable value string :0.0
SWITCH(config)# ip dhcp option82
SWITCH(config-opt82)#trust default permit
SWITCH(config-opt82)#trust port 18 all
SWITCH(config-opt82)#policy replace
SWITCH(config-opt82)#system-remote-id use-circuit-id
SWITCH(config-opt82)#system-circuit-id 18 option format circuir

También podría gustarte