Basic Router Configration
Basic Router Configration
Basic Router Configration
Configuration
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 2
Configure Initial Router Settings
Basic Router Configuration Steps
• Configure the device name. Router(config)# hostname hostname
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 3
6.2 Configure Interfaces
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 4
Configure Interfaces
Configure Router Interfaces
Configuring a router interface includes issuing the following commands:
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 5
Configure Interfaces
Configure Router Interfaces Example
The commands to configure interface G0/0/0 on R1 are shown here:
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 6
Configure Interfaces
Configure Router Interfaces Example (Cont.)
The commands to configure interface G0/0/1 on R1 are shown here:
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 7
Configure Interfaces
Verify Interface Configuration
To verify interface configuration use the show ip interface brief
and show ipv6 interface brief commands shown here:
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8
6.3 Configure the Default
Gateway
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 9
Configure the Default Gateway
Default Gateway on a Host
• The default gateway is used
when a host sends a packet to a
device on another network.
• The default gateway address is
generally the router interface
address attached to the local
network of the host.
• To reach PC3, PC1 addresses a
packet with the IPv4 address of
PC3, but forwards the packet to
its default gateway, the G0/0/0
interface of R1.
Note: The IP address of the host and the router
interface must be in the same network.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10
Configure the Default Gateway
Default Gateway on a Switch
MEDIA IS WORKING ON A
• A switch must have a
CORRECTED VERSION OF THE
default gateway address
GRAPHIC FROM 10.3.2.
configured to remotely
IT IS WRONG ON AR, AND ON THE
manage the switch from
GLOBAL BUG LIST
another network.
• To configure an IPv4
default gateway on a
switch, use the ip default-
gateway ip-address
global configuration
STOP
command.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11