[index] SwitchBlade x3100シリーズ コマンドリファレンス

CREATE ALIAS

カテゴリー: 運用・管理 / コマンドプロセッサー


CREATE ALIAS=aliasname STRING=substitution


コマンドのエイリアスを作成する。作成したエイリアスは全てのユーザーが利用可能になる。作成したエイリアスまたは初期設定のエイリアスの確認はSHOW ALIASコマンドを使用する

表 1:初期設定済みエイリアス
showcfg show config
showdebug showoamp $1;showint;showtraf;showigmp;showvlan;showlag;showswitch;showstp;showwdhcp;showepsr;showwrtp;showvc;showuser;showsys;showcfg
showdhcp show dhcprelay
showepsr show epsr all
showigmp show igmp;show igmpsnooping count messageresponse;show igmpsnooping card all full;show igmpsnooping interface all full
showint show interface all queuecount;show interface all counter;show ip arp all;show ip connections;show ip interface all;show ip interface all full;show ip route all
showlag show lag all
showoamp show card $1 software;show card $1 ports;show card actcfc cpu;show card inactcfc cpu;show card actcfc memory heap;show card memory quickheap;show card actcfc memory messagebuffers;show card inactcfc memory messagebuffers
showrtp show rtp interface all full
showstp show stp;show stp counter
showswitch show switch;show switch fdb;show switch counter
showsys show system;show system cooling;show fanmodule;show sntp;show bootserver;show alarms all;show contactalarm all severity all state all
showtraf show classifier all full;show trafficdescriptor all;show arpfilter;show qos;show accesslist all
showuser show user;show telnet server;show sessions;show system userconfig;show log filter;show log output;show radius;show tacplus;show snmp;show snmp community all
showvc show vc interface all full
showvlan show vlan all full


パラメーター

ALIAS コマンド文字列のエイリアス名。エイリアス名は既存のコマンドのルートキーワードと同じ文字列や一部が同じ文字列を指定してはいけない。最大100文字 
aliasname エイリアス名
STRING エイリアスで実行するコマンドを指定する。コマンド間はセミコロンで区切る。因数は「$」と「番号」($1、$2など)で指定する。コマンドのルートキーワード(ADD、DELETE、SHOW、SETなど)は指定できない。最大1024文字
substitution コマンド


使用例

officer SEC>> CREATE ALIAS=su STRING="show user $1;show sys userconfig"


関連コマンド

DESTROY ALIAS
RENAME ALIAS
SHOW ALIAS



(C) 2010 アライドテレシスホールディングス株式会社

PN: 613-001335 Rev.A