Solved

Purpose of configuring Domain Name in cisco Router and ASA

Posted on 2014-12-09
7
69 Views
Last Modified: 2015-08-23
I have seen some examples where domain name is configured in Cisco Router or ASA Firewall.
I am not sure the purpose of it in real world.
Any idea?

Thanks
0
Comment
Question by:jskfan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 6

Assisted Solution

by:Matt
Matt earned 167 total points
ID: 40488391
If you want to access device using SSH, domain name is mandatory for creating keys (it generates them using FQDN (hostname + domain name)).
0
 

Author Comment

by:jskfan
ID: 40488736
Which keys?
Do you have an example?

Thanks
0
 
LVL 30

Assisted Solution

by:Predrag Jovic
Predrag Jovic earned 333 total points
ID: 40488959
!hostname cannot be default
Router(config)# hostname R1
!create user with password for login
R1(config)# username cisco secret cisco
!
R1(config)# ip domain-name my.net
R1(config)# crypto key generate rsa
!
How many bits in the modulus [512]: 1024
!
% Generating 1024 bit RSA keys ...[OK]
!
R1(config)# line vty 0 4
R1(config-line)# login local
R1(config-line)# transport input ssh

This will create crypto key.
Hostname of switch or router cannot be default, and domain must be created (as Matt already said).
0
Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

 

Author Comment

by:jskfan
ID: 40489084
In the LAB, I can create Switches and Routers without naming them and it still works as long as they have IP addresses on the interfaces.
As long as Domain name, I have not try to create one in the LAB
0
 
LVL 30

Accepted Solution

by:
Predrag Jovic earned 333 total points
ID: 40489161
Switches and routers do their work without creating any domain (there is default domain), but one example why you need to create domain name other then default value is SSH. On routers, switches etc, default domain name is default.domain.invalid as you can see in documentation, in some cases (for specific purposes) host name and domain name cannot be at default values.
0
 

Author Comment

by:jskfan
ID: 40489637
in some cases (for specific purposes) host name and domain name cannot be at default values.
- That's what I was trying to find out.  the purpose.
- does it have to match the company hosted domain ?
0
 

Author Closing Comment

by:jskfan
ID: 40943222
Thank you Guys
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question