Verifying dynamic DHCP options for a switch
You can identify dynamically obtained DHCP options for a switch.
- On a switch enter the
show running-configcommand. Examine the output to identify dynamically obtained options. These options have a “dynamic” tag appended to them in the running configuration.device> show running-config Current configuration: ! ver 08.0.61b1T211 ! stack unit 1 module 1 icx7250-24-port-management-module module 2 icx7250-sfp-plus-8port-80g-module ! ! ! vlan 1 name DEFAULT-VLAN by port ! ! ! hostname TestHostName dynamic ip address 10.10.10.2 255.255.255.0 dynamic ip dns domain-list ManualDomain.com ip dns domain-list testStaticDomain.com ip dns domain-list testDomain.com dynamic ip dns server-address 20.20.20.8 20.20.20.9 20.20.20.5 10.10.10.5(dynamic) ip default-gateway 10.10.10.1 dynamic ! ! ! interface ethernet 1/1/21 disable ! interface ethernet 1/2/2 speed-duplex 1000-full ! interface ethernet 1/2/4 speed-duplex 1000-full ! interface ethernet 1/2/5 speed-duplex 1000-full ! interface ethernet 1/2/6 speed-duplex 1000-full ! interface ethernet 1/2/7 speed-duplex 1000-full ! interface ethernet 1/2/8 speed-duplex 1000-full ! ! ! lldp run ! ! end
- On a switch enter the
show configurationcommand. Examine the output to identify dynamically obtained options. These options have a “dynamic” tag appended to them in the running configuration.device> show configuration Startup-config data location is flash memory ! Startup configuration: ! ver 08.0.61b1T211 ! stack unit 1 module 1 icx7250-24-port-management-module module 2 icx7250-sfp-plus-8port-80g-module ! ! vlan 1 name DEFAULT-VLAN by port ! ! ! ! ip address 10.10.10.2 255.255.255.0 dynamic ip dns domain-list ManualDomain.com ip dns domain-list testStaticDomain.com ip dns server-address 20.20.20.8 20.20.20.9 20.20.20.5 ip default-gateway 10.10.10.1 dynamic ! ! ! interface ethernet 1/1/21 disable ! interface ethernet 1/2/2 speed-duplex 1000-full ! interface ethernet 1/2/4 speed-duplex 1000-full ! interface ethernet 1/2/5 speed-duplex 1000-full ! interface ethernet 1/2/6 speed-duplex 1000-full ! interface ethernet 1/2/7 speed-duplex 1000-full ! interface ethernet 1/2/8 speed-duplex 1000-full ! lldp run ! end