Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Usage: mstpctl [options] [commands]
- options:
- -h | --help Show this help text
- -V | --version Show version
- -b | --batch <file> Process file with mstpctl commands
- -s | --stdin Process mstpctl commands from stdin
- Make sure to provide newlines between
- commands. Won't work if `batch` is used
- -i | --ignore Ignore failing commands during batch
- processing
- -f | --format <format> Select output format (json, plain)
- commands:
- -Add bridges to the mstpd's list:
- addbridge <bridge> [<bridge> ...]
- -Remove bridges from the mstpd's list:
- delbridge <bridge> [<bridge> ...]
- -Show bridge state for the CIST:
- showbridge [<bridge> ... [param]]
- -Show list of registered MSTIs:
- showmstilist <bridge>
- -Show MST ConfigId:
- showmstconfid <bridge>
- -Show VID-to-FID allocation table:
- showvid2fid <bridge>
- -Show FID-to-MSTID allocation table:
- showfid2mstid <bridge>
- -Show port state for the CIST:
- showport <bridge> [<port> ... [param]]
- -Show port detailed state for the CIST:
- showportdetail <bridge> [<port> ... [param]]
- -Show bridge state for the given MSTI:
- showtree <bridge> <mstid>
- -Show port detailed state for the given MSTI:
- showtreeport <bridge> <port> <mstid>
- -Set MST ConfigId elements: Revision Level (0-65535) and Name:
- setmstconfid <bridge> <revision> <name>
- -Set VIDs-to-FIDs allocation:
- setvid2fid <bridge> <FID>:<VIDs List> [<FID>:<VIDs List> ...]
- -Set FIDs-to-MSTIDs allocation:
- setfid2mstid <bridge> <mstid>:<FIDs List> [<mstid>:<FIDs List> ...]
- -Set bridge max age (6-40):
- setmaxage <bridge> <max_age>
- -Set bridge forward delay (4-30):
- setfdelay <bridge> <fwd_delay>
- -Set bridge max hops (6-40):
- setmaxhops <bridge> <max_hops>
- -Set bridge hello time (1-10):
- sethello <bridge> <hello_time>
- -Set bridge ageing time (10-1000000):
- setageing <bridge> <ageing_time>
- -Force Spanning Tree protocol version:
- setforcevers <bridge> {mstp|rstp|stp}
- -Set bridge transmit hold count (1-10):
- settxholdcount <bridge> <tx_hold_count>
- -Create new MSTI:
- createtree <bridge> <mstid>
- -Delete existing MSTI:
- deletetree <bridge> <mstid>
- -Set bridge priority (0-15) for the given MSTI:
- settreeprio <bridge> <mstid> <priority>
- -Set port external path cost for the CIST (0 = auto):
- setportpathcost <bridge> <port> <cost>
- -Set initial edge state:
- setportadminedge <bridge> <port> {yes|no}
- -Enable auto transition to/from edge state:
- setportautoedge <bridge> <port> {yes|no}
- -Set p2p detection mode:
- setportp2p <bridge> <port> {yes|no|auto}
- -Restrict port ability to take Root role:
- setportrestrrole <bridge> <port> {yes|no}
- -Restrict port ability to propagate received TCNs:
- setportrestrtcn <bridge> <port> {yes|no}
- -Try to get back from STP to rapid (RSTP/MSTP) mode:
- portmcheck <bridge> <port>
- -Set bpdu guard state:
- setbpduguard <bridge> <port> {yes|no}
- -Set port priority (0-15) for the given MSTI:
- settreeportprio <bridge> <port> <mstid> <priority>
- -Set port internal path cost for the given MSTI (0 = auto):
- settreeportcost <bridge> <port> <mstid> <cost>
- -Set port network state:
- setportnetwork <bridge> <port> {yes|no}
- -Set BPDU filter state:
- setportbpdufilter <bridge> <port> {yes|no}
- -Level of verbosity:
- debuglevel <level>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement