snippetbashTip
ip — Manage IP configurations. Accessed in configuration mode. More information: <https://www.cisco.com/c
Viewed 0 times
accessedconfigurationscommandconfigurationipmanageclimode
Problem
How to use the
ip command: Manage IP configurations. Accessed in configuration mode. More information: <https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr/command/ipaddr-cr-book.html>.Solution
ip — Manage IP configurations. Accessed in configuration mode. More information: <https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr/command/ipaddr-cr-book.html>.Set the SSH version:
ip ssh version {{2}}Set the address of the device (This is done under
interface command):ip address {{10.0.0.1}} {{255.255.255.0}}Set the address to be determined with DHCP (This is done under
interface command):ip address dhcpDefine a domain name:
ip domain-name {{example.com}}Code Snippets
Set the SSH version
ip ssh version {{2}}Set the address of the device (This is done under `interface command`)
ip address {{10.0.0.1}} {{255.255.255.0}}Set the address to be determined with DHCP (This is done under `interface command`)
ip address dhcpDefine a domain name
ip domain-name {{example.com}}Context
tldr-pages: cisco-ios/ip
Revisions (0)
No revisions yet.