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

잔글 (로봇: 자동으로 텍스트 교체 (-<source lang='dos'> +<source lang='cli'>))
6번째 줄: 6번째 줄:
*bridge-utils 패키지에 있음
*bridge-utils 패키지에 있음


<source lang='dos'>
<source lang='cli'>
[root@CentOS5 ~]# brctl
[root@CentOS5 ~]# brctl
Usage: brctl [commands]
Usage: brctl [commands]

2015년 2월 6일 (금) 03:33 판

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 참고 자료