This is how to disable the domain lookup on IOS, IOS-XE and IOS-XR.
- IOS / IOS-XE
- IOS XR
IOS>enable
IOS#conf t
Enter configuration commands, one per line. End with CNTL/Z.
IOS(config)#no ip domain lookup
IOS(config)#
RP/0/0/CPU0:IOS-XR#conf t
RP/0/0/CPU0:IOS-XR(config)#domain lookup disable
RP/0/0/CPU0:IOS-XR(config)#commit
Thu Aug 31 14:29:26.999 UTC
RP/0/0/CPU0:IOS-XR(config)#