CCIE Pursuit Blog

June 23, 2007

Interface Range for Sub-Interfaces?

Filed under: IOS — cciepursuit @ 12:21 pm

Yet another feature of the Interface Range command that I was not aware of: you can use it to specify a range of sub-interfaces.

Be Careful of the Command Format:
Right: int range fa0/0.1 – fa0/0.5
Wrong: int range fa0/0.1 – .5

R1(config)#int range fa0/0.1 – fa0/0.5
R1(config-if-range)#desc -> delete me!!!
R1(config-if-range)#exit
R1(config)#do sh run | sec FastEthernet
interface FastEthernet0/0
 no ip address
 shutdown
 duplex half
interface FastEthernet0/0.1
 description -> delete me!!!
interface FastEthernet0/0.2
 description -> delete me!!!
interface FastEthernet0/0.3
 description -> delete me!!!
interface FastEthernet0/0.4
 description -> delete me!!!
interface FastEthernet0/0.5
 description -> delete me!!!

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: