"리눅스 brctl"의 두 판 사이의 차이

7번째 줄: 7번째 줄:


<source lang='dos'>
<source lang='dos'>
[root@jmnote ~]# brctl
[root@CentOS5 ~]# brctl
Usage: brctl [commands]
Usage: brctl [commands]
commands:
commands:
26번째 줄: 26번째 줄:
         stp            <bridge> {on|off}      turn stp on/off
         stp            <bridge> {on|off}      turn stp on/off
</source>
</source>
 
<source lang='cli'>
[root@CentOS6 ~]# brctl
Usage: brctl [commands]
commands:
addbr    <bridge> add bridge
delbr    <bridge> delete bridge
addif    <bridge> <device> add interface to bridge
delif    <bridge> <device> delete interface from bridge
setageing <bridge> <time> set ageing time
setbridgeprio <bridge> <prio> set bridge priority
setfd    <bridge> <time> set bridge forward delay
sethello  <bridge> <time> set hello time
setmaxage <bridge> <time> set max message age
sethashel <bridge> <int> set hash elasticity
sethashmax <bridge> <int> set hash max
setmclmc  <bridge> <int> set multicast last member count
setmcrouter <bridge> <int> set multicast router
setmcsnoop <bridge> <int> set multicast snooping
setmcsqc  <bridge> <int> set multicast startup query count
setmclmi  <bridge> <time> set multicast last member interval
setmcmi  <bridge> <time> set multicast membership interval
setmcqpi  <bridge> <time> set multicast querier interval
setmcqi  <bridge> <time> set multicast query interval
setmcqri  <bridge> <time> set multicast query response interval
setmcqri  <bridge> <time> set multicast startup query interval
setpathcost <bridge> <port> <cost> set path cost
setportprio <bridge> <port> <prio> set port priority
setportmcrouter <bridge> <port> <int> set port multicast router
show      [ <bridge> ] show a list of bridges
showmacs  <bridge> show a list of mac addrs
showstp  <bridge> show bridge stp info
stp      <bridge> {on|off} turn stp on/off
</source>
==같이 보기==
==같이 보기==
*[[netctl]]
*[[netctl]]

2014년 12월 2일 (화) 01:34 판

1 개요

리눅스 brctl
/usr/sbin/brctl
  • 이더넷 브리지 관리 도구
  • 리눅스 브리지 설정
  • bridge-utils 패키지에 있음
[root@CentOS5 ~]# brctl
Usage: brctl [commands]
commands:
        addbr           <bridge>                add bridge
        delbr           <bridge>                delete bridge
        addif           <bridge> <device>       add interface to bridge
        delif           <bridge> <device>       delete interface from bridge
        setageing       <bridge> <time>         set ageing time
        setbridgeprio   <bridge> <prio>         set bridge priority
        setfd           <bridge> <time>         set bridge forward delay
        sethello        <bridge> <time>         set hello time
        setmaxage       <bridge> <time>         set max message age
        setpathcost     <bridge> <port> <cost>  set path cost
        setportprio     <bridge> <port> <prio>  set port priority
        show                                    show a list of bridges
        showmacs        <bridge>                show a list of mac addrs
        showstp         <bridge>                show bridge stp info
        stp             <bridge> {on|off}       turn stp on/off
[root@CentOS6 ~]# brctl
Usage: brctl [commands]
commands:
	addbr     	<bridge>		add bridge
	delbr     	<bridge>		delete bridge
	addif     	<bridge> <device>	add interface to bridge
	delif     	<bridge> <device>	delete interface from bridge
	setageing 	<bridge> <time>		set ageing time
	setbridgeprio	<bridge> <prio>		set bridge priority
	setfd     	<bridge> <time>		set bridge forward delay
	sethello  	<bridge> <time>		set hello time
	setmaxage 	<bridge> <time>		set max message age
	sethashel 	<bridge> <int>		set hash elasticity
	sethashmax	<bridge> <int>		set hash max
	setmclmc  	<bridge> <int>		set multicast last member count
	setmcrouter	<bridge> <int>		set multicast router
	setmcsnoop	<bridge> <int>		set multicast snooping
	setmcsqc  	<bridge> <int>		set multicast startup query count
	setmclmi  	<bridge> <time>		set multicast last member interval
	setmcmi   	<bridge> <time>		set multicast membership interval
	setmcqpi  	<bridge> <time>		set multicast querier interval
	setmcqi   	<bridge> <time>		set multicast query interval
	setmcqri  	<bridge> <time>		set multicast query response interval
	setmcqri  	<bridge> <time>		set multicast startup query interval
	setpathcost	<bridge> <port> <cost>	set path cost
	setportprio	<bridge> <port> <prio>	set port priority
	setportmcrouter	<bridge> <port> <int>	set port multicast router
	show      	[ <bridge> ]		show a list of bridges
	showmacs  	<bridge>		show a list of mac addrs
	showstp   	<bridge>		show bridge stp info
	stp       	<bridge> {on|off}	turn stp on/off

2 같이 보기

3 참고 자료