#configure terminal | Enter configure mode. |
(config)#bridge 1 protocol ieee vlan-bridge | Configure an IEEE VLAN-aware bridge. |
(config)#vlan database | Enter VLAN configure mode. |
(config-vlan)#vlan 2 bridge 1 state enable | Configure a VLAN and add it to the bridge. |
(config-vlan)#exit | Exit the VLAN configuration mode. |
(config)#interface eth1 | Enter interface mode. |
(config-if)#switchport | Set switching characteristics on the port. |
(config-if)#bridge-group 1 | Associate the interface to the bridge. |
(config-if)#lldp-agent | Enter into the default agent |
(if-lldp-agent)#set lldp enable txrx | Enable an LLDP agent on the port. |
(if-lldp-agent)#set lldp chassis-id-tlv ip-address | Configure the subtype for chassis-id TLV |
(if-lldp-agent)#set lldp port-id-tlv mac-address | Configure the subtype for port-id TLV |
(if-lldp-agent)#lldp tlv basic-mgmt port-description select | Enable the port-description TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv basic-mgmt system-name select | Enable the system-name TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv basic-mgmt system-capabilities select | Enable the system-capabilities TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv basic-mgmt system-description select | Enable the system-description TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv basic-mgmt management-address select | Enable the management-address TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv ieee-8021-org-specific port-vlanid select | Enable the VLAN-id TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv ieee-8021-org-specific vlan-name select | Enable the VLAN-NAME TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv ieee-8021-org-specific port-ptcl-vlanid select | Enable the Port and Protocol VLAN id TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv ieee-8021-org-specific ptcl-identity select | Enable the Protocol Identity TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv ieee-8021-org-specific vid-digest select | Enable the VID Usage Digest TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv ieee-8021-org-specific mgmt-vid select | Enable the Management VID TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv ieee-8021-org-specific link-agg select | Enable the Link Aggregation TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv ieee-8023-org-specific mac-phy select | Enable the MAC/PHY Configuration/Status TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv ieee-8023-org-specific max-mtu-size select | Enable the Maximum Frame Size TLV to be transmitted on the port |
(if-lldp-agent)#set lldp timer msg-fast-tx 5 | Defines the time interval during fast transmission periods |
(if-lldp-agent)#set lldp tx-fast-init 6 | Defines the number of LLDPDUs that are transmitted during a fast transmission period |
(if-lldp-agent)#exit | Exit the lldp agent mode |
(config-if)#commit | Commit the candidate configuration to the running configuration. |
(config-if)#exit | Exit interface mode. |
#configure terminal | Enter configure mode. |
(config)#bridge 1 protocol ieee vlan-bridge | Configure an IEEE VLAN-aware bridge. |
(config)#vlan database | Enter VLAN configure mode. |
(config-vlan)#vlan 2 bridge 1 state enable | Configure a VLAN and add it to the bridge. |
(config-vlan)#exit | Exit the VLAN configuration mode. |
(config)#interface eth1 | Enter interface mode. |
(config-if)#switchport | Set switching characteristics on the port. |
(config-if)#bridge-group 1 | Associate the interface to the bridge. |
(config-if)#lldp-agent customer-bridge | Enter into the Customer Bridge agent |
(if-lldp-agent)#set lldp enable txrx | Enable an LLDP agent on the port. |
(if-lldp-agent)#set lldp chassis-id-tlv ip-address | Configure the subtype for chassis-id TLV |
(if-lldp-agent)#set lldp port-id-tlv mac-address | Configure the subtype for port-id TLV |
(if-lldp-agent)#lldp tlv basic-mgmt port-description select | Enable the port-description TLV to be transmitted on the port. |
(if-lldp-agent)#lldp tlv basic-mgmt system-name select | Enable the system-name TLV to be transmitted on the port. |
(if-lldp-agent)#lldp tlv basic-mgmt system-capabilities select | Enable the system-capabilities TLV to be transmitted on the port. |
(if-lldp-agent)#lldp tlv basic-mgmt system-description select | Enable the system-description TLV to be transmitted on the port. |
(if-lldp-agent)#lldp tlv basic-mgmt management-address select | Enable the management-address TLV to be transmitted on the port. |
(if-lldp-agent)#lldp tlv ieee-8021-org-specific port-vlanid select | Enable the VLAN-id TLV to be transmitted on the port. |
(if-lldp-agent)#lldp tlv ieee-8021-org-specific vlan-name select | Enable the VLAN-NAME TLV to be transmitted on the port. |
(if-lldp-agent)#lldp tlv ieee-8021-org-specific port-ptcl-vlanid select | Enable the Port and Protocol VLAN id TLV to be transmitted on the port. |
(if-lldp-agent)#lldp tlv ieee-8021-org-specific ptcl-identity select | Enable the Protocol Identity TLV to be transmitted on the port. |
(if-lldp-agent)#lldp tlv ieee-8021-org-specific vid-digest select | Enable the VID Usage Digest TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv ieee-8021-org-specific mgmt-vid select | Enable the Management VID TLV to be transmitted on the port. |
(if-lldp-agent)#lldp tlv ieee-8021-org-specific link-agg select | Enable the Link Aggregation TLV to be transmitted on the port. |
(if-lldp-agent)#lldp tlv ieee-8023-org-specific mac-phy select | Enable the MAC/PHY Configuration/Status TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv ieee-8023-org-specific max-mtu-size select | Enable the Maximum Frame Size TLV to be transmitted on the port. |
(if-lldp-agent)#set lldp timer msg-fast-tx 5 | Defines the time interval during fast transmission periods. |
(if-lldp-agent)#set lldp tx-fast-init 6 | Defines the number of LLD PDUs that are transmitted during a fast transmission period. |
(if-lldp-agent)#exit | Exit the lldp agent mode |
(config-if)#commit | Commit the candidate configuration to the running configuration. |
(config-if)#exit | Exit interface mode. |
#configure terminal | Enter configure mode. |
(config)#bridge 1 protocol ieee vlan-bridge | Configure an IEEE VLAN-aware bridge. |
(config)#vlan database | Enter VLAN configure mode. |
(config-vlan)#vlan 2 bridge 1 state enable | Configure a VLAN and add it to the bridge. |
(config-vlan)#exit | Exit the VLAN configuration mode. |
(config)#interface eth1 | Enter interface mode. |
(config-if)#switchport | Set switching characteristics on the port. |
(config-if)#bridge-group 1 | Associate the interface to the bridge. |
(config-if)#lldp-agent non-tpmr-bridge | Enter into the Non tpmr Bridge agent |
(if-lldp-agent)#set lldp enable txrx | Enable an LLDP agent on the port. |
(if-lldp-agent)#set lldp chassis-id-tlv ip-address | Configure the subtype for chassis-id TLV |
(if-lldp-agent)#set lldp port-id-tlv mac-address | Configure the subtype for port-id TLV |
(if-lldp-agent)#lldp tlv basic-mgmt port-description select | Enable the port-description TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv basic-mgmt system-name select | Enable the system-name TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv basic-mgmt system-capabilities select | Enable the system-capabilities TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv basic-mgmt system-description select | Enable the system-description TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv basic-mgmt management-address select | Enable the management-address TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv ieee-8021-org-specific port-vlanid select | Enable the VLAN-id TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv ieee-8021-org-specific vlan-name select | Enable the VLAN-NAME TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv ieee-8021-org-specific port-ptcl-vlanid select | Enable the Port and Protocol VLAN id TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv ieee-8021-org-specific ptcl-identity select | Enable the Protocol Identity TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv ieee-8021-org-specific vid-digest select | Enable the VID Usage Digest TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv ieee-8021-org-specific mgmt-vid select | Enable the Management VID TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv ieee-8021-org-specific link-agg select | Enable the Link Aggregation TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv ieee-8023-org-specific mac-phy select | Enable the MAC/PHY Configuration/Status TLV to be transmitted on the port |
(if-lldp-agent)#lldp tlv ieee-8023-org-specific max-mtu-size select | Enable the Maximum Frame Size TLV to be transmitted on the port |
(if-lldp-agent)#set lldp timer msg-fast-tx 5 | Defines the time interval during fast transmission periods |
(if-lldp-agent)#set lldp tx-fast-init 6 | Defines the number of LLD PDUs that are transmitted during a fast transmission period |
(if-lldp-agent)#exit | Exit the lldp agent mode |
(config-if)#commit | Commit the candidate configuration to the running configuration. |
(config-if)#exit | Exit interface mode. |
(config)#interface eth1 | Enter interface mode. |
(config-if)#lldp-agent | Enter the default agent. |
(if-lldp-agent)#set lldp enable txrx | Set the admin status of the LLDP agent. |
(if-lldp-agent)#exit | Exit agent mode. |
(config-if)#lldp-agent customer-bridge | Enter the customer-bridge agent. |
(if-lldp-agent)#set lldp enable txrx | Set the admin status of the LLDP agent. |
(if-lldp-agent)#exit | Exit agent mode. |
(config-if)#lldp-agent non-tpmr-bridge | Enter the non-tpmr-bridge agent. |
(if-lldp-agent)#set lldp enable txrx | Set the admin status of the LLDP agent. |
(if-lldp-agent)#exit | Exit agent mode. |
(config-if)#set lldp med-devtype net-connect | Enter the med-devtype agent and set the device type to network connectivity. |
(config-if)#exit | Exit agent mode. |
(config-if)#commit | Commit the candidate configuration to the running configuration. |
(config)#interface eth1 | Enter interface mode. |
(config-if)#lldp-agent | Enter the default agent. |
(if-lldp-agent)#set lldp enable txrx | Set the admin status of the LLDP agent. |
(if-lldp-agent)#exit | Exit agent mode. |
(config-if)#lldp-agent customer-bridge | Enter the customer-bridge agent. |
(if-lldp-agent)#set lldp enable txrx | Set the admin status of the LLDP agent. |
(if-lldp-agent)#exit | Exit agent mode. |
(config-if)#lldp-agent non-tpmr-bridge | Enter the non-tpmr-bridge agent. |
(if-lldp-agent)#set lldp enable txrx | Set the admin status of the LLDP agent. |
(if-lldp-agent)#exit | Exit agent mode. |
(config-if)#set lldp med-devtype ep-class3 | Enter the med-devtype agent and set the device type to endpoint class 3. |
(config-if)#exit | Exit agent mode. |
(config-if)#commit | Commit the candidate configuration to the running configuration. |