Cisco Router Subinterfaces

In: Cisco Router Config

3 May 2009

Cisco Router Subinterfaces

Subinterfaces allow you to create logical interfaces within the router. The prompt then changes to Router(config-subif)#

Router(config)#int fastethernet0/0.?
<0-4294967295> FastEthernet interface number

Router(config)#int fastethernet0/0.1
Router(config-subif)#

Line Commands
To configure user-mode passwords, use the line command. The prompt then becomes Router(config-line)#:

Router#config t
Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#line ?
<0-70> First Line number
aux Auxiliary line
console Primary terminal line
tty Terminal controller
vty Virtual terminal
x/y Slot/Port for Modems

2600A(config)#line
Router(config)#line console 0
Router(config-line)#

The line console 0 command is known as a major command (also called a global command), and any command typed from the (config-line) prompt is known as a subcommand.

Routing Protocol Configurations

To configure routing protocols such as RIP and IGRP, use the prompt (config-router)#:

Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)#

Learn more next on how to setting up hostname on the cisco router here!

Comment Form

You must be logged in to post a comment.