Configure a CLIP and tunnel source IP address on the same VRF.
Remote management of the 1 Gbps switch is only possible after establishing IP Shortcut over IS-IS. (Alternatively, you can enable GRT-VRF redistribution locally.)
The following figure shows a sample Fabric Extend deployment over IP using a VRF.
(The tunnel source IP address is configured as a brouter address in the VRF.)
Switch(config)# ip vrf vrf24 Switch(config)# router vrf vrf24 Switch(router-vrf)# ip ospf Switch(router-vrf)# ip ospf admin-state Switch(router-vrf)# exit Switch(config)# interface GigabitEthernet 2/14 Switch(config-if)# no shutdown Switch(config-if)# default-vlan-id 0 Switch(config-if)# name "ospf-intf-SP-core" Switch(config-if)# vrf vrf24 Switch(config-if)# brouter port 2/14 vlan 3036 subnet 197.1.1.2/255.255.255.0 mac-offset 1 Switch(config-if)# no spanning-tree mstp force-port-state enable Switch(config-if)# ip ospf enable Switch(config-if)# exit Switch(config)# router isis Switch(config-isis)# ip-tunnel-source-address 197.1.1.2 vrf vrf24 Switch(config-isis)# exit Switch(config)# logical-intf isis 255 dest-ip 197.1.6.2 name "Tunnel-to-Branch1" Switch(config-isis-255-197.1.6.2)# isis Switch(config-isis-255-197.1.6.2)# isis spbm 1 Switch(config-isis-255-197.1.6.2)# isis enable Switch(config-isis-255-197.1.6.2)# exit
(The tunnel source address is a CLIP address on the VRF. This address is configured on the 1 Gbps switch and then automatically assigned to the ONA.)
Switch(config)# ip vrf vrf24 Switch(config)# router vrf vrf24 Switch(router-vrf)# ip ospf Switch(router-vrf)# ip ospf admin-state Switch(router-vrf)# exit Switch(config)# interface loopback 256 Switch(config-if)# ip address 197.1.6.2 255.255.255.255 vrf vrf24 Switch(config-if)# ip ospf vrf vrf24 Switch(config-if)# exit Switch(config)# interface GigabitEthernet 1/7-1/8; enables ports to ONA Switch(config-if)# no shutdown Switch(config-if)# exit Switch(config)# vlan create 3037 name "ospf-intf-SP-core" type port-mstprstp 0 Switch(config)# vlan members 3037 1/49-1/50 portmember Switch(config)# mlt 11 Switch(config)# mlt 11 encapsulation dot1q Switch(config)# mlt 11 mem 1/49-1/50 Switch(config)# mlt 11 vlan 3037 Switch(config)# interface vlan 3037 Switch(config-if)# vrf vrf24 Switch(config-if)# ip address 197.1.11.2 255.255.255.0 0 Switch(config-if)# ip ospf enable Switch(config-if)# exit Switch(config)# vlan create 3025 name "ONA-Mgmt-vlan" type port-mstprstp 0 Switch(config)# vlan members 3025 1/7 portmember Switch(config)# interface vlan 3025 Switch(config-if)# ip address 197.2.1.1 255.255.255.0 3 Switch(config-if)# exit Switch(config)# ip dhcp-relay fwd-path 197.2.1.1 197.10.1.11 Switch(config)# ip dhcp-relay fwd-path 197.2.1.1 197.10.1.11 enable Switch(config)# ip dhcp-relay fwd-path 197.2.1.1 197.10.1.11 mode bootp_dhcp Switch(config)# router isis Switch(config-isis)# ip-tunnel-source-address 197.1.6.2 port 1/8 vrf vrf24 mtu 1950 Switch(config-isis)# exit Switch(config)# logical-intf isis 255 dest-ip 197.1.1.2 name "Tunnel-to-HQ" Switch(config-isis-255-197.1.1.2)# isis Switch(config-isis-255-197.1.1.2)# isis spbm 1 Switch(config-isis-255-197.1.1.2)# isis enable Switch(config-isis-255-197.1.1.2)# exit
Intermediate routers are typically configured by an Internet service provider (ISP). The following configurations are for reference only.
Switch(config)# interface GigabitEthernet 8/19 Switch(config-if)# default-vlan-id 0 Switch(config-if)# name "ospf-intf-from-Headoffice" Switch(config-if)# no shutdown Switch(config-if)# brouter port 8/19 vlan 3036 subnet 197.1.1.3/255.255.255.0 mac-offset 2 Switch(config-if)# ip ospf enable Switch(config-if)# exit Switch(config)# vlan create 3039 name "core-ospf-vlan" type port-mstprstp 0 Switch(config)# vlan members 3039 8/1 portmember Switch(config)# interface Vlan 3039 Switch(config)# ip address 197.1.8.1 255.255.255.0 2 Switch(config)# ip ospf enable Switch(config)# exit
Switch(config)# vlan create 3039 name "core-ospf-vlan" type port-mstprstp 0 Switch(config)# vlan members 3039 8/1 portmember Switch(config)# interface Vlan 3039 Switch(config)# ip address 197.1.8.2 255.255.255.0 0 Switch(config)# ip ospf enable Switch(config)# exit Switch(config)# vlan create 3037 name "ospf-intf-from-branch1" type port-mstprstp 0 Switch(config)# vlan members 3037 8/21-8/22 portmember Switch(config)# mlt 11 Switch(config)# mlt 11 encapsulation dot1q Switch(config)# mlt 11 mem 8/21-8/22 Switch(config)# mlt 11 vlan 3037 Switch(config)# interface Vlan 3037 Switch(config)# ip address 197.1.11.1 255.255.255.0 5 Switch(config)# ip ospf enable Switch(config)# exit