17
undo port trunk permit vlan 1
port trunk permit vlan 20
#
interface GigabitEthernet3/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 2 to 4094
#
interface Ten-GigabitEthernet4/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 20
port link-aggregation group 1
#
interface Ten-GigabitEthernet4/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 20
port link-aggregation group 1
#
•
Router A:
#
ospf 1
import-route direct
area 0.0.0.0
network 172.24.2.0 0.0.0.255
network 172.24.40.0 0.0.0.255
#
vlan 30
#
vlan 40
#
vlan 50
#
interface Bridge-Aggregation1
port access vlan 40
#
interface Bridge-Aggregation2
port access vlan 30
#
interface Vlan-interface30
ip address 172.24.2.2 255.255.255.0
#
interface Vlan-interface40
ip address 172.24.40.2 255.255.255.0