PurposeCommand or Action
Verifies the configuration of the OSPF
network.
show ip ospf process-id
Example:
Device# show ip ospf 1
Step 7
(Optional) Saves your entries in the
configuration file.
copy running-config startup-config
Example:
Device# copy running-config
startup-config
Step 8
Configuring BGP PE to CE Routing Sessions
Procedure
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
Device# configure terminal
Step 1
Configures the BGP routing process with
the AS number passed to other BGP routers,
and enter router configuration mode.
router bgp autonomous-system-number
Example:
Device(config)# router bgp 2
Step 2
Specifies a network and mask to announce
using BGP.
network network-number mask network-mask
Example:
Device(config-router)# network 5 mask
255.255.255.0
Step 3
Sets the switch to redistribute OSPF internal
routes.
redistribute ospf process-id match internal
Example:
Device(config-router)# redistribute ospf
1 match internal
Step 4
Defines a network address and mask on
which OSPF runs and the area ID for that
network address.
network network-number area area-id
Example:
Device(config-router)# network 5 area 2
Step 5
Routing Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9500 Switches)
174
Configuring IP Unicast Routing
Configuring BGP PE to CE Routing Sessions