Version 7.2 629 Mediant MSBR
Reference Guide 75. Layer-3 Commands
Interface Type (ifname) Interface ID
gigabitethernet GigabitEthernet interface slot
and port (VLAN ID is optional)
[SLOT/PORT.VLANID]
cellular Cellular interface ID 0/0
gre Tunnel GRE ID [1-255]
ipip Tunnel IPIP ID [1-255]
l2tp L2TP ID [0-99]
pppoe PPPoE interface ID [1-3]
pptp PPTP ID [0-99]
vlan Vlan ID [1-3999]
loopback Loopback ID [1-5]
bvi Bridge interface [1-255]
Default
NA
Command Mode
Privileged User
Example
This example adds a route to 10.20.0.0/16 through gateway 10.10.0.1 and interface vlan 1:
(config-data)# ip route 10.20.0.0 255.255.0.0 10.10.0.1 vlan 1
This example adds a track dependent route:
(config-data)# ip route 10.30.5.0 255.255.255.0 10.8.0.1 vlan 4
track 2
75.2.1.2 ip route source
This command configures source-based routing to specific destinations. Source-based
routing can include VLANs.
Syntax
ip route source < IP source prefix>|local-voip destination <IP
source prefix> [next-hop ip address] <interface> <interface id>
[<metric value>] [track <track id>] [bfd-neighbor <neighbor ID>]
[output-vrf <vrf_id>] [description <string>]
Command Description
IP source prefix
local-voip
Defines the IP source prefix (a.b.c.d/p).