For feedback and comments:
documentation.feedback@alcatel-lucent.com

Table of Contents Previous Next Index PDF


IP Router Command Reference
Command Hierarchies
Configuration Commands
•
•
•
•
•
•
•
•
•
 
 
 
Router Commands
config
—
router [router-name]
—
aggregate ip-prefix/ip-prefix-length [summary-only] [as-set] [aggregator as-number:ip-address] [black-hole] [community comm-id] [description description]
—
aggregate ip-prefix/ip-prefix-length [summary-only] [as-set] [aggregator as-number:ip-address] [community comm-id] [indirect ip-address] [description description]
—
no aggregate ip-prefix/ip-prefix-length
—
autonomous-system autonomous-system
—
—
confederation confed-as-num members as-number [as-number...(up to 15 max)]
—
no confederation [confed-as-num members as-number....(up to 15 max)]
—
ecmp max-ecmp-routes
—
—
fib-priority {high | standard}
—
—
—
—
—
mc-maximum-routes number [log-only] [threshold threshold]
—
—
—
—
static-label-range static-range
—
—
sr-labels start-value end end-value
—
—
multicast-info policy-name
—
—
—
description description-string
—
—
—
—
[no] connect-retryseconds
—
[no] description string
—
[no] local-address ip-address
—
[no] port number
—
[no] refresh-time seconds hold-time seconds
—
—
[no] stale-time seconds
—
static-entry ip-prefix/prefix-length1-prefix-length2 origin-as as-number [valid | invalid]
—
no static-entry ip-prefix/prefix-length1-prefix-length2
—
router-id ip-address
—
—
service-prefix {ip-prefix/mask | ip-prefix netmask}[exclusive]
—
no service-prefix ip-prefix/mask | ip-prefix netmask}
—
—
application dscp-app-name dscp {dscp-value | dscp-name}
—
application dot1p-app-name dot1p dot1p-priority
—
no application {dscp-app-name | dot1p-app-name}
—
dscp dscp-name fc fc-name
—
[no] dscp dscp-name
—
single-sfm-overload [holdoff-time holdoff-time]
—
—
[no] static-route {ip-prefix/prefix-length| ip-prefix netmask} [preference preference] [metric metric] [tag tag] [enable|disable] next-hop ip-int-name|ip-address [validate-next-hop] [mcast-family] [community comm-id][bfd-enable|{cpe-check cpe-ip-address [interval seconds] [drop-count count] [padding-size padding-size] [log]}| {prefix-list prefix-list-name [all|none]}][fc fc-name [priority {low|high}]] [source-class source-index][dest-class dest-index][ldp-sync][description description]
—
[no] static-route {ip-prefix/prefix-length | ip-prefix netmask} [preference preference] [metric metric] [tag tag] [community comm-id] [enable | disable] [cpe-check cpe-ip-address [interval seconds] [drop-count count] [padding-size padding-size] [log]]
—
[no] static-route {ip-prefix/prefix-length | ip-prefix netmask} [preference preference] [metric metric] [tag tag] [community comm-id] [enable | disable] black-hole [mcast-family]
—
static-route-entry {ip-prefix/prefix-length} [mcast] indirect {ip-address}
—
—
—
resolution {any | disabled | filter}
—
resolution-filter [ldp] [rsvp-te [lsp lsp name]...[lsp lsp name]]
—
—
—
label-route-local [none | all]
—
label-route-transit [none | all]
—
lsr-label-route [none | all]
—
vprn-local [none | vc-only | all]
—
vprn-transit [none | vc-only | all]
—
 
 
 
 
 
config
—
router management
—
—
—
[no] connect-retryseconds
—
[no] description string
—
[no] local-address ip-address
—
[no] port number
—
[no] refresh-time seconds hold-time seconds
—
—
[no] stale-time seconds
 
 
Router BFD commands
config
—
—
—
bfd-template name [create]
—
—
transmit-interval transmit-interval
—
—
receive-interval receive-interval
—
—
cv-tx transmit-interval
—
—
echo-receive echo-interval
—
—
multiplier multiplier
—
—
[no] type cpm-np
 
