route
This command sets up a static route.
Syntax
route <route map tag> deny <sequence> route <route map tag> permit <sequence> route <route map tag> vrf <VRF table> deny|permit <sequence>
Command |
Description |
---|---|
route map tag |
Defines the route map tag. |
deny |
Route map denies set operations. |
permit |
Route map permits set operations. |
vrf |
Associate with the defined VRF. |
VRF table |
Defines the VRF table name. |
sequence |
Defines the sequence to insert to/delete from an existing route-map entry. Range is 1-65535. |
Interface Type (ifname) |
Interface ID |
|
---|---|---|
gigabitethernet |
GigabitEthernet interface slot and port (VLAN ID is optional) |
[Slot/Port.VLAN ID] |
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
The following is an example of how this command can be used.
# configure data (config-data)# router ripng (conf-router)# route AAAtag deny 10