In this example, circuit-id is 500, and remote-id is hello.
SEFOS# configure terminal SEFOS(config)# interface vlan 1 SEFOS(config-if)# ip dhcp relay circuit-id 500 SEFOS(config-if)# ip dhcp relay remote-id hello SEFOS(config-if)# end
SEFOS# show ip dhcp relay information
The output in the switch is:
Dhcp Relay : Enabled Dhcp Relay Servers only : Enabled DHCP server : 20.0.0.1 Dhcp Relay RAI option : Enabled Default Circuit Id information : router-index Debug Level : 0x1 No of Packets inserted RAI option : 0 No of Packets inserted circuit ID suboption : 0 No of Packets inserted remote ID suboption : 0 No of Packets inserted subnet mask suboption : 0 No of Packets dropped : 0 No of Packets which did not inserted RAI option : 0 Interface vlan1 Circuit ID : 500 Remote ID : hello
SEFOS# show ip dhcp relay information vlan 1 Interface vlan1 Circuit ID : 500 Remote ID : hello