Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

OSPF/EIGRP Network Command

Eth 1 - 161.76.8.1 255.255.248.0

Eth 2 - 161.76.16.1 255.255.248.0

Eth 3 - 194.101.83.182 255.255.255.252

I know if I wanted to add just interface E1 to area 100 I could do:

router(config-router)# network 161.76.8.1 0.0.0.0 area 100

or if I wanted to add all three interfaces I could do:

router(config-router)# network 0.0.0.0 0.0.0.0 area 100

but is there a way of assigning both interfaces Eth 1 and Eth 2 in one command using wildcard masking?

any help would be great. Thank you

Daniel,

2 REPLIES

Re: OSPF/EIGRP Network Command

Daniel,

Yes you can most definately add both interface under one statement by maniplutating the mask.

Eg: 162.76.0.0 0.0.255.255 area 100

Then to prove it (Pls note this is a cat running IOS and interfaces are physically not connected but to prove it is a interface instance in OSPF)

6500-Native#sh ip ospf in

3d01h: %SYS-5-CONFIG_I: Configured from console by consolet

FastEthernet2/1 is up, line protocol is down

Internet Address 161.76.8.1/21, Area 100

Process ID 100, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 1

Transmit Delay is 1 sec, State DOWN, Priority 1

No designated router on this network

No backup designated router on this network

Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

No Hellos (Passive interface)

FastEthernet2/2 is up, line protocol is down

Internet Address 161.76.16.1/21, Area 100

Process ID 100, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 1

Transmit Delay is 1 sec, State DOWN, Priority 1

No designated router on this network

No backup designated router on this network

Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

No Hellos (Passive interface)

Kind Regards

Dale

Community Member

Re: OSPF/EIGRP Network Command

Thanks very much Dale,

Daniel,

231
Views
0
Helpful
2
Replies
CreatePlease to create content