Configuring Basic Networking on a PE
SUMMARY STEPS
1. hostname hostname
2. ip host hostname ip-address
3. ip name-server ip-address
4. interface interface-name
5. ip address ip-address mask
6. no shutdown
DETAILED STEPS
Command or Action
Step 1
hostname hostname
Example:
server(config)# hostname ccnsr.com
Step 2
ip host hostname ip-address
Example:
server(config)# ip host ccnsr.com 172.16.0.2
Step 3
ip name-server ip-address
Example:
server(config)# ip name-server
Step 4
interface interface-name
Example:
server(config)# interface eth0
server(config-if)#
Step 5
ip address ip-address mask
Example:
server(config-if)# ip address 172.17.0.3
255.255.255.0
Step 6
no shutdown
Example:
server(config-if)# no shutdown
What to Do Next
Configure the XMPP server.
Cisco Network Positioning System Configuration Guide for the Cisco ASR 1000 Router, Release 1.0
2
General Configuration of the Network Positioning System
Purpose
Configures a hostname for the router.
Specifies the IP address of the running XMPP server.
Specifies the address of the name server. This
command is required only if the ip host command is
not used.
Enters interface configuration mode to enable an
interface.
Configures the IP address of the interface.
Enables the interface.
OL-25794-01
Need help?
Do you have a question about the ASR1002 - ASR 1002 Router and is the answer not in the manual?
Questions and answers