Expl2 IOS Cmds
Expl2 IOS Cmds
IOS Commands
Refs: L – Labs
All others are Exploration 2 v4 curriculum material TI references.
Basic Configuration
2.4.2 ip route 172.16.1.0 255.255.255.0 172.16.2.2 Examples: recommended for LAN interface.
ip route 172.16.1.0 255.255.255.0 s0/0 Recommended for WAN interface
2.5.4 ip route 192.168.2.0 255.255.255.0 fa0/1 172.16.2.2 Recommended for Ethernet (uses both exit
interface and next-hop)
2.6.2 ip route 0.0.0.0 0.0.0.0 Default static route. "quad-zero" route.
[exit-interface | ip-address ]
RIPv1
5.22 router rip Enable RIP
network <classful-network>
passive-interface <interface> Prevent RIP updates on <interface>
default-information originate Propagate a default route using RIP
RIPv2
7.2.1 router rip Configure RIPv2
version 2
7.2.3 no auto-summary Switch of automatic summarization
EIGRP
9.2.2 R(config)# router eigrp AS Configure EIGRP
9.2.4 R(config-router)# Specify which interfaces will run EIGRP and
network network-address [wildcard-mask] which networks will be advertised
9.5.4 ip route 0.0.0.0 0.0.0.0 lo1 Propagate a default route using EIGRP.
router eigrp
redistribute static
OSPF
11.2.3 R(config-router)# network net-addr wildcard-mask Specify which interfaces will run OSPF and
area area-id which networks will be advertised.
11.2.4 R(config-router)# router-id ip-address Set the Router ID.
11.3.2 R(config-if)# bandwidth kbps Use on serial interfaces for accurate cost calc.
R(config-if)# ip ospf cost number Alternatively, set the cost directly
11.5.1 ip route 0.0.0.0 0.0.0.0 interface Redistributing a default route with OSPF.
router ospf 1
default-information originate
11.4.3 R(config-if)# ip ospf priority {0 - 255} Set DR/BDR election priority. Default is 1.
Multicast Addresses
224.0.0.5 All OSPF routers. Hello packets. Packets from DRs to all other routers.
224.0.0.6 All OSPF DRs/BDRs. Packets to the DR/BDR.
224.0.0.9 All RIPv2 routers
224.0.0.10 All EIGRP routers