10-11-2022 04:28 AM
Greetings colleagues.
Without your help, nowhere
There is the following topology:
CE -> ncs540->asr9010 -> dhcp asr 9010
between ncs540 is configured XC to asr9010 on which the bridge domain is configured.
between asr 9010 and dhcp server direct link.
it is necessary for the client to hang option 82 on the asr9010 and send it to the dhcp server.
I figured out how to enable the options, but how can I set the format for the circuit_id?
asr9010 config:
dhcp ipv4
profile TEST_SNOOP snoop
trusted
relay information option
relay information option remote-id format-type ascii 6918
!
l2vpn
bridge group test_arp_insp_snoop
bridge-domain test_arp
mtu 8990
interface Bundle-Ether7.69
!
neighbor 100.0.0.2 pw-id 69
!
neighbor 100.0.0.2 pw-id 6918
dhcp ipv4 snoop profile TEST_SNOOP
split-horizon group
!
!
!
!
OUTPUT from DHCP server:
RP/0/RSP0/CPU0:Oct 11 11:14:33.753 UTC: dhcpd[1119]: DHCPD_FILTER_PACKET: pktRx id 293: option: RELAY_INFORMATION: CIRCUIT_ID: 0x00-04-00-45-00-00
RP/0/RSP0/CPU0:Oct 11 11:14:33.753 UTC: dhcpd[1119]: DHCPD_FILTER_PACKET: pktRx id 293: option: RELAY_INFORMATION: REMOTE_ID: 6918
10-11-2022 08:45 AM
is this what you are looking for?
RP/0/RSP0/CPU0:ASR-9001-E(config)#dhcp ipv4
RP/0/RSP0/CPU0:ASR-9001-E(config-dhcpv4)#interface t tenGigE 0/0/0/0 proxy information option format-type circuit-id format-string "tenGigE 0/0/0/0 :%s" ?
^
% Invalid input detected at '^' marker.
RP/0/RSP0/CPU0:ASR-9001-E(config-dhcpv4)#interface tenGigE 0/0/0/0 proxy information option format-type circuit-id format-string "tenGigE 0/0/0/0:% s ?
Warning: end-quote required for quoted string.
WORD
RP/0/RSP0/CPU0:ASR-9001-E(config-dhcpv4)#interface tenGigE 0/0/0/0 proxy information option format-type circuit-id format-string "tenGigE 0/0/0/0:% s" ?
inner-vlan-id Inner vlan id tag
outer-vlan-id Outer vlan id tag
physical-chassis Rack
physical-port Port
physical-slot Slot
physical-subport Subport
physical-subslot Subslot
RP/0/RSP0/CPU0:ASR-9001-E(config-dhcpv4)#interface tenGigE 0/0/0/0 proxy information option format-type circuit-id format-string "tenGigE 0/0/0/0:% RP/0/RSP0/CPU0:ASR-9001-E(config-dhcpv4)#$mat-type circuit-id format-string "tenGigE 0/0/0/0:%s" outer-vlan-id ?
inner-vlan-id Inner vlan id tag
outer-vlan-id Outer vlan id tag
physical-chassis Rack
physical-port Port
physical-slot Slot
physical-subport Subport
physical-subslot Subslot
<cr>
RP/0/RSP0/CPU0:ASR-9001-E(config-dhcpv4)#$mat-type circuit-id format-string "tenGigE 0/0/0/0:%s" outer-vlan-id
10-11-2022 09:13 AM
@tkarnani Thanks for the answer!
yes, it is, but I want to do it for a neighbor in the bridge domain.
The point is that the NCS 540 acts as an access device and it is not possible to hang option 82 on it
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide