'
CTRL SHIFT 6Use of masks is erratic:
| Command | Example | Explanation |
|---|---|---|
show interfaces show version show ip route show ip interface ethernet0 |
show interfaces show version show ip route show ip interface ethernet0 |
Show public configuration |
enable |
enable |
Enter privileged mode (root/admin) |
show interfaces show version show ip route show ip interface ethernet0 show running-config |
show interfaces show version show ip route show ip interface ethernet0 show running-config |
|
configure terminal
interface interface
ip address address netmask
router rip
network classed network
no network classed network
router ospf AS
network network wildmask area number
no network network wildmask area number
debug ip rip
no debug ip rip
|
configure terminal
interface ethernet0
ip address 128.39.89.1 255.255.255.0
router rip
network 128.39.89.0
no network 128.39.89.0
router ospf 100
network 128.39.89.0 0.0.0.255 area 1
no network 128.39.89.0 0.0.0.255 area 1
debug ip rip
no debug ip rip
|
with RIP and OSPF |
copy running-config startup-config |
copy running-config startup-config |
Save changes before reboot |