Cisco IOS CLI | Cisco NX-OS CLI | |
---|---|---|
Enabling the DHCP Feature |
Cisco IOS Software enables the feature dhcp by default | feature dhcp |
---|
Enabling the DHCP Service |
service dhcp (enabled by default) | ip dhcp relay |
---|
Configuring Option 82 Information |
ip dhcp relay information option | ip dhcp relay information option |
---|
Configuring DHCP Relay on an Interface |
interface gigabitethernet 1/1
ip address 192.168.10.1 255.255.255.0 ip helper-address 1.1.1.1 | interface ethernet 1/1
ip address 192.168.10.1/24 ip dhcp relay address 1.1.1.1 |
---|
Configuring Inter-VRF DHCP-Relay on an Interface |
The Catalyst 6500 IOS Software does not support VRF-Aware DHCP-Relay
interface gigabitethernet 1/1 ip address 192.168.10.1 255.255.255.0 ip helper-address vrf common-services 1.1.1.1 | ip dhcp relay information option
ip dhcp relay information option vpn
ip address 192.168.10.1/24 ip dhcp relay address 10.10.10.10 use-vrf common-services |
---|
Verification Command Comparison
The following table compares some useful show commands for verifying and troubleshooting the DHCP-Relay feature.
Cisco NX-OS DHCP-Relay | Cisco IOS Software DHCP-Relay | Command Description |
---|---|---|
show ip dhcp relay | - | Displays all DHCP-Relay configuration information |
show ip dhcp relay address | - | Displays a list of DHCP-Relay(s) configured for all interfaces |
show ip dhcp relay address interface | - | Displays the DHCP-Relay(s) configured for a specific interface |
No comments:
Post a Comment