!-----啟動Integrated Routing and Bridging模式
bridge irb
! -----指定Bridge-Group 1 (Fa0/0介面界接SW1 VLAN 10)
interface FastEthernet0/0
no ip address
bridge-group 1
!-----指定Bridge-Group 1 (Fa0/0介面界接SW2 VLAN 20)
interface FastEthernet0/1
no ip address
bridge-group 1
! -----建立Bridge Virtual Interface
interface BVI1
ip address 192.168.1.254 255.255.255.0
! -----指定Bridge-Group的封裝模式為802.1q
bridge 1 protocol ieee
!-----指定Bridge-Group的Routing模式為IP Routing
bridge 1 route ip
驗證方式
#show interface irb | begin FastEthernet0/0
FastEthernet0/0
Routed protocols on FastEthernet0/0:
ip
Bridged protocols on FastEthernet0/0:
appletalk clns decnet ip
#show interface irb | begin FastEthernet0/1
FastEthernet0/1
Routed protocols on FastEthernet0/1:
ip
Bridged protocols on FastEthernet0/1:
appletalk clns decnet ip
沒有留言:
張貼留言