2.1 Basic Device Configuration

Configuring Router Interfaces

Routers support both WANs and LANs thus they can interconnect multiple types of networks. Due to this, Routers support many types of interfaces.

G2 ISRs (Generation 2 Integrated Services Routers) have one or two integrated Gigabit Ethernet interfaces and HWIC (High-Speed WAN Interface Card) slots to accommodate many different types of network interfaces, like for example Cable, Serial and DLS connections/interfaces.

For an interface to become available first we will need to configure it as follows

Router Interface Configuration

Enter Global Configuration Mode

R1> enable
R1# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.

Enter Interface Configuration Mode

R1# interface [interface-id]

Assign an IPv4 Address and a subnet mask to the interface

R1(config-if)# ip address [ip-address] [subnet-mask]

Assign an IPv6 Address and a prefix length (if applicable)

R1(config-if)# ipv6 address [ipv6 address/prefix]

Assign an IPv6 Link-Local Address (if applicable)

R1(config-if)# ipv6 address [ipv6 address/prefix] link-local

(optional) Assign a short description to the interface

R1(config-if)# description [description]

Enable the Interface

R1(config-if)# no shutdown

Exit interface configuration mode

R1(config-if)# exit
R1#
Interface Configuration Complete Example
R1> enable
R1# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R1# interface gigabitethernet 0/0/0
R1(config-if)# ip address 192.168.1.1 255.255.255.0
R1(config-if)# ipv6 address 2001:db8:cafe:1::1/64
R1(config-if)# ipv6 address fe80::1 link-local
R1(config-if)# description Link to LAN
R1(config-if)# no shutdown
R1(config-if)# exit
R1#