Professional Documents
Culture Documents
ĂƐŝĐZŽƵƚŝŶŐ
Z&ZE'h/
&ŽƌǁĂƌĚŝŶŐĂŶĚZŽƵƚŝŶŐ
^ƚĂƚŝĐZŽƵƚĞƐ
sLJĂƚƚĂ
^ƵŝƚĞϮϬϬ
ϭϯϬϭ^ŚŽƌĞǁĂLJZŽĂĚ
ĞůŵŽŶƚ͕ϵϰϬϬϮ
ǀLJĂƚƚĂ͘ĐŽŵ
ϲϱϬϰϭϯϳϮϬϬ
ϭϴϴϴszddϭ;h^ĂŶĚĂŶĂĚĂͿ
KWzZ/',d
ŽƉLJƌŝŐŚƚΞϮϬϬϱʹϮϬϭϭsLJĂƚƚĂ͕/ŶĐ͘ůůƌŝŐŚƚƐƌĞƐĞƌǀĞĚ͘
sLJĂƚƚĂƌĞƐĞƌǀĞƐƚŚĞƌŝŐŚƚƚŽŵĂŬĞĐŚĂŶŐĞƐƚŽƐŽĨƚǁĂƌĞ͕ŚĂƌĚǁĂƌĞ͕ĂŶĚĚŽĐƵŵĞŶƚĂƚŝŽŶǁŝƚŚŽƵƚŶŽƚŝĐĞ͘&ŽƌƚŚĞŵŽƐƚƌĞĐĞŶƚǀĞƌƐŝŽŶŽĨ
ĚŽĐƵŵĞŶƚĂƚŝŽŶ͕ǀŝƐŝƚƚŚĞsLJĂƚƚĂǁĞďƐŝƚĞĂƚǀLJĂƚƚĂ͘ĐŽŵ͘
WZKWZ/dZzEKd/^
sLJĂƚƚĂŝƐĂƌĞŐŝƐƚĞƌĞĚƚƌĂĚĞŵĂƌŬŽĨsLJĂƚƚĂ͕/ŶĐ͘
sDǁĂƌĞ͕sDǁĂƌĞ^y͕ĂŶĚsDǁĂƌĞƐĞƌǀĞƌĂƌĞƚƌĂĚĞŵĂƌŬƐŽĨsDǁĂƌĞ͕/ŶĐ͘
yĞŶ^ĞƌǀĞƌ͕ĂŶĚyĞŶĞŶƚĞƌĂƌĞƚƌĂĚĞŵĂƌŬƐŽĨŝƚƌŝdž^LJƐƚĞŵƐ͕/ŶĐ͘
ůůŽƚŚĞƌƚƌĂĚĞŵĂƌŬƐĂƌĞƚŚĞƉƌŽƉĞƌƚLJŽĨƚŚĞŝƌƌĞƐƉĞĐƚŝǀĞŽǁŶĞƌƐ͘
Z>^d͗&ĞďƌƵĂƌLJϮϬϭϭ
KhDEdZs/^/KE͘Zϲ͘ϮǀϬϭ
Z>^t/d,͗Zϲ͘Ϯ͘Ϭ
WZdEK͘ϬͲϬϮϭϱͲϭϬͲϬϬϭϬ
iii
dĂďůĞŽĨŽŶƚĞŶƚƐ
YƵŝĐŬZĞĨĞƌĞŶĐĞƚŽŽŵŵĂŶĚƐ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ǀ
YƵŝĐŬ>ŝƐƚŽĨdžĂŵƉůĞƐ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ǀŝ
WƌĞĨĂĐĞ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ǀŝŝŝ
/ŶƚĞŶĚĞĚƵĚŝĞŶĐĞ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ ŝdž
KƌŐĂŶŝnjĂƚŝŽŶŽĨdŚŝƐ'ƵŝĚĞ ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ ŝdž
ŽĐƵŵĞŶƚŽŶǀĞŶƚŝŽŶƐ ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ dž
sLJĂƚƚĂWƵďůŝĐĂƚŝŽŶƐ ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ džŝ
ƐŚŽǁŝƉǀϲƌŽƵƚĞĨŽƌǁĂƌĚ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘Ϯϲ
ƐŚŽǁŝƉǀϲƌŽƵƚĞŬĞƌŶĞů͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘Ϯϳ
ƐŚŽǁŝƉǀϲƌŽƵƚĞƌŝƉŶŐ ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘Ϯϴ
ƐŚŽǁŝƉǀϲƌŽƵƚĞƐƚĂƚŝĐ ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘Ϯϵ
ƐŚŽǁŝƉǀϲƌŽƵƚĞƐƵŵŵĂƌLJ ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϯϬ
ƐŚŽǁƚĂďůĞ ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϯϭ
ŚĂƉƚĞƌϮ ^ƚĂƚŝĐZŽƵƚĞƐ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ ϯϮ
^ƚĂƚŝĐZŽƵƚĞŽŶĨŝŐƵƌĂƚŝŽŶ ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϯϯ
^ƚĂƚŝĐZŽƵƚĞƐKǀĞƌǀŝĞǁ ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϯϯ
ŽŶĨŝŐƵƌŝŶŐ^ƚĂƚŝĐZŽƵƚĞƐ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϯϯ
&ůŽĂƚŝŶŐ^ƚĂƚŝĐZŽƵƚĞƐ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϯϰ
^ŚŽǁŝŶŐ^ƚĂƚŝĐZŽƵƚĞƐŝŶƚŚĞZŽƵƚŝŶŐdĂďůĞ ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϯϱ
^ƚĂƚŝĐ/WǀϲZŽƵƚĞŽŶĨŝŐƵƌĂƚŝŽŶ ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϯϱ
sĞƌŝĨLJƚŚĂƚ/Wǀϲ&ŽƌǁĂƌĚŝŶŐŝƐŶĂďůĞĚ ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϯϲ
ĚĚƚŚĞĞĨĂƵůƚ/WǀϲZŽƵƚĞ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϯϳ
ĚĚĂ^ƚĂƚŝĐ/WǀϲZŽƵƚĞ ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϯϴ
ŽŶĨŝƌŵŽŶŶĞĐƚŝǀŝƚLJ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϯϴ
^ƚĂƚŝĐZŽƵƚĞŽŵŵĂŶĚƐ ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϰϬ
ƉƌŽƚŽĐŽůƐƐƚĂƚŝĐŝŶƚĞƌĨĂĐĞͲƌŽƵƚĞфƐƵďŶĞƚхŶĞdžƚͲŚŽƉͲŝŶƚĞƌĨĂĐĞфŝŶƚĞƌĨĂĐĞх͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϰϭ
ƉƌŽƚŽĐŽůƐƐƚĂƚŝĐŝŶƚĞƌĨĂĐĞͲƌŽƵƚĞϲфƐƵďŶĞƚхŶĞdžƚͲŚŽƉͲŝŶƚĞƌĨĂĐĞфĞƚŚdžх ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϰϯ
ƉƌŽƚŽĐŽůƐƐƚĂƚŝĐƌŽƵƚĞфƐƵďŶĞƚхďůĂĐŬŚŽůĞ ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϰϱ
ƉƌŽƚŽĐŽůƐƐƚĂƚŝĐƌŽƵƚĞфƐƵďŶĞƚхŶĞdžƚͲŚŽƉфĂĚĚƌĞƐƐх͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϰϳ
ƉƌŽƚŽĐŽůƐƐƚĂƚŝĐƌŽƵƚĞϲфƐƵďŶĞƚхďůĂĐŬŚŽůĞ ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϰϵ
ƉƌŽƚŽĐŽůƐƐƚĂƚŝĐƌŽƵƚĞϲфƐƵďŶĞƚхŶĞdžƚͲŚŽƉфĂĚĚƌĞƐƐх͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϱϭ
'ůŽƐƐĂƌLJŽĨĐƌŽŶLJŵƐ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ ϱϯ
YƵŝĐŬZĞĨĞƌĞŶĐĞƚŽŽŵŵĂŶĚƐ
YƵŝĐŬ>ŝƐƚŽĨdžĂŵƉůĞƐ
Use this list to help you locate examples you’d like to try or look at.
džĂŵƉůĞϭͲϭ ŝƐƉůĂLJŝŶŐ/WĨŽƌǁĂƌĚŝŶŐƐƚĂƚƵƐ ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϴ
džĂŵƉůĞϭͲϵ ŝƐƉůĂLJŝŶŐŝŶĨŽƌŵĂƚŝŽŶĂďŽƵƚĂƌŽƵƚĞŝŶƚŚĞ&/͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϭϲ
džĂŵƉůĞϭͲϭϮ ŝƐƉůĂLJŝŶŐĂƐƵŵŵĂƌLJŽĨƌŽƵƚĞƐ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϭϵ
džĂŵƉůĞϭͲϭϯ ŝƐƉůĂLJŝŶŐƐƵƉĞƌŶĞƚƌŽƵƚĞƐ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϮϬ
džĂŵƉůĞϭͲϭϰ ͞ƐŚŽǁŝƉǀϲƌŽƵƚĞƐƵŵŵĂƌLJ͗͟ŝƐƉůĂLJŝŶŐĂƐƵŵŵĂƌLJŽĨ/WǀϲƌŽƵƚĞƐ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϯϬ
džĂŵƉůĞϮͲϭ ƌĞĂƚŝŶŐĂƐƚĂƚŝĐƌŽƵƚĞ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϯϰ
džĂŵƉůĞϮͲϮ ^ŚŽǁŝŶŐƐƚĂƚŝĐƌŽƵƚĞƐŝŶƚŚĞƌŽƵƚŝŶŐƚĂďůĞ ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϯϱ
džĂŵƉůĞϮͲϱ ĚĚƚŚĞĚĞĨĂƵůƚƌŽƵƚĞŽŶZϰ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϯϳ
džĂŵƉůĞϮͲϴ ŽŶĨŝƌŵĐŽŶŶĞĐƚŝǀŝƚLJďĞƚǁĞĞŶZϮĂŶĚZϰǀŝĂZϭ͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘͘ϯϵ
vii
WƌĞĨĂĐĞ
This document describes the various deployment, installation, and upgrade options
for Vyatta software.
This preface provides information about using this guide. The following topics are
presented:
• Intended Audience
• Organization of This Guide
• Document Conventions
• Vyatta Publications
/ŶƚĞŶĚĞĚƵĚŝĞŶĐĞ
This guide is intended for experienced system and network administrators.
Depending on the functionality to be used, readers should have specific knowledge
in the following areas:
• Networking and data communications
• TCP/IP protocols
• General router configuration
• Routing protocols
• Network administration
• Network security
• IP services
KƌŐĂŶŝnjĂƚŝŽŶŽĨdŚŝƐ'ƵŝĚĞ
This guide has the following aid to help you find the information you are looking for:
• Quick Reference to Commands
Use this list to help you quickly locate commands.
• Quick List of Examples
Use this list to help you locate examples you’d like to try or look at.
This guide has the following chapters:
'ůŽƐƐĂƌLJŽĨĐƌŽŶLJŵƐ ϱϯ
ŽĐƵŵĞŶƚŽŶǀĞŶƚŝŽŶƐ
This guide uses the following advisory paragraphs, as follows.
tZE/E'tĂƌŶŝŶŐƐĂůĞƌƚLJŽƵƚŽƐŝƚƵĂƚŝŽŶƐƚŚĂƚŵĂLJƉŽƐĞĂƚŚƌĞĂƚƚŽƉĞƌƐŽŶĂůƐĂĨĞƚLJ͘
hd/KEĂƵƚŝŽŶƐĂůĞƌƚLJŽƵƚŽƐŝƚƵĂƚŝŽŶƐƚŚĂƚŵŝŐŚƚĐĂƵƐĞŚĂƌŵƚŽLJŽƵƌƐLJƐƚĞŵŽƌĚĂŵĂŐĞƚŽ
ĞƋƵŝƉŵĞŶƚ͕ŽƌƚŚĂƚŵĂLJĂĨĨĞĐƚƐĞƌǀŝĐĞ͘
EKdEŽƚĞƐƉƌŽǀŝĚĞŝŶĨŽƌŵĂƚŝŽŶLJŽƵŵŝŐŚƚŶĞĞĚƚŽĂǀŽŝĚƉƌŽďůĞŵƐŽƌĐŽŶĨŝŐƵƌĂƚŝŽŶĞƌƌŽƌƐ͘
sLJĂƚƚĂWƵďůŝĐĂƚŝŽŶƐ
Full product documentation is provided in the Vyatta technical library. To see what
documentation is available for your release, see the Guide to Vyatta Documentation.
This guide is posted with every release of Vyatta software and provides a great
starting point for finding the information you need.
Additional information is available on www.vyatta.com and www.vyatta.org.
ŚĂƉƚĞƌϭ͗&ŽƌǁĂƌĚŝŶŐĂŶĚZŽƵƚŝŶŐ
&ŽƌǁĂƌĚŝŶŐĂŶĚZŽƵƚŝŶŐŽŵŵĂŶĚƐ
This chapter contains the following commands.
ŽŶĨŝŐƵƌĂƚŝŽŶŽŵŵĂŶĚƐ
EŽŶĞ
KƉĞƌĂƚŝŽŶĂůŽŵŵĂŶĚƐ
ĐůĞĂƌŝƉƉƌĞĨŝdžͲůŝƐƚ ůĞĂƌƐƉƌĞĨŝdžůŝƐƚƐƚĂƚŝƐƚŝĐƐŽƌƐƚĂƚƵƐ͘
ĐůĞĂƌŝƉƌŽƵƚĞĐĂĐŚĞ &ůƵƐŚĞƐƚŚĞŬĞƌŶĞůƌŽƵƚĞĐĂĐŚĞ͘
ĐůĞĂƌŝƉǀϲƉƌĞĨŝdžͲůŝƐƚ ůĞĂƌƐƉƌĞĨŝdžůŝƐƚƐƚĂƚŝƐƚŝĐƐŽƌƐƚĂƚƵƐ͘
ĐůĞĂƌŝƉǀϲƌŽƵƚĞĐĂĐŚĞ &ůƵƐŚĞƐƚŚĞŬĞƌŶĞů/WǀϲƌŽƵƚĞĐĂĐŚĞ͘
ƐŚŽǁŝƉĨŽƌǁĂƌĚŝŶŐ ŝƐƉůĂLJƐ/WĨŽƌǁĂƌĚŝŶŐƐƚĂƚƵƐ͘
ƐŚŽǁŝƉƌŽƵƚĞ ŝƐƉůĂLJƐƌŽƵƚĞƐƐƚŽƌĞĚŝŶƚŚĞZ/ĂŶĚ&/͘
ƐŚŽǁŝƉƌŽƵƚĞфŝƉǀϰŶĞƚхůŽŶŐĞƌͲƉƌĞĨŝdžĞƐ ŝƐƉůĂLJƐƉƌĞĨŝdžĞƐůŽŶŐĞƌƚŚĂŶĂƐƉĞĐŝĨŝĞĚƉƌĞĨŝdž͘
ƐŚŽǁŝƉƌŽƵƚĞĐĂĐŚĞ ŝƐƉůĂLJƐƚŚĞŬĞƌŶĞůƌŽƵƚĞĐĂĐŚĞ͘
ƐŚŽǁŝƉƌŽƵƚĞĐŽŶŶĞĐƚĞĚ ŝƐƉůĂLJƐĚŝƌĞĐƚůLJĐŽŶŶĞĐƚĞĚƌŽƵƚĞƐ͘
ƐŚŽǁŝƉƌŽƵƚĞĨŽƌǁĂƌĚ ŝƐƉůĂLJƐƌŽƵƚĞƐƐƚŽƌĞĚŝŶƚŚĞ&/͘
ƐŚŽǁŝƉƌŽƵƚĞƐƚĂƚŝĐ ŝƐƉůĂLJƐƐƚĂƚŝĐƌŽƵƚĞƐ͘
ƐŚŽǁŝƉƌŽƵƚĞŬĞƌŶĞů ŝƐƉůĂLJƐŬĞƌŶĞůƌŽƵƚĞƐ͘
ƐŚŽǁŝƉƌŽƵƚĞƐƵŵŵĂƌLJ ŝƐƉůĂLJƐƌŽƵƚĞƐƐƵŵŵĂƌLJ͘
ƐŚŽǁŝƉƌŽƵƚĞƐƵƉĞƌŶĞƚƐͲŽŶůLJ ŝƐƉůĂLJƐƐƵƉĞƌŶĞƚƌŽƵƚĞƐ͘
ƐŚŽǁŝƉǀϲƌŽƵƚĞ ŝƐƉůĂLJƐ/WǀϲƌŽƵƚĞƐƐƚŽƌĞĚŝŶƚŚĞZ/ĂŶĚ&/͘
ƐŚŽǁŝƉǀϲƌŽƵƚĞфŝƉǀϲŶĞƚхůŽŶŐĞƌͲƉƌĞĨŝdžĞƐ ŝƐƉůĂLJƐ/WǀϲƉƌĞĨŝdžĞƐůŽŶŐĞƌƚŚĂŶĂƐƉĞĐŝĨŝĞĚƉƌĞĨŝdž͘
ƐŚŽǁŝƉǀϲƌŽƵƚĞďŐƉ ŝƐƉůĂLJƐ/Wǀϲ'WƌŽƵƚĞƐ͘
ƐŚŽǁŝƉǀϲƌŽƵƚĞĐĂĐŚĞ ŝƐƉůĂLJƐƚŚĞŬĞƌŶĞů/WǀϲƌŽƵƚĞĐĂĐŚĞ͘
ƐŚŽǁŝƉǀϲƌŽƵƚĞĐŽŶŶĞĐƚĞĚ ŝƐƉůĂLJƐ/WǀϲĐŽŶŶĞĐƚĞĚƌŽƵƚĞƐ͘
ƐŚŽǁŝƉǀϲƌŽƵƚĞĨŽƌǁĂƌĚ ŝƐƉůĂLJƐ/WǀϲƌŽƵƚĞƐƐƚŽƌĞĚŝŶƚŚĞ&/͘
ƐŚŽǁŝƉǀϲƌŽƵƚĞŬĞƌŶĞů ŝƐƉůĂLJƐ/WǀϲŬĞƌŶĞůƌŽƵƚĞƐ͘
ƐŚŽǁŝƉǀϲƌŽƵƚĞƌŝƉŶŐ ŝƐƉůĂLJƐ/WǀϲZ/WŶŐƌŽƵƚĞƐ͘
ƐŚŽǁŝƉǀϲƌŽƵƚĞƐƚĂƚŝĐ ŝƐƉůĂLJƐ/WǀϲƐƚĂƚŝĐƌŽƵƚĞƐ͘
ƐŚŽǁŝƉǀϲƌŽƵƚĞƐƵŵŵĂƌLJ ŝƐƉůĂLJƐ/WǀϲƌŽƵƚĞƐƐƵŵŵĂƌLJ͘
ƐŚŽǁƚĂďůĞ ŝƐƉůĂLJƐƚŚĞƐLJƐƚĞŵ͛ƐƌŽƵƚŝŶŐƚĂďůĞ͘
ĐůĞĂƌŝƉƉƌĞĨŝdžͲůŝƐƚ
Clears prefix list statistics or status.
^LJŶƚĂdž
clear ip prefix-list [list-name [ipv4net]]
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
ĞĨĂƵůƚ
Statistics for all prefix-lists are cleared.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to clear prefix list statistics or status.
ĐůĞĂƌŝƉƌŽƵƚĞĐĂĐŚĞ
Flushes the kernel route cache.
^LJŶƚĂdž
clear ip route cache [ipv4net]
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
ipv4net Optional. Flushes the specified route from the kernel route
cache.
ĞĨĂƵůƚ
Flushes the entire route cache.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to flush the kernel route cache or a flush a specific route from the
cache.
ĐůĞĂƌŝƉǀϲƉƌĞĨŝdžͲůŝƐƚ
Clears prefix list statistics or status.
^LJŶƚĂdž
clear ipv6 prefix-list [list-name [ipv6net]]
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
ĞĨĂƵůƚ
Statistics for all prefix-lists are cleared.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to clear prefix list statistics or status.
ĐůĞĂƌŝƉǀϲƌŽƵƚĞĐĂĐŚĞ
Flushes the kernel IPv6 route cache.
^LJŶƚĂdž
clear ipv6 route cache [ipv6net]
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
ipv6net Optional. Flushes the specified route from the kernel IPv6 route
cache.
ĞĨĂƵůƚ
Flushes the entire IPv6 route cache.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to flush the kernel IPv6 route cache or a flush a specific route from
the cache.
ƐŚŽǁŝƉĨŽƌǁĂƌĚŝŶŐ
Displays IP forwarding status.
^LJŶƚĂdž
show ip forwarding
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
None.
ĞĨĂƵůƚ
None.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to display the current IP forwarding status.
džĂŵƉůĞƐ
Example 1-1 shows how to display the status of IP forwarding.
džĂŵƉůĞϭͲϭŝƐƉůĂLJŝŶŐ/WĨŽƌǁĂƌĚŝŶŐƐƚĂƚƵƐ
ɒśɌɛ
ɒśɌɛ
ƐŚŽǁŝƉƌŽƵƚĞ
Displays routes stored in the RIB and FIB.
^LJŶƚĂdž
show ip route [ipv4 | ipv4net]
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
ĞĨĂƵůƚ
Lists all routes in the RIB and FIB.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to display active prefixes stored in the Routing Information Base
(RIB), as well as those stored in the Forwarding Information Base (FIB).
The routes shown in the FIB can also be seen using show ip route forward command.
džĂŵƉůĞƐ
Example 1-2 shows how to display routes in the RIB and FIB
džĂŵƉůĞϭͲϮŝƐƉůĂLJŝŶŐƌŽƵƚĞƐŝŶƚŚĞZ/ĂŶĚ&/
ɒśɌɛ
śŞřŞ
řŞ
řŞřŞ ř
ŞřŞ
řʴŞ
řƋŞ
ʴƋɥŜɥŜɥŜɥŵɥƃɨŵɥƄɨɥŜɨŜɥŜɨřɥ
ɨɥŜɨŜɥŜɥŵɩɫƃɨɨɥŵɨɥƄ
řɥřɥɬśɪɬśɨɬ
ʴƋɨɥŜɨŜɥŜɥŵɩɫ
řɥ
ʴƋɨɥŜɨɰɩŜɪɩŜɥŵɩɫƃɨɨɥŵɩɥƄɨɥŜɨŜɥŜɫɬřɥřɥɬśɪɬśɨɬ
ʴƋɨɥŜɨɰɩŜɨɩɯŜɥŵɩɫƃɨɨɥŵɨɨƄɨɥŜɨŜɥŜɭɭřɥřɥɬśɪɬśɨɬ
ʴƋɨɥŜɨɰɩŜɨɩɯŜɨŵɪɩƃɨɨɥŵɨɨƄɨɥŜɨŜɥŜɭɭřɥřɥɬśɪɬśɨɬ
ʴƋɨɥŜɨɰɩŜɨɩɰŜɥŵɩɫƃɨɨɥŵɨɨƄɨɥŜɨŜɥŜɭɭřɥřɥɬśɪɬśɨɬ
ʴƋɨɥŜɨɰɩŜɨɪɥŜɥŵɩɫƃɨɨɥŵɨɨƄɨɥŜɨŜɥŜɭɭřɥřɥɬśɪɬśɨɬ
ʴƋɨɥŜɨɰɩŜɨɪɨŜɥŵɩɫƃɨɨɥŵɨɨƄɨɥŜɨŜɥŜɭɭřɥřɥɬśɪɬśɨɬ
ʴƋɨɩɮŜɥŜɥŜɥŵɯ
ř
ʴƋɨɮɩŜɨɭŜɥŜɥŵɩɫƃɨɨɥŵɨɨƄɨɥŜɨŜɥŜɫřɥřɥɬśɪɬśɨɬ
ʴƋɨɮɩŜɨɭŜɨŜɥŵɩɫƃɨɨɥŵɨɨƄɨɥŜɨŜɥŜɫřɥřɥɬśɪɬśɨɬ
ʴƋɨɮɩŜɨɭŜɩŜɥŵɩɫƃɨɨɥŵɨɨƄɨɥŜɨŜɥŜɫřɥřɥɬśɪɬśɨɬ
ʴƋɨɮɩŜɨɭŜɪŜɥŵɩɫƃɨɨɥŵɨɨƄɨɥŜɨŜɥŜɫřɥřɥɬśɪɬśɨɬ
ʴƋɨɮɩŜɨɭŜɫŜɥŵɩɫƃɨɨɥŵɨɨƄɨɥŜɨŜɥŜɫřɥřɥɬśɪɬśɨɬ
ʴƋɨɮɩŜɨɭŜɬŜɥŵɩɫƃɨɨɥŵɨɨƄɨɥŜɨŜɥŜɫřɥřɥɬśɪɬśɨɬ
ʴƋɨɮɩŜɨɭŜɭŜɥŵɩɫƃɨɨɥŵɨɨƄɨɥŜɨŜɥŜɫřɥřɥɬśɪɬśɨɬ
ʴƋɨɮɩŜɨɭŜɮŜɥŵɩɫƃɨɨɥŵɨɨƄɨɥŜɨŜɥŜɫřɥřɥɬśɪɬśɨɬ
ʴƋɨɮɩŜɨɭŜɯŜɥŵɩɫƃɨɨɥŵɨɨƄɨɥŜɨŜɥŜɫřɥřɥɬśɪɬśɨɬ
ʴƋɨɮɩŜɨɭŜɰŜɥŵɩɫƃɨɨɥŵɨɨƄɨɥŜɨŜɥŜɫřɥřɥɬśɪɬśɨɬ
ʴƋɨɮɩŜɨɭŜɩɪɫŜɥŵɩɬ
řɨ
ʴƋɨɰɩŜɰɫŜɩɥɩŜɥŵɩɫƃɨŵɥƄɨɮɩŜɨɭŜɩɪɫŜɩɮřɨ
ɒśɌɛ
Example 1-3 shows information how to display information for the route to address
10.192.128.1.
džĂŵƉůĞϭͲϯŝƐƉůĂLJŝŶŐƌŽƵƚŝŶŐŝŶĨŽƌŵĂƚŝŽŶĂďŽƵƚĂƐƉĞĐŝĨŝĐĂĚĚƌĞƐƐ
ɒśɌɛɨɥŜɨɰɩŜɨɩɯŜɨ
ɨɥŜɨɰɩŜɨɩɯŜɨŵɪɩ
ɑɑř
ɨɨɥř
ɨɨř
ɥɰśɫɮśɥɮ
ƋɨɥŜɨŜɥŜɭɭřɥ
ɒśɌɛ
ƐŚŽǁŝƉƌŽƵƚĞфŝƉǀϰŶĞƚхůŽŶŐĞƌͲƉƌĞĨŝdžĞƐ
Displays prefixes longer than a specified prefix.
^LJŶƚĂdž
show ip route ipv4net longer-prefixes
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
ĞĨĂƵůƚ
None.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to display all prefixes in the Routing Information Base (RIB) that
are longer than a given IP address or prefix.
džĂŵƉůĞƐ
Example 1-4 shows how to list prefixes longer than the prefix 10.192.128.0/24.
džĂŵƉůĞϭͲϰŝƐƉůĂLJŝŶŐƌŽƵƚĞƐǁŝƚŚůŽŶŐĞƌƉƌĞĨŝdžĞƐ
ɒśɌɛɨɥŜɨɰɩŜɨɩɯŜɥŵɩɫŞ
śŞřŞ
řŞ
řŞřŞ ř
ŞřŞ
řʴŞ
řƋŞ
ʴƋɨɥŜɨɰɩŜɨɩɯŜɥŵɩɫƃɨɨɥŵɨɨƄɨɥŜɨŜɥŜɭɭřɥřɥɰśɪɭśɩɥ
ʴƋɨɥŜɨɰɩŜɨɩɯŜɨŵɪɩƃɨɨɥŵɨɨƄɨɥŜɨŜɥŜɭɭřɥřɥɰśɪɭśɩɥ
ɒśɌɛ
ƐŚŽǁŝƉƌŽƵƚĞĐĂĐŚĞ
Displays the kernel route cache.
^LJŶƚĂdž
show ip route cache [ipv4net]
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
ĞĨĂƵůƚ
Lists routes in the kernel route cache.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to display information about routes stored in the kernel route
cache. The route cache contains all paths currently in use by the cache. Multiple
equal-cost paths are necessary before equal-cost-multi-path (ECMP) routing can be
performed.
džĂŵƉůĞƐ
Example 1-5 shows how to list routes in the kernel route cache.
džĂŵƉůĞϭͲϱ>ŝƐƚŝŶŐƌŽƵƚĞƐŝŶƚŚĞŬĞƌŶĞůƌŽƵƚĞĐĂĐŚĞ
ɒśɌɛ
ɨɥŜɨŜɥŜɭɩɨɥŜɨŜɥŜɨ
ɨɥŜɨŜɥŜɭɩ
ʳ
ř
Ş
ʴɨɫɩ
ɥ
ɩɩɫŜɥŜɥŜɬɨɥŜɨŜɥŜɫɬ
ɨɥŜɨŜɥŜɭɩ
ʳ
ř
ʴɨɯɬ
ɥ
ɨɥŜɨŜɥŜɭɩɭɰŜɬɰŜɨɬɥŜɨɪɨ
ɨɥŜɨŜɥŜɭɩ
ʳ
ʴɨɪɫɮ
ɥ
ɨɥŜɨŜɥŜɨɨɥŜɨŜɥŜɭɩɥ
ɨɫɩ
ɨɬɥɥɨɫɭɥɭɫ
ɨɥŜɥŜɥŜɪɥɨɥŜɨŜɥŜɭɩɨɥŜɨŜɥŜɨɥ
ɩɥ
ɨɬɥɥɨɫɭɥɭɫ
ɩɩɫŜɥŜɥŜɬɨɥŜɨŜɥŜɬɭ
ɨɥŜɨŜɥŜɭɩ
ʳ
ř
ʴɨɯɯ
ɥ
ɩɩɫŜɥŜɥŜɬɨɥŜɨŜɥŜɭɭ
ɨɥŜɨŜɥŜɭɩ
ʳ
ř
ʴɨɯɥ
ɥ
ɩɩɫŜɥŜɥŜɭɥ
ɨɥŜɨŜɥŜɭɩ
ʳ
ʴɨɩɨ
ɨɬɥɥɨɫɭɥɭɫ
ɩɩɫŜɥŜɥŜɬɨɥŜɨŜɥŜɫ
ɨɥŜɨŜɥŜɭɩ
ʳ
ř
ʴɨɰɨ
ɥ
ɭɰŜɬɰŜɨɬɥŜɨɪɨɨɥŜɨŜɥŜɨɥ
ɨɥŜɨŜɥŜɭɩ
ɨɫɮ
ɨɬɥɥɨɫɭɥɭɫ
ɩɩɫŜɥŜɥŜɬɥ
ɨɥŜɨŜɥŜɭɩ
ʳ
ř
ʴɨɯɬ
ɨɬɥɥɨɫɭɥ
ɭɫ
ɭɰŜɬɰŜɨɬɥŜɨɪɨɨɥŜɨŜɥŜɭɩɨɥŜɨŜɥŜɨɥ
ɨɨɫɮ
ɨɬɥɥɨɫɭɥɭɫ
ɨɥŜɨŜɥŜɭɩɨɥŜɥŜɥŜɪɥ
ɨɥŜɨŜɥŜɭɩ
ʳ
ʴɨɨɥ
ɥ
ɒśɌɛ
Example 1-6 shows how to display information about route 10.1.0.62 in the kernel
route cache.
džĂŵƉůĞϭͲϲŝƐƉůĂLJŝŶŐŝŶĨŽƌŵĂƚŝŽŶĂďŽƵƚĂƌŽƵƚĞŝŶƚŚĞŬĞƌŶĞůƌŽƵƚĞĐĂĐŚĞ
ɒśɌɛ
ɨɥŜɨŜɥŜɭɩ
ɨɥŜɨŜɥŜɭɩɨɥŜɨŜɥŜɨ
ɨɥŜɨŜɥŜɭɩ
ʳ
ř
Ş
ʴɨɪɰ
ɥ
ɨɥŜɨŜɥŜɭɩɭɰŜɬɰŜɨɬɥŜɨɪɨ
ɨɥŜɨŜɥŜɭɩ
ʳ
ʴɨɮɨɥɩ
ɥ
ɨɥŜɨŜɥŜɭɩɨɥŜɥŜɥŜɪɥ
ɨɥŜɨŜɥŜɭɩ
ʳ
ʴɨɪɪɥ
ɒśɌɛ
ƐŚŽǁŝƉƌŽƵƚĞĐŽŶŶĞĐƚĞĚ
Displays directly connected routes.
^LJŶƚĂdž
show ip route connected
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
None.
ĞĨĂƵůƚ
None.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to display routes directly connected to the local system.
džĂŵƉůĞƐ
Example 1-7 shows how to list directly connected routes.
džĂŵƉůĞϭͲϳŝƐƉůĂLJŝŶŐĐŽŶŶĞĐƚĞĚƌŽƵƚĞƐ
ɒśɌɛ
śŞřŞ
řŞ
řŞřŞ ř
ŞřŞ
řʴŞ
řƋŞ
ʴƋɨɥŜɨŜɥŜɥŵɩɫ
řɥ
ʴƋɨɩɮŜɥŜɥŜɥŵɯ
ř
ʴƋɨɮɩŜɨɭŜɩɪɫŜɥŵɩɬ
řɨ
ɒśɌɛ
ƐŚŽǁŝƉƌŽƵƚĞĨŽƌǁĂƌĚ
Displays routes stored in the FIB.
^LJŶƚĂdž
show ip route forward [ipv4net]
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
ĞĨĂƵůƚ
Lists routes in the FIB.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to display the FIB.
The FIB contains multiple equal-cost paths if existed. Multiple equal-cost paths are
necessary before equal-cost multi-path (ECMP) routing or WAN load balancing can
be performed.
džĂŵƉůĞƐ
Example 1-8 shows how to display routes recorded in the FIB.
džĂŵƉůĞϭͲϴŝƐƉůĂLJŝŶŐƌŽƵƚĞƐŝŶƚŚĞ&/
ɒśɌɛ
ɨɥŜɨŜɥŜɨɥ
ɨɥŜɨŜɥŜɥŵɩɫɥ
ɨɥŜɨŜɥŜɭɩ
ɨɥŜɨɰɩŜɪɩŜɥŵɩɫɨɥŜɨŜɥŜɫɬɥ
ɩɥ
ɨɥŜɨɰɩŜɨɩɯŜɥŵɩɫɨɥŜɨŜɥŜɭɭɥ
ɨɨ
ɨɥŜɨɰɩŜɨɩɯŜɨɨɥŜɨŜɥŜɭɭɥ
ɨɨ
ɨɥŜɨɰɩŜɨɩɰŜɥŵɩɫɨɥŜɨŜɥŜɭɭɥ
ɨɨ
ɨɥŜɨɰɩŜɨɪɥŜɥŵɩɫɨɥŜɨŜɥŜɭɭɥ
ɨɨ
ɨɥŜɨɰɩŜɨɪɨŜɥŵɩɫɨɥŜɨŜɥŜɭɭɥ
ɨɨ
ɨɮɩŜɨɭŜɥŜɥŵɩɫɨɥŜɨŜɥŜɫɥ
ɨɨ
ɨɮɩŜɨɭŜɨŜɥŵɩɫɨɥŜɨŜɥŜɫɥ
ɨɨ
ɨɮɩŜɨɭŜɩŜɥŵɩɫɨɥŜɨŜɥŜɫɥ
ɨɨ
ɨɮɩŜɨɭŜɪŜɥŵɩɫɨɥŜɨŜɥŜɫɥ
ɨɨ
ɨɮɩŜɨɭŜɫŜɥŵɩɫɨɥŜɨŜɥŜɫɥ
ɨɨ
ɨɮɩŜɨɭŜɬŜɥŵɩɫɨɥŜɨŜɥŜɫɥ
ɨɨ
ɨɮɩŜɨɭŜɭŜɥŵɩɫɨɥŜɨŜɥŜɫɥ
ɨɨ
ɨɮɩŜɨɭŜɮŜɥŵɩɫɨɥŜɨŜɥŜɫɥ
ɨɨ
ɨɮɩŜɨɭŜɯŜɥŵɩɫɨɥŜɨŜɥŜɫɥ
ɨɨ
ɨɮɩŜɨɭŜɰŜɥŵɩɫɨɥŜɨŜɥŜɫɥ
ɨɨ
ɨɮɩŜɨɭŜɩɪɫŜɥŵɩɬɨ
ɨɮɩŜɨɭŜɩɪɫŜɩɪ
ɨɰɩŜɰɫŜɩɥɩŜɥŵɩɫɨɮɩŜɨɭŜɩɪɫŜɩɮɨ
ɒśɌɛ
Example 1-9 shows how to display information from the FIB about route
10.1.0.0/24.
džĂŵƉůĞϭͲϵŝƐƉůĂLJŝŶŐŝŶĨŽƌŵĂƚŝŽŶĂďŽƵƚĂƌŽƵƚĞŝŶƚŚĞ&/
ɒśɌɛɨɥŜɨŜɥŜɥŵɩɫ
ɨɥŜɨŜɥŜɥŵɩɫɥ
ɨɥŜɨŜɥŜɭɩ
ɒśɌɛ
ƐŚŽǁŝƉƌŽƵƚĞŬĞƌŶĞů
Displays kernel routes.
^LJŶƚĂdž
show ip route kernel
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
None.
ĞĨĂƵůƚ
None.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to display kernel routes. Kernel routes are routes that have been
added through means other than by using the Vyatta CLI; for example by using the
operating system route command, as in the following:
ŞɨɥŜɨɮɩŜɩɫŜɥɩɬɬŜɩɬɬŜɩɬɬŜɥɨɥŜɨŜɥŜɨ
džĂŵƉůĞƐ
Example 1-10 shows how to display kernel routes.
džĂŵƉůĞϭͲϭϬŝƐƉůĂLJŝŶŐŬĞƌŶĞůƌŽƵƚĞƐ
ɒśɌɛ
śŞřŞ
řŞ
řŞřŞ ř
ŞřŞ
řʴŞ
řƋŞ
ʴƋɨɥŜɨɮɩŜɩɫŜɥŵɩɫɨɥŜɨŜɥŜɨřɥ
ɒśɌɛ
ƐŚŽǁŝƉƌŽƵƚĞƐƚĂƚŝĐ
Displays static routes.
^LJŶƚĂdž
show ip route static
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
None.
ĞĨĂƵůƚ
None.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to display static routes in the Routing Information Base (RIB).
džĂŵƉůĞƐ
Example 1-11 shows how to list static routes.
džĂŵƉůĞϭͲϭϭŝƐƉůĂLJŝŶŐƐƚĂƚŝĐƌŽƵƚĞƐ
ɒśɌɛ
śŞřŞ
řŞ
řŞřŞ ř
ŞřŞ
řʴŞ
řƋŞ
ʴƋɥŜɥŜɥŜɥŵɥƃɨŵɥƄɨɥŜɨŜɥŜɨřɥ
ʴƋɨɰɩŜɰɫŜɩɥɩŜɥŵɩɫƃɨŵɥƄɨɮɩŜɨɭŜɩɪɫŜɩɮřɨ
ɒśɌɛ
ƐŚŽǁŝƉƌŽƵƚĞƐƵŵŵĂƌLJ
Displays routes summary.
^LJŶƚĂdž
show ip route summary
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
None.
ĞĨĂƵůƚ
None.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to display a summary of the various routes by route source.
džĂŵƉůĞƐ
Example 1-12 shows how to display a summary of routes.
džĂŵƉůĞϭͲϭϮŝƐƉůĂLJŝŶŐĂƐƵŵŵĂƌLJŽĨƌŽƵƚĞƐ
ɒśɌɛ
ɫɫ
ɩɩ
ɨɥ
ɥɥ
ɩɯɰɥɨɭɩɯɰɥɨɨ
ŞŞŞŞŞŞ
ɩɯɰɥɩɪɩɯɰɥɨɮ
ɒśɌɛ
ƐŚŽǁŝƉƌŽƵƚĞƐƵƉĞƌŶĞƚƐͲŽŶůLJ
Displays supernet routes.
^LJŶƚĂdž
show ip route supernets-only
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
None.
ĞĨĂƵůƚ
None.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to display supernet routes.
Supernet routes are routes that have a subnet mask thatis less specific than the
natural classful mask.
džĂŵƉůĞƐ
Example 1-13 shows how to list supernet routes.
džĂŵƉůĞϭͲϭϯŝƐƉůĂLJŝŶŐƐƵƉĞƌŶĞƚƌŽƵƚĞƐ
ɒśɌɛŞ
śŞřŞ
řŞ
řŞřŞ ř
ŞřŞ
řʴŞ
řƋŞ
ʴƋɥŜɥŜɥŜɥŵɥƃɨŵɥƄɨɥŜɨŜɥŜɨřɥ
ɒśɌɛ
ƐŚŽǁŝƉǀϲƌŽƵƚĞ
Displays IPv6 routes stored in the RIB and FIB.
^LJŶƚĂdž
show ipv6 route [ipv6 | ipv6net]
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
ĞĨĂƵůƚ
Lists all IPv6 routes in the RIB and FIB.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to display active IPv6 prefixes stored in the Routing Information
Base (RIB), as well as those stored in the Forwarding Information Base (FIB).
The routes shown in the FIB can also be seen using show ip route forward command.
ƐŚŽǁŝƉǀϲƌŽƵƚĞфŝƉǀϲŶĞƚхůŽŶŐĞƌͲƉƌĞĨŝdžĞƐ
Displays IPv6 prefixes longer than a specified prefix.
^LJŶƚĂdž
show ipv6 route ipv6net longer-prefixes
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
ipv6net Mandatory. Displays all prefixes longer than the specified IPv6
prefix.
ĞĨĂƵůƚ
None.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to display all prefixes in the Routing Information Base (RIB) that
are longer than a given IPv6 address or prefix.
ƐŚŽǁŝƉǀϲƌŽƵƚĞďŐƉ
Displays IPv6 BGP routes.
^LJŶƚĂdž
show ipv6 route bgp
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
None.
ĞĨĂƵůƚ
None.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to display IPv6 BGP routes.
ƐŚŽǁŝƉǀϲƌŽƵƚĞĐĂĐŚĞ
Displays the kernel IPv6 route cache.
^LJŶƚĂdž
show ipv6 route cache [ipv6net]
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
ipv6net Optional. Displays kernel IPv6 route cache information for the
specified route.
ĞĨĂƵůƚ
Lists routes in the kernel IPv6 route cache.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to display information about routes stored in the kernel IPv6
route cache. The route cache contains all paths currently in use by the cache.
Multiple equal-cost paths are necessary before equal-cost-multi-path (ECMP)
routing can be performed.
ƐŚŽǁŝƉǀϲƌŽƵƚĞĐŽŶŶĞĐƚĞĚ
Displays IPv6 connected routes.
^LJŶƚĂdž
show ipv6 route connected
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
None.
ĞĨĂƵůƚ
None.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to display IPv6 routes directly connected to the local system.
ƐŚŽǁŝƉǀϲƌŽƵƚĞĨŽƌǁĂƌĚ
Displays IPv6 routes stored in the FIB.
^LJŶƚĂdž
show ipv6 route forward [ipv6net]
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
ĞĨĂƵůƚ
Lists IPv6 routes in the FIB.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to display the FIB.
The FIB contains multiple equal-cost paths if existed. Multiple equal-cost paths are
necessary before equal-cost multi-path (ECMP) routing or WAN load balancing can
be performed.
ƐŚŽǁŝƉǀϲƌŽƵƚĞŬĞƌŶĞů
Displays IPv6 kernel routes.
^LJŶƚĂdž
show ipv6 route kernel
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
None.
ĞĨĂƵůƚ
None.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to display IPv6 kernel routes. Kernel routes are routes that have
been added through means other than by using the Vyatta CLI.
ƐŚŽǁŝƉǀϲƌŽƵƚĞƌŝƉŶŐ
Displays IPv6 RIPng routes.
^LJŶƚĂdž
show ipv6 route ripng
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
None.
ĞĨĂƵůƚ
None.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to display IPv6 RIPng routes.
ƐŚŽǁŝƉǀϲƌŽƵƚĞƐƚĂƚŝĐ
Displays IPv6 static routes.
^LJŶƚĂdž
show ipv6 route static
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
None.
ĞĨĂƵůƚ
None.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to display IPv6 static routes in the Routing Information Base
(RIB).
ƐŚŽǁŝƉǀϲƌŽƵƚĞƐƵŵŵĂƌLJ
Displays IPv6 routes summary.
^LJŶƚĂdž
show ipv6 route summary
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
None.
ĞĨĂƵůƚ
None.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to display a summary of the various IPv6 routes by route source.
džĂŵƉůĞƐ
Example 1-14 shows a summary of IPv6 routes.
džĂŵƉůĞϭͲϭϰ͞ƐŚŽǁŝƉǀϲƌŽƵƚĞƐƵŵŵĂƌLJ͗͟ŝƐƉůĂLJŝŶŐĂƐƵŵŵĂƌLJŽĨ/WǀϲƌŽƵƚĞƐ
ɒśɌɛɭ
ɫɫ
ɩɩ
ŞŞŞŞŞŞ
ɭ ɭ
ɒśɌɛ
ƐŚŽǁƚĂďůĞ
Displays the system’s routing table.
^LJŶƚĂdž
show table
ŽŵŵĂŶĚDŽĚĞ
Operational mode.
WĂƌĂŵĞƚĞƌƐ
None.
ĞĨĂƵůƚ
None.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to display the system’s routing table.
džĂŵƉůĞƐ
Example 1-15 shows how to display the routing table.
džĂŵƉůĞϭͲϭϱŝƐƉůĂLJŝŶŐƚŚĞƌŽƵƚŝŶŐƚĂďůĞ
ɒśɌɛ
ɥ
ɒśɌɛ
ŚĂƉƚĞƌϮ͗^ƚĂƚŝĐZŽƵƚĞƐ
This chapter explains how to set static routes using the Vyatta system.
This chapter presents the following topics:
• Static Route Configuration
• Static IPv6 Route Configuration
• Static Route Commands
^ƚĂƚŝĐZŽƵƚĞŽŶĨŝŐƵƌĂƚŝŽŶ
This section presents the following topics:
• Static Routes Overview
• Configuring Static Routes
• Floating Static Routes
• Showing Static Routes in the Routing Table
^ƚĂƚŝĐZŽƵƚĞƐKǀĞƌǀŝĞǁ
A static route is a manually configured route, which, in general, cannot be updated
dynamically from information the Vyatta system learns about the network topology.
However, if a link fails, the router will remove routes, including static routes, from
the Routing Information Base (RIB) that used this interface to reach the next hop.
In general, static routes should only be used for very simple network topologies, or
to override the behavior of a dynamic routing protocol for a small number of routes.
The collection of all routes the router has learned from its configuration or from its
dynamic routing protocols is stored in its Routing Information Base (RIB).
Unicast routes are directly used to determine the forwarding table used for unicast
packet forwarding.
ŽŶĨŝŐƵƌŝŶŐ^ƚĂƚŝĐZŽƵƚĞƐ
In this example, a sample configurations are presented for basic static routes. When
you are finished, the system will be configured as shown in Figure 2-1. In this
example, a static route is created that says, in effect, “any packets destined for the
11.0.0.0/8 network should be forwarded to 172.16.0.26”.
&ŝŐƵƌĞϮͲϭ^ƚĂƚŝĐƌŽƵƚĞƐ
R2 11.0.0.0/8
eth0
172.16.0.26
172 .16.0.0/24
eth0
172.16.0.65
Static Route
R1 Destination: 11.0.0.0/8
Next-Hop: 172 .16.0.26
10.10.40.0/24
džĂŵƉůĞϮͲϭƌĞĂƚŝŶŐĂƐƚĂƚŝĐƌŽƵƚĞ
^ƚĞƉ ŽŵŵĂŶĚ
&ůŽĂƚŝŶŐ^ƚĂƚŝĐZŽƵƚĞƐ
Usually, static routes have a relatively short administrative distance—typically 1, and
usually shorter than the administrative distances for dynamic (learned) routes. A
“floating” static route is a static route with an administrative distance greater than
that for dynamic routes.
You can configure a static route to be a floating route by setting the administrative
distance higher than the distance applied to the routes in your dynamic routing
protocol. This renders the static route less desirable than a dynamic route. At the
same time, if the dynamic route is lost, the static route is available to take over traffic,
which can be forwarded through the static route as an alternate path.
^ŚŽǁŝŶŐ^ƚĂƚŝĐZŽƵƚĞƐŝŶƚŚĞZŽƵƚŝŶŐdĂďůĞ
To display route information, use the show ip route command. To show just static
routes, use the show ip route static filter, as shown in Example 2-2.
džĂŵƉůĞϮͲϮ^ŚŽǁŝŶŐƐƚĂƚŝĐƌŽƵƚĞƐŝŶƚŚĞƌŽƵƚŝŶŐƚĂďůĞ
ɒɨśɌɛ
śŞřŞ
řŞ
řŞřŞ ř
ŞřŞ
řʴŞ
řƋŞ
ʴƋɨɨŜɥŜɥŜɥŵɯƃɨŵɥƄɨɮɩŜɨɭŜɥŜɩɭřɥ
ɒɨśɌɛ
^ƚĂƚŝĐ/WǀϲZŽƵƚĞŽŶĨŝŐƵƌĂƚŝŽŶ
Figure 2-2 shows an IPv6 network with three nodes. In this example we will show
configuration of the nodes using static routes to enable R2 and R4 to communicate
via R1.
&ŝŐƵƌĞϮͲϮ^ƚĂƚŝĐ/WǀϲƌŽƵƚŝŶŐĞdžĂŵƉůĞ
R4
eth0
2001:db8:1::4
2001:db8:1::/64
2001:db8:1::1
eth0
R1 R2
eth2 eth0
2001:db8:2::1 2001 :db8:2::2
2001:db8:2::/64
sĞƌŝĨLJƚŚĂƚ/Wǀϲ&ŽƌǁĂƌĚŝŶŐŝƐŶĂďůĞĚ
In order for R1 to be able to pass data between interfaces eth0 and eth2 (i.e. between
R4 and R2) it must be configured to enable forwarding. To determine if forwarding
is enabled, perform the following step in operational mode.
džĂŵƉůĞϮͲϯĞƚĞƌŵŝŶĞŝĨĨŽƌǁĂƌĚŝŶŐŝƐĞŶĂďůĞĚŽŶZϭ
^ƚĞƉ ŽŵŵĂŶĚ
If forwarding is not enabled, as is the case in Example 2-3, the system must be
configured to enable forwarding. To enable forwarding, perform the following steps
in configuration mode.
džĂŵƉůĞϮͲϰŶĂďůĞĨŽƌǁĂƌĚŝŶŐŽŶZϭ
^ƚĞƉ ŽŵŵĂŶĚ
džĂŵƉůĞϮͲϰŶĂďůĞĨŽƌǁĂƌĚŝŶŐŽŶZϭ
ĚĚƚŚĞĞĨĂƵůƚ/WǀϲZŽƵƚĞ
On R4, all traffic that is not routed elsewhere will be sent to R1. To configure the
default route, perform the following steps in configuration mode.
džĂŵƉůĞϮͲϱĚĚƚŚĞĚĞĨĂƵůƚƌŽƵƚĞŽŶZϰ
^ƚĞƉ ŽŵŵĂŶĚ
ĚĚĂ^ƚĂƚŝĐ/WǀϲZŽƵƚĞ
As an alternative to the default route we created on R4, we’ll create a static route on
R2. To configure a static route to the 2001:db8:1::/64 network, perform the
following steps in configuration mode.
džĂŵƉůĞϮͲϲĚĚĂƐƚĂƚŝĐƌŽƵƚĞŽŶZϮ
^ƚĞƉ ŽŵŵĂŶĚ
ŽŶĨŝƌŵŽŶŶĞĐƚŝǀŝƚLJ
To confirm that R2 and R4 can communicate, use the ping6 command. To confirm
connectivity between R2 and R4, perform the following step in operational mode.
džĂŵƉůĞϮͲϳŽŶĨŝƌŵĐŽŶŶĞĐƚŝǀŝƚLJďĞƚǁĞĞŶZϮĂŶĚZϰ
^ƚĞƉ ŽŵŵĂŶĚ
džĂŵƉůĞϮͲϴŽŶĨŝƌŵĐŽŶŶĞĐƚŝǀŝƚLJďĞƚǁĞĞŶZϮĂŶĚZϰǀŝĂZϭ
^ƚĞƉ ŽŵŵĂŶĚ
^ƚĂƚŝĐZŽƵƚĞŽŵŵĂŶĚƐ
This chapter contains the following commands.
ŽŶĨŝŐƵƌĂƚŝŽŶŽŵŵĂŶĚƐ
ƉƌŽƚŽĐŽůƐƐƚĂƚŝĐŝŶƚĞƌĨĂĐĞͲƌŽƵƚĞфƐƵďŶĞƚх ůůŽǁƐLJŽƵƚŽĐŽŶĨŝŐƵƌĞƚŚĞŶĞdžƚͲŚŽƉŝŶƚĞƌĨĂĐĞĨŽƌĂŶ
ŶĞdžƚͲŚŽƉͲŝŶƚĞƌĨĂĐĞфŝŶƚĞƌĨĂĐĞх ŝŶƚĞƌĨĂĐĞͲďĂƐĞĚƐƚĂƚŝĐƌŽƵƚĞ͘
ƉƌŽƚŽĐŽůƐƐƚĂƚŝĐŝŶƚĞƌĨĂĐĞͲƌŽƵƚĞϲфƐƵďŶĞƚх ůůŽǁƐLJŽƵƚŽĐŽŶĨŝŐƵƌĞƚŚĞŶĞdžƚŚŽƉŝŶƚĞƌĨĂĐĞĨŽƌĂŶ
ŶĞdžƚͲŚŽƉͲŝŶƚĞƌĨĂĐĞфĞƚŚdžх ŝŶƚĞƌĨĂĐĞͲďĂƐĞĚ/WǀϲƐƚĂƚŝĐƌŽƵƚĞ͘
ƉƌŽƚŽĐŽůƐƐƚĂƚŝĐƌŽƵƚĞфƐƵďŶĞƚхďůĂĐŬŚŽůĞ ůůŽǁƐLJŽƵƚŽĐŽŶĨŝŐƵƌĞĂ͞ďůĂĐŬͲŚŽůĞ͟ƐƚĂƚŝĐƌŽƵƚĞ͘
ƉƌŽƚŽĐŽůƐƐƚĂƚŝĐƌŽƵƚĞфƐƵďŶĞƚхŶĞdžƚͲŚŽƉфĂĚĚƌĞƐƐх ůůŽǁƐLJŽƵƚŽĐŽŶĨŝŐƵƌĞƚŚĞŶĞdžƚŚŽƉĨŽƌĂƐƚĂƚŝĐƌŽƵƚĞ͘
ƉƌŽƚŽĐŽůƐƐƚĂƚŝĐƌŽƵƚĞϲфƐƵďŶĞƚхďůĂĐŬŚŽůĞ ůůŽǁƐLJŽƵƚŽĐŽŶĨŝŐƵƌĞĂďůĂĐŬŚŽůĞ/WǀϲƐƚĂƚŝĐƌŽƵƚĞ͘
ƉƌŽƚŽĐŽůƐƐƚĂƚŝĐƌŽƵƚĞϲфƐƵďŶĞƚхŶĞdžƚͲŚŽƉ ůůŽǁƐLJŽƵƚŽĐŽŶĨŝŐƵƌĞƚŚĞŶĞdžƚŚŽƉĨŽƌĂŶ/WǀϲƐƚĂƚŝĐƌŽƵƚĞ͘
фĂĚĚƌĞƐƐх
KƉĞƌĂƚŝŽŶĂůŽŵŵĂŶĚƐ
ƉƌŽƚŽĐŽůƐƐƚĂƚŝĐŝŶƚĞƌĨĂĐĞͲƌŽƵƚĞфƐƵďŶĞƚх
ŶĞdžƚͲŚŽƉͲŝŶƚĞƌĨĂĐĞфŝŶƚĞƌĨĂĐĞх
Allows you to configure the next-hop interface for an interface-based static route.
^LJŶƚĂdž
set protocols static interface-route subnet next-hop-interface interface [disable |
distance distance]
delete protocols static interface-route subnet next-hop-interface interface [disable |
distance]
show protocols static interface-route subnet next-hop-interface interface [disable |
distance]
ŽŵŵĂŶĚDŽĚĞ
Configuration mode.
ŽŶĨŝŐƵƌĂƚŝŽŶ^ƚĂƚĞŵĞŶƚ
Ƈ
Ƈ
ŞƇ
ŞŞ
Ƈ
ƈ
ƈ
ƈ
WĂƌĂŵĞƚĞƌƐ
ĞĨĂƵůƚ
None.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to configure interface-based static routes on the router.
Use the set form of this command to specify the next-hop interface for the route.
Use the delete form of this command to remove the next-hop interface.
Use the show form of this command to view the next-hop interface for the route.
ƉƌŽƚŽĐŽůƐƐƚĂƚŝĐŝŶƚĞƌĨĂĐĞͲƌŽƵƚĞϲфƐƵďŶĞƚх
ŶĞdžƚͲŚŽƉͲŝŶƚĞƌĨĂĐĞфĞƚŚdžх
Allows you to configure the next hop interface for an interface-based IPv6 static
route.
^LJŶƚĂdž
set protocols static interface-route6 subnet next-hop-interface ethx [disable | distance
distance]
delete protocols static interface-route6 subnet next-hop-interface ethx [disable |
distance]
show protocols static interface-route6 subnet next-hop-interface ethx [disable |
distance]
ŽŵŵĂŶĚDŽĚĞ
Configuration mode.
ŽŶĨŝŐƵƌĂƚŝŽŶ^ƚĂƚĞŵĞŶƚ
Ƈ
Ƈ
ŞɭƇ
ŞŞ
Ƈ
ƈ
ƈ
ƈ
ƈ
WĂƌĂŵĞƚĞƌƐ
ĞĨĂƵůƚ
None.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to configure interface-based IPv6 static routes on the system.
Use the set form of this command to specify the next hop interface for the route.
Use the delete form of this command to remove the next hop interface.
Use the show form of this command to view the next hop interface for the route.
ƉƌŽƚŽĐŽůƐƐƚĂƚŝĐƌŽƵƚĞфƐƵďŶĞƚхďůĂĐŬŚŽůĞ
Allows you to configure a “black-hole” static route.
^LJŶƚĂdž
set protocols static route subnet blackhole [distance distance]
delete protocols static route subnet blackhole [distance]
show protocols static route subnet blackhole [distance]
ŽŵŵĂŶĚDŽĚĞ
Configuration mode.
ŽŶĨŝŐƵƌĂƚŝŽŶ^ƚĂƚĞŵĞŶƚ
Ƈ
Ƈ
Ƈ
Ƈ
ƈ
ƈ
ƈ
WĂƌĂŵĞƚĞƌƐ
ĞĨĂƵůƚ
None.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to configure a “black-hole” static route on the router. A
black-hole route is a route for which the system silently discard packets that are
matched.
Use the set form of this command to set a black-hole route.
Use the delete form of this command to remove a black-hole route.
Use the show form of this command to view black-hole route configuration.
ƉƌŽƚŽĐŽůƐƐƚĂƚŝĐƌŽƵƚĞфƐƵďŶĞƚхŶĞdžƚͲŚŽƉфĂĚĚƌĞƐƐх
Allows you to configure the next hop for a static route.
^LJŶƚĂdž
set protocols static route subnet next-hop address [disable | distance distance]
delete protocols static route subnet next-hop address [disable | distance]
show protocols static route subnet next-hop address [disable | distance]
ŽŵŵĂŶĚDŽĚĞ
Configuration mode.
ŽŶĨŝŐƵƌĂƚŝŽŶ^ƚĂƚĞŵĞŶƚ
Ƈ
Ƈ
Ƈ
ŞƇ
ƈ
ƈ
ƈ
WĂƌĂŵĞƚĞƌƐ
ĞĨĂƵůƚ
None.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to configure static routes on the router.
Use the set form of this command to specify the next hop for the route.
Use the delete form of this command to remove the static route next hop.
Use the show form of this command to view static route next-hop configuration.
ƉƌŽƚŽĐŽůƐƐƚĂƚŝĐƌŽƵƚĞϲфƐƵďŶĞƚхďůĂĐŬŚŽůĞ
Allows you to configure a blackhole IPv6 static route.
^LJŶƚĂdž
set protocols static route6 subnet blackhole [distance distance]
delete protocols static route6 subnet blackhole [distance]
show protocols static route6 subnet blackhole [distance]
ŽŵŵĂŶĚDŽĚĞ
Configuration mode.
ŽŶĨŝŐƵƌĂƚŝŽŶ^ƚĂƚĞŵĞŶƚ
Ƈ
Ƈ
ɭƇ
Ƈ
ƈ
ƈ
ƈ
ƈ
WĂƌĂŵĞƚĞƌƐ
ĞĨĂƵůƚ
None.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to configure a blackhole IPv6 static route. A blackhole route
silently discards packets that are matched.
Use the set form of this command to specify a blackhole IPv6 static route.
Use the delete form of this command to remove a blackhole IPv6 static route.
Use the show form of this command to view blackhole IPv6 static route
configuration.
ƉƌŽƚŽĐŽůƐƐƚĂƚŝĐƌŽƵƚĞϲфƐƵďŶĞƚхŶĞdžƚͲŚŽƉфĂĚĚƌĞƐƐх
Allows you to configure the next hop for an IPv6 static route.
^LJŶƚĂdž
set protocols static route6 subnet next-hop address [disable | distance distance |
interface interface]
delete protocols static route6 subnet next-hop address [disable | distance | interface]
show protocols static route6 subnet next-hop address [disable | distance | interface]
ŽŵŵĂŶĚDŽĚĞ
Configuration mode.
ŽŶĨŝŐƵƌĂƚŝŽŶ^ƚĂƚĞŵĞŶƚ
Ƈ
Ƈ
ɭƇ
ŞƇ
ƈ
ƈ
ƈ
ƈ
WĂƌĂŵĞƚĞƌƐ
ĞĨĂƵůƚ
None.
hƐĂŐĞ'ƵŝĚĞůŝŶĞƐ
Use this command to configure IPv6 static routes on the system.
Use the set form of this command to specify the next hop for the route.
Use the delete form of this command to remove the static route next hop.
Use the show form of this command to view static route next hop configuration.
'ůŽƐƐĂƌLJŽĨĐƌŽŶLJŵƐ
AS autonomous system
CA certificate authority
DN distinguished name
I/O Input/Ouput
IP Internet Protocol
IPsec IP security
IPv4 IP Version 4
IPv6 IP Version 6
ND Neighbor Discovery
Rx receive
Tx transmit