Beruflich Dokumente
Kultur Dokumente
1. configure terminal
2. router ospf instance-tag (Example: switch(config)# router ospf 201 )
3. router-id ip-address
4. (Optional) show ip ospf instance-tag
5. (Optional) copy running-config startup-config
To remove the OSPFv2 instance and all associated configuration, use the
no router ospf command in configuration mode.
Configuring Networks in OSPFv2
1. configure terminal
2. interface interface-type slot/port
(Example: switch(config)# interface ethernet 1/2)
3. ip address ip-prefix/length
(Example: switch(config-if)# ip address 192.0.2.1/16)
4. ip router ospf instance-tag area area-id
(Example: switch(config-if)# ip router ospf 201 area 0.0.0.15)
5. (Optional) show ip ospf instance-tag interface interface-type slot/port
(Example: switch(config-if)# show ip ospf 201 interface ethernet 1/2)
6. (Optional) copy running-config startup-config
Configuring Authentication for an Area
1. configure terminal
2. router ospf instance-tag
3. area area-id authentication [message-digest]
4. interface interface-type slot/port
5. (Optional) ip ospf authentication-key [0 | 3] key
or
ip ospf message-digest-key key-id md5 [0 | 3] key
6. (Optional) show ip ospf instance-tag interface interface-type slot/port
Configuring Authentication for an Interface
1. configure terminal
2. interface interface-type slot/port
3. ip ospf authentication [message-digest]
4. (Optional) ip ospf authentication key-chain key-id
5. (Optional) ip ospf authentication-key [0 | 3 | 7] key
6. (Optional) ip ospf message-digest-key key-id md5 [0 | 3 | 7] key
7. (Optional) show ip ospf instance-tag interface interface-type slot/port
8. (Optional) copy running-config startup-config
Calculating a Wildcard Mask for /24
Example:
Calculate the wildcard mask Calculate the wildcard mask
from the network address of from the network address of
192.168.10.0/24. 192.168.10.64/26
Calculating a Wildcard Mask for /24
Example:
Calculate the wildcard mask Calculate the wildcard mask
from the network address of from the network address of
192.168.10.0/24. 192.168.10.64/26
11111111.111111111.111111111.00000000 11111111.111111111.111111111.11000000
255 . 255 . 255 . 0 255 . 255 . 255 . 192
Calculating a Wildcard Mask for /24
Example:
192.168.10.0/24 192.168.10.64/26
255.255.255.255 255.255.255.255
Subnet Mask Subnet Mask
-255.255.255.000 -255.255.255.192
000.000.000.255 Wildcard Mask 000.000.000.063 Wildcard Mask