EMAIL SUPPORT

dclessons@dclessons.com

LOCATION

NZ

Configuring Bridging & IRB

Configuring Bridging & IRB

Posted on Jan 27, 2020 (0)

Configuring Bridging & IRB ( Configuring Viptela Switching )

In the configuring Viptela Switching , Let’s see how to configure the Bridge Domain and How BD are marked with VLAN tag or untagged.

Create a Bridge Domain with VLAN Tagging

When a BD is tagged with VLAN, the packet sent by domain, this VLAN ID is inserted in frame.

This tagging helps vEdge router to determine which interface it should send broadcast packet.

Now to configure BD with VLAN tag, first create the BD and assign the VLAN tag to this domain and further associate an interface on to it.

Create a bridging domain:

vEdge(config)# bridge bridge-id

Tag the bridging domain with a VLAN ID: range is 1 to 4095

vEdge(config-bridge)# vlan number

Associate an interface with the bridging domain, and enable that interface ( only physical interface and not sub-interface )

vEdge(config-bridge)# interface geslot/port
vEdge(config-interface)# no shutdown

Once physical interface is added to VLAN , following are the optional parameters.

Configure a description for the VLAN interface, to help identify the interface in operational command output:

vEdge(config-bridge)# interface geslot/port
vEdge(config-interface)# description "text description"

Configure a static MAC address for the VLAN interface:

vEdge(config-interface)# static-mac-address aa:bb:cc:dd:ee:ff

Configure a name for the VLAN, to help identify the VLAN in operational command output:

vEdge(config-bridge)# name "text description"

By default , a bridge domain can only learn up to 1024 MAC address , but this range can be modified to 4096.

vEdge(config-bridge)# max-macs number

By default, MAC table entries age out after 300 seconds (5 minutes). You can modify this to a value from 10 through 4096 seconds:

vEdge(config-bridge)# age-time seconds

Here is an example configuration:

vEdge# config
vEdge(config)# bridge 3
vEdge(bridge-2)# vlan 37
vEdge(bridge-2)# interface ge0/2
vEdge(interface-ge0-4)# no shutdown
vEdge(interface-ge0-4)# description "VLAN tag = 37"
vEdge(interface-ge0/4)# commit and-quit
vEdge# show running-config bridge
bridge 3
vlan 37
interface ge0/2
description "VLAN tag = 37"
no native-vlan
no shutdown
!
!
vEdge#

Once an interface is configured in BD then to add or change the VLAN ID for that BD, DB must be deleted and then reconfigure the domain with correct VLAN ID.

To see which interface Bridging is working:

vEdge# show bridge interface

Create a Bridge Domain with an Untagged VLAN

When a BD is not tagged with any VLAN, all frame sent from this BD is sent untagged.
Create a bridging domain. This domain is identified by a unique integer. (16 unique BD can be configured)

vEdge(config)# bridge number

Associate an interface with the bridging domain, and enable that interface:

vEdge(config-bridge)# interface interface-name
vEdge(config-interface)# no shutdown

Configure a Native VLAN

Create a bridging domain. This domain is identified by a unique integer.

vEdge(config)# bridge number

Associate an interface with the bridging domain, and enable that interface:

vEdge(config-bridge)# interface interface-name
vEdge(config-interface)# no shutdown

Enabled native VLAN on the interface:

vEdge(config-interface)# native-vlan

Configuring IRB

In VPN where you want to configure the IRB , create an IRB interface:

vEdge(config)# vpn number
vEdge(config-vpn)# interface irbnumber

The VPN number can be any number from 1 through 65530, which should only be service VPNs, except for 512 VPN or the transport VPN (VPN 0)

Configure an IP address for the IRB interface. This address is the subnet for the VLAN in the connected bridge domain and enable it.

vEdge(config-irb)# ip address prefix/length
vEdge(config-irb)# no shutdown

Example Running config :

vEdge# show running-config vpn 1
vpn 1
interface ge0/2
ip address 10.10.10.15/24
no shutdown
!
interface irb1
ip address 1.1.1.10/24
no shutdown
access-list IRB_ICMP in
access-list IRB_ICMP out
!
interface irb50
ip address 30.30.30.15/24
no shutdown
!
!
vEdge# show running-config vpn 2
vpn 2
interface irb2
ip address 2.2.2.15/24
no shutdown
!
!

Bridging Configuration Commands

While configuring Viptela Switching concepts , Use the following commands to configure bridging on a vEdge router.

bridge bridge-id
age-time seconds
interface interface-name
description "text description"
native-vlan
[no] shutdown
static-mac-address mac-address
max-macs number
name text
vlan number

IRB Configuration Commands

Use the following commands to configure IRB within a VPN on a vEdge router:

vpn vpn-id
interface irbnumber
access-list acl-list
arp
ip address ip-address mac mac-address
arp-timeout seconds
autonegotiate
clear-dont-fragment
description "text description"
dhcp-server (on vEdge routers only)
address-pool prefix/length
exclude ip-address
lease-time minutes
max-leases number
offer-time minutes
options
default-gateway ip-address
dns-servers ip-address
domain-name domain-name
interface-mtu mtu
tftp-servers ip-address
static-lease mac-address

Bridging Monitoring Commands

Use the following commands to monitor Layer 2 bridging on a vEdge router:
• clear bridge mac—Clear the MAC addresses that the vEdge router has learned.
• clear bridge statistics—Clear the bridging statistics.
• show bridge interface—List information about the interfaces on which bridging is configured.
• show bridge mac—List the MAC addresses that the vEdge router has learned.
• show bridge table—List the information in the bridge forwarding table.


Comment

    You are will be the first.

LEAVE A COMMENT

Please login here to comment.