Layer 3 Routing Commands
1797
console#configure terminal
console(config)#vlan 100-109
console(config-vlan100-109)#exit
3
Assign the VLAN to an interface.
console(config)#interface gi1/0/1
console(config-if-Gi1/0/1)#switchport access vlan 100
console(config-if-Gi1/0/1)#exit
4
Create the VRF and enable routing.
console(config)#ip vrf red
console(config-vrf-red)#ip routing
console(config-vrf-red)#exit
5
Assign IP addresses to the interfaces.
console(config)#interface vlan 100
console(config-if-vlan100)#ip address 192.168.0.1 /24
6
Put the VLAN interface into the VRF.
console(config-if-vlan100)#ip vrf forwarding red
console(config-if-vlan100)#exit
7
Routing interface moved from Default router instance to red router
instance.
8
Enable OSPF on the VRF, assign a network, and enable OSPF for the VRF
console(config)#router ospf vrf red
console(Config-router-vrf-red)#network 192.168.0.0 0.0.0.255 area 0
console(Config-router-vrf-red)#router-id 192.168.0.253
console(Config-router-vrf-red)#redistribute connected
console(Config-router-vrf-red)#enable
console(Config-router-vrf-red)#exit
Commands in this Section
This section explains the following commands, which are exclusive to VRFs.
Other commands such as ip routing may also be executed in VRF
configuration mode.
–
Summary of Contents for N1100-ON
Page 2: ......
Page 4: ......
Page 258: ...Using the CLI 258 ...
Page 488: ...Layer 2 Switching Commands 488 Operational State Querier Operational version 1 ...
Page 656: ...Layer 2 Switching Commands 656 10 ...
Page 1128: ...Audio Visual Bridging Commands 1128 ...
Page 1186: ...Data Center Technology Commands 1186 ...
Page 1435: ...Layer 3 Routing Commands 1435 Number of Joins 7 Number of Groups 1 ...
Page 2330: ......
Page 2331: ...www dell com support dell com Printed in the U S A ...
Page 2332: ......