1-86
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-25303-03
Chapter 1 Configuring IP Unicast Routing
Configuring Multi-VRF CE
Beginning in privileged EXEC mode, follow these steps to configure OSPF in the VPN:
Use the
no
router ospf
process-id
vrf
vrf-name
global configuration command to disassociate the VPN
forwarding table from the OSPF routing process.
Configuring BGP PE to CE Routing Sessions
Beginning in privileged EXEC mode, follow these steps to configure a BGP PE to CE routing session:
Use the
no
router bgp
autonomous-system-number
global configuration command to delete the BGP
routing process. Use the command with keywords to delete routing characteristics.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
router ospf
process-id
vrf
vrf-name
Enable OSPF routing, specify a VPN forwarding table, and enter router
configuration mode.
Step 3
log-adjacency-changes
(Optional) Log changes in the adjacency state. This is the default state.
Step 4
redistribute bgp
autonomous-system-number
subnets
Set the switch to redistribute information from the BGP network to the
OSPF network.
Step 5
network
network-number
area
area-id
Define a network address and mask on which OSPF runs and the area ID
for that network address.
Step 6
end
Return to privileged EXEC mode.
Step 7
show ip ospf
process-id
Verify the configuration of the OSPF network.
Step 8
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
router bgp
autonomous-system-number
Configure the BGP routing process with the AS number passed to other
BGP routers, and enter router configuration mode.
Step 3
network
network-number
mask
network-mask
Specify a network and mask to announce using BGP.
Step 4
redistribute ospf
process-id
match
internal
Set the switch to redistribute OSPF internal routes.
Step 5
network
network-number
area
area-id
Define a network address and mask on which OSPF runs and the area ID
for that network address.
Step 6
address-family ipv4 vrf
vrf-name
Define BGP parameters for PE to CE routing sessions, and enter VRF
address-family mode.
Step 7
neighbor
address
remote-as
as-number
Define a BGP session between PE and CE routers.
Step 8
neighbor
address
activate
Activate the advertisement of the IPv4 address family.
Step 9
end
Return to privileged EXEC mode.
Step 10
show ip bgp
[
ipv4
] [
neighbors
]
Verify BGP configuration.
Step 11
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Summary of Contents for Catalyst 3560-X Series
Page 12: ...Contents 10 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 13: ...Contents 11 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 14: ...Contents 12 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 15: ...Contents 13 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 16: ...Contents 14 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 17: ...Contents 15 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 18: ...Contents 16 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 19: ...Contents 17 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 20: ...Contents 18 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 21: ...Contents 19 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 22: ...Contents 20 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 23: ...Contents 21 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 24: ...Contents 22 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 25: ...Contents 23 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 26: ...Contents 24 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 27: ...Contents 25 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 28: ...Contents 26 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 29: ...Contents 27 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 30: ...Contents 28 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 31: ...Contents 29 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 32: ...Contents 30 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 33: ...Contents 31 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 34: ...Contents 32 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 35: ...Contents 33 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 36: ...Contents 34 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 37: ...Contents 35 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 38: ...Contents 36 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 42: ...56 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 Preface ...
Page 1538: ...Index IN 58 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...