35-74
Catalyst 3750 Switch Software Configuration Guide
OL-8550-02
Chapter 35 Configuring IP Unicast Routing
Configuring Multi-VRF CE
Router(config)#
ip cef
Router(config)#
interface Loopback1
Router(config-if)#
ip vrf forwarding v1
Router(config-if)#
ip address 3.3.1.3 255.255.255.0
Router(config-if)#
exit
Router(config)#
interface Loopback2
Router(config-if)#
ip vrf forwarding v2
Router(config-if)#
ip address 3.3.2.3 255.255.255.0
Router(config-if)#
exit
Router(config)#
interface gigabitthernet1/1/0.10
Router(config-if)#
encapsulation dot1q 10
Router(config-if)#
ip vrf forwarding v1
Router(config-if)#
ip address 38.0.0.3 255.255.255.0
Router(config-if)#
exit
Router(config)#
interface gigabitethernet1/1/0.20
Router(config-if)#
encapsulation dot1q 20
Router(config-if)#
ip vrf forwarding v2
Router(config-if)#
ip address 83.0.0.3 255.255.255.0
Router(config-if)#
exit
Router(config)#
router bgp 100
Router(config-router)#
address-family ipv4 vrf v2
Router(config-router-af)#
neighbor 83.0.0.8 remote-as 800
Router(config-router-af)#
neighbor 83.0.0.8 activate
Router(config-router-af)#
network 3.3.2.0 mask 255.255.255.0
Router(config-router-af)#
exit
Router(config-router)#
address-family ipv4 vrf vl
Router(config-router-af)#
neighbor 38.0.0.8 remote-as 800
Router(config-router-af)#
neighbor 38.0.0.8 activate
Router(config-router-af)#
network 3.3.1.0 mask 255.255.255.0
Router(config-router-af)#
end
Displaying Multi-VRF CE Status
You can use the privileged EXEC commands in
Table 35-13
to display information about multi-VRF CE
configuration and status.
For more information about the information in the displays, refer to the
Cisco IOS Switching Services
Command Reference, Release 12.2
.
Table 35-13
Commands for Displaying Multi-VRF CE Information
Command
Purpose
show ip protocols vrf
vrf-name
Display routing protocol information associated
with a VRF.
show ip route vrf
vrf-name
[
connected
] [
protocol
[
as-number
]] [
list
]
[
mobile
] [
odr
] [
profile
] [
static
] [
summary
] [
supernets-only
]
Display IP routing table information associated
with a VRF.
show ip vrf
[
brief
|
detail
|
interfaces
] [
vrf-name
]
Display information about the defined VRF
instances.
Содержание 3750G - Catalyst Integrated Wireless LAN Controller
Страница 80: ...1 28 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 1 Overview Where to Go Next ...
Страница 606: ...27 8 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 27 Configuring UDLD Displaying UDLD Status ...
Страница 670: ...31 18 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 31 Configuring SNMP Displaying SNMP Status ...
Страница 1048: ...41 20 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 41 Configuring MSDP Monitoring and Maintaining MSDP ...
Страница 1086: ...43 26 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 43 Troubleshooting Using the crashinfo Files ...
Страница 1104: ...B 4 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Appendix B Supported MIBs Using FTP to Access the MIB Files ...