Router L2TP Commands
config
—
router [router-name]
—
—
—
—
challenge {always}
—
—
df-bit-lac {always|never}
—
—
destruct-timeout destruct-timeout
—
—
exclude-avps calling-number
—
—
group tunnel-group-name [create]
—
no group tunnel-group-name
—
avp-hiding sensitive | always
—
—
challenge always
—
—
description description-string
—
—
df-bit-lac {always|never|default}
—
—
destruct-timeout destruct-timeout
—
—
hello-interval hello-interval
—
—
idle-timeout idle-timeout
—
—
lns-group lns-group-id
—
—
load-balance-method {per-session|per-tunnel}
—
—
local-address ip-address
—
—
local-name host-name
—
—
max-retries-estab max-retries
—
—
—
—
password password [hash | hash2]
—
—
—
authentication {chap|pap|pref-chap}
—
authentication-policy auth-policy-name
—
—
default-group-interface ip-int-name service-id service-id
—
—
keepalive seconds [hold-up-multiplier multiplier]
—
—
mtu mtu-bytes
—
—
—
—
user-db local-user-db-name
—
—
—
—
session-limit session-limit
—
—
tunnel tunnel-name [create]
—
no tunnel tunnel-name
—
—
avp-hiding {never | sensitive | always}
—
—
challenge challenge-mode
—
—
description description-string
—
—
df-bit-lac {always|never|default}
—
—
destruct-timeout destruct-timeout
—
—
hello-interval hello-interval
—
—
—
idle-timeout idle-timeout
—
idle-timeout infinite
—
—
load-balance-method {per-session|per-tunnel}
—
—
local-address ip-address
—
—
local-name host-name
—
—
max-retries-estab max-retries
—
—
—
—
password password [hash | hash2]
—
—
peer ip-address
—
—
preference preference
—
—
remote-name host-name
—
—
session-limit session-limit
—
—
—
next-attempt {same-preference-level | next-preference-level}
—
—
replace-result-code code [code...(upto 3 max)]
—
—
peer-address-change-policy {accept | ignore | reject}
—
—
—
configure
—
—
—
—
—
add-tunnel on reason>[reason...(upto 8 max)]
—
—
—
—
—
max-time minutes
—
—
—
 
Router Interface Commands
config
—
router [router-name]
—
—
admin-group group-name value group-value
—
no admin-group group-name
—
srlg-group group-name value group-value [penalty-weight penalty-weight]
—
no srlg-group group-name
—
[no] interface ip-int-name gmpls-loopback
—
[no] interface ip-int-name [unnumbered-mpls-tp]
—
address {ip-address/mask | ip-address netmask} [broadcast all-ones | host-ones] [track-srrp srrp-instance]
—
—
—
arp-limit limit [log-only] [threshold percent]
—
—
arp-timeout seconds
—
—
bfd transmit-interval [receive receive-interval] [multiplier multiplier] [echo-receive echo-interval [type cpm-np]
—
—
—
—
sampling {unicast | mulitcast} type {acl | interface} [direction {ingress-only | egress-only|both}]
—
no sampling {unicast | mulitcast}
—
cpu-protection policy-id
—
—
—
—
description description-string
—
—
—
description description-string
—
—
gi-address ip-address [src-ip-addr]
—
—
—
action {replace | drop | keep}
—
—
circuit-id [ascii-tuple | ifindex | sap-id | vlan-ascii-tuple]
—
—
remote-id [mac | string string]
—
—
—
—
—
—
string text
—
—
—
python-policy <[256 chars max]>
—
—
—
server server1 [server2...(up to 8 max)]
—
—
—
—
—
—
—
filter ip ip-filter-id
—
filter ipv6 ipv6-filter-id
—
no filter [ip ip-filter-id] [ipv6 ipv6-filter-id]
—
—
—
—
—
redirects [number seconds]
—
—
ttl-expired [number seconds]
—
—
unreachables [number seconds]
—
—
—
[no] admin-group group-name [group-name...(up to 5 max)]
—
—
[no] srlg-group group-name [group-name...(up to 5 max)]
—
—
—
filter ip ip-filter-id
—
filter ipv6 ipv6-filter-id
—
no filter [ip ip-filter-id][ipv6 ipv6-filter-id]
—
—
—
ip-mtu octets
—
—
lag-link-map-profile lnk-map-profile-id
—
—
—
—
—
egr-ip-load-balancing {source | destination | inner-ip}
—
—
lsr-load-balancing hashing-algorithm
—
—
—
—
—
—
mac ieee-mac-addr
—
—
[no] multihoming primary|secondary [hold-time holdover-time]
—
network-domain network-domain-name
—
—
—
port port-name
—
—
—
—
qos-route-lookup [source | destination]
—
—
qos network-policy-id [egress-port-redirect-group queue-group-name] [egress-instance instance-id]] [ingress-fp- redirect-group queue-group-name ingress-instance instance-id]
—
—
—
secondary {[ip-addr/mask | ip-addr][netmask]} [broadcast {all-ones | host-ones}] [igp-inhibit]
—
no secondary [ip-addr/mask | ip-addr][netmask ]
—
—
static-arp ip-addr ieee-mac-addr unnumbered
—
no static-arp unnumbered
—
—
tcp-mss mss-value
—
—
tos-marking-state {trusted | untrusted}
—
—
unnumbered [ip-addr | ip-int-name]
—
—
—
mode {strict|loose|strict-no-ecmp}
—
—
vas-if-type {to-from-access | to-from-network | to-from-both}
—
—
—
address {ip-address/mask | ip-address netmask}
—
—
description description-string
—
—
—
—
hold-time holdover-time
—
—
address {ip-address/mask | ip-address netmask}
—
—
description description-string
—
—
—
—
[no] template template-name
—
include-group group-name [pref pref]
—
no include-group group-name
—
[no] exclude-group group-name
—
—
protection-type {link | node}
—
—
nh-type {ip | tunnel}
—
 
For router interface VRRP commands, see VRRP Command Reference .
 
Router Interface IPv6 Commands
config
—
router [router-name]
—
[no] interface ip-int-name
—
[no] ipv6
—
address ipv6-address/prefix-length [eui-64]
—
no address ipv6-address/prefix-length
—
bfd transmit-interval [receive receive-interval] [multiplier multiplier] [echo-receive echo-interval [type cpm-np]
—
—
—
—
packet-too-big [number seconds]
—
—
param-problem [number seconds]
—
—
redirects [number seconds]
—
—
time-exceeded [number seconds]
—
—
unreachables [number seconds]
—
—
link-local-address ipv6-address [preferred]
—
—
neighbor ipv6-address [mac-address]
—
no neighbor ipv6-address
—
neighbor-limit limit [log-only] [threshold percent]
—
—
proxy-nd-policy policy-name [ policy-name...(up to 5 max)]
—
—
—
—
—
—
—
—
—
—
—
—
stale-time seconds
—
—
tcp-mss mss-value
—
—
—
mode {strict | loose | strict-no-ecmp}
—
—
—
—
mode {strict | loose}
—
 
Router Advertisement Commands
config
—
—
—
—
dns-servers ipv6-address
—
—
—
—
[no] interface ip-int-name
—
—
—
—
dns-servers ipv6-address
—
—
rdnss-lifetime {seconds | infinite}
—
—
—
—
—
—
—
—
mtu mtu-bytes
—
—
—
prefix [ipv6-prefix/prefix-length]
—
—
—
preferred-lifetime {seconds | infinite}
—
—
valid-lifetime {seconds | infinite}
—
—
reachable-time milli-seconds
—
—
retransmit-time milli-seconds
—
—
—
—
—
Show Commands
show
—
router router-instance
—
—
aggregate [family] [active]
—
arp [ ip-int-name | ip-address/mask | mac ieee-mac-address | summary] [local | dynamic | static | managed]
—
—
—
statistics interface [ip-int-name | ip-address]
—
statistics policy name
—
—
bfd-template template-name
—
interface [interface-name]
—
session [src ip-address [dst ip-address] | [detail]]
—
session [type type]
—
session [summary]
—
—
statistics [ip-int-name | ip-address]
—
—
—
statistics [ip-int-name | ip-address]
—
—
—
fib slot-number [family] [ip-prefix/prefix-length [longer]] [secondary]
—
fib slot-number [family] summary
—
fib slot-number nh-table-usage
—
fp-tunnel-table slot-number [ip-prefix/prefix-length]
—
—
—
srlg-group [name]
—
interface [{[ip-address|ip-int-name][detail] [family]}|summary| exclude-services]
—
interface ip-address|ip-int-name eth-cfm [detail]
—
interface ip-address|ip-int-name mac [ieee-address]
—
interface ip-address|ip-int-name statistics
—
interface dist-cpu-protection [detail]
—
interface policy-accounting [class [index]]
—
—
group [tunnel-group-name [statistics]]
—
group connection-id connection-id [detail]|
—
group [detail] [session-id session-id (v2)] [state session-state][peer ip-address] [group group-name] [assignment-id assignment-id] [local-namelocal-host-name] [remote-name remote-host-name] [tunnel-id tunnel-id (v2)]|
—
session [detail] [state session-state] [peer ip-address] [group group-name] [assignment-id assignment-id] [local-name local-host-name] [remote-name remote-host-name] [control-connection-id connection-id (v3)]
—
—
tunnel [statistics] [detail] [peer ip-address] [state tunnel-state] [remote-connection-id remote-connection-id (v3)] [group group-name] [assignment-id assignment-id] [local-name host-name] [remote-name host-name]| tunnel [statistics] [detail] [peer ip-address] [state tunnel-state] [remote-tunnel-id remote-tunnel-id (v2)] [group group-name] [assignment-id assignment-id] [local-name host-name] [remote-name host-name]
—
tunnel tunnel-id tunnel-id (v2) [statistics] [detail]
—
tunnel connection-id connection-id (v3) [statistics] [detail]
—
—
bindings active
—
—
neighbor [ip-address | ip-int-name | mac ieee-mac-address | summary]
—
network-domains [detail] [network-domain-name]
—
policy [name | damping | prefix-list name | as-path name | community name | admin]
—
—
route-table [family] [ip-prefix[/prefix-length] [longer|exact|protocol protocol-name] [all]] [next-hop-type type][qos][alternative]
—
route-table [family] summary
—
route-table tunnel-endpoints [ip-prefix[/prefix-length]] [longer|exact] [detail]
—
rtr-advertisement [interface interface-name] [prefix ipv6-prefix[/prefix-length] [conflicts]
—
—
—
application [app-name] [dscp-dot1p]
—
dscp-map [dscp-name]
—
static-arp [ip-address | ip-int-name | mac ieee-mac-addr]
—
static-route [family] [[ip-prefix /mask]| [preference preference] | [next-hop ip-address] | [tag tag] [detail]
—
—
tms routes
—
tunnel-table [ip-address[/mask]] | [protocol protocol | sdp sdp-id] [summary]
—
neighbor [interface-name]
Clear Commands
clear
—
router [router-instance]
—
arp {all | ip-addr | interface {ip-int-name | ip-addr}}
—
—
session src-ip ip-address dst-ip ip-address
—
statistics src-ip ip-address dst-ip ip-address
—
—
—
statistics [ip-int-name | ip-address]
—
—
statistics [ip-int-name | ip-address]
—
forwarding-table [slot-number]
—
—
icmp-redirect-route {all | ip-address}
—
icmp6 all
—
icmp6 global
—
icmp6 interface interface-name
—
interface [ip-int-name | ip-addr] [icmp] [urpf-stats] [statistics]
—
—
group tunnel-group-name
—
—
—
tunnel tunnel-id
—
—
neighbor {all | ip-address}
—
neighbor [interface ip-int-name | ip-address]
—
—
router-advertisement [interface interface-name]
—
forwarding-table [slot-number]
—
interface [ip-int-name | ip-addr] [icmp]
 
Debug Commands
debug
—
—
destination trace-destination
—
—
[no] trace-point [module module-name] [type event-type] [class event-class] [task task-name] [function function-name]
—
router router-instance
—
—
[no] arp
—
—
—
icmp6 [ip-int-name]
—
—
[no] interface [ip-int-name | ip-address]
—
[no] neighbor
—
packet [ip-int-name | ip-address] [headers] [protocol-id]
—
no packet [ip-int-name | ip-address]
—
route-table [ip-prefix/prefix-length] [longer]
—
—
tunnel-table [ip-address] [ldp | rsvp [tunnel-id tunnel-id]| sdp [sdp-id sdp-id]]
—
—
[no] misc
—
[no] packet [query | request | response]
—
tms [interface tms-interface] api [detail] tms-interface