Page 551 / 757 Scroll up to view Page 546 - 550
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
547
DGS-3627:admin# clear port_security_entry port 1:6
Command: clear port_security_entry port 1:6
Success.
DGS-3627:admin#
show port_security
Purpose
This command is to used to display port security configuration.
Syntax
show port_security {ports <portlist>}
Description
The show port_security command displays the port security related information.
Parameters
<portlist>
- Specifies a range of ports to show their configuration.
Restrictions
None.
Example usage:
To display the port security configuration:
DGS-3627:admin# show port_security
Command: show port_security
Port
Admin State
Max. Learning Addr.
Lock Address Mode
-----
-----------
-------------------
-----------------
1:1
Disabled
1
DeleteOnReset
1:2
Disabled
1
DeleteOnReset
1:3
Disabled
1
DeleteOnReset
1:4
Disabled
1
DeleteOnReset
1:5
Disabled
1
DeleteOnReset
1:6
Disabled
1
DeleteOnReset
Page 552 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
548
72
PROTOCOL INDEPENDENT MULTICAST (PIM) COMMANDS
PIM or Protocol Independent Multicast is a method of forwarding traffic to multicast groups over the network using any
pre-existing unicast routing protocol, such as RIP or OSPF, set on routers within a multicast network. The xStack® DGS-
3600 Series supports three types of PIM, Dense Mode (PIM-DM), Sparse Mode (PIM-SM), and Sparse and Dense Mode
(PIM-SM-DM).
PIM-SM or Protocol Independent Multicast – Sparse Mode is a method of forwarding multicast traffic over the network
only to multicast routers who actually request this information. Unlike most multicast routing protocols which flood the
network with multicast packets, PIM-SM will forward traffic to routers who are explicitly a part of the multicast group
through the use of a Rendezvous Point (RP). This RP will take all requests from PIM-SM enabled routers, analyze the
information and then returns multicast information it receives from the source, to requesting routers within its configured
network. Through this method, a distribution tree is created, with the RP as the root. This distribution tree holds all PIM-
SM enabled routers within which information collected from these router is stored by the RP.
PIM-SM
Two other types of routers also exist with the PIM-SM configuration. When many routers are a part of a multiple access
network, a Designated Router (DR) will be elected. The DR’s primary function is to send Join/Prune messages to the RP.
The router with the highest priority on the LAN will be selected as the DR. If there is a tie for the highest priority, the router
with the higher IP address will be chosen.
The third type of router created in the PIM-SM configuration is the Boot Strap Router (BSR). The goal of the Boot Strap
Router is to collect and relay RP information to PIM-SM enabled routers on the LAN. Although the RP can be statically
set, the BSR mechanism can also determine the RP. Multiple Candidate BSRs (C-BSR) can be set on the network but
only one BSR will be elected to process RP information. If it is not explicitly apparent which C-BSR is to be the BSR, all
C-BSRs will emit Boot Strap Messages (BSM) out on the PIM-SM enabled network to determine which C-BSR has the
higher priority and once determined, will be elected as the BSR. Once determined, the BSR will collect RP data
emanating from candidate RPs on the PIM-SM network, compile it and then send it out on the land using periodic Boot
Strap Messages (BSM). All PIM-SM Routers will get the RP information from the Boot Strap Mechanism and then store it
in their database.
Although Hello packets discover PIM-SM routers, these routers can only join or be “pruned” from a multicast group
through the use of Join/Prune Messages exchanged between the DR and RP. Join/Prune Messages are packets relayed
between routers that effectively state which interfaces are, or are not to be receiving multicast data. These messages can
be configured for their frequency to be sent out on the network and are only valid to routers if a Hello packet has first
been received. A Hello packet will simply state that the router is present and ready to become a part of the RP’s
distribution tree. Once a router has accepted a member of the IGMP group and it is PIM-SM enabled, the interested
router will then send an explicit Join/Prune message to the RP, which will in turn route multicast data from the source to
the interested router, resulting in a unidirectional distribution tree for the group. Multicast packets are then sent out to all
nodes on this tree. Once a prune message has been received for a router that is a member of the RP’s distribution tree,
the router will drop the interface from its distribution tree.
Discovering and Joining the Multicast Group
Two types of distribution trees can exist within the PIM-SM protocol, a Rendezvous-Point Tree (RPT) and a Shortest Path
Tree (SPT). The RP will send out specific multicast data that it receives from the source to all outgoing interfaces enabled
to receive multicast data. Yet, once a router has determined the location of its source, an SPT can be created, eliminating
hops between the source and the destination, such as the RP. This can be configured by the switch administrator by
setting the multicast data rate threshold. Once the threshold has been passed, the data path will switch to the SPT.
Therefore, a closer link can be created between the source and destination, eliminating hops previously used and
shortening the time a multicast packet is sent from the source to its final destination.
Distribution Trees
Register and Register Suppression Messages
Page 553 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
549
Multicast sources do not always join the intended receiver group. The first hop router (DR) can send multicast data
without being the member of a group or having a designated source, which essentially means it has no information about
how to relay this information to the RP distribution tree. This problem is alleviated through Register and Register-Stop
messages. The first multicast packet received by the DR is encapsulated and sent on to the RP which in turn removes
the encapsulation and sends the packet on down the RP distribution tree. When the route has been established, a SPT
can be created to directly connect routers to the source, or the multicast traffic flow can begin, traveling from the DR to
the RP. When the latter occurs, the same packet may be sent twice, one type encapsulated, one not. The RP will detect
this flaw and then return a Register Suppression message to the DR requesting it to discontinue sending encapsulated
packets.
At times on the PIM-SM enabled network, parallel paths are created from source to receiver, meaning some receivers will
receive the same multicast packets twice. To improve this situation, Assert messages are sent from the receiving device
to both multicast sources to determine which single router will send the receiver the necessary multicast data. The source
with the shortest metric (hop count) will be elected as the primary multicast source. This metric value is included within
the Assert message.
Assert Messages
The
Protocol Independent Multicast - Dense Mode (PIM-DM) protocol should be used in networks with a low delay (low
latency) and high bandwidth as PIM-DM is optimized to guarantee delivery of multicast packets, not to reduce overhead.
PIM-DM
The PIM-DM multicast routing protocol is assumes that all downstream routers want to receive multicast messages and
relies upon explicit prune messages from downstream routers to remove branches from the multicast delivery tree that do
not contain multicast group members.
PIM-DM has no explicit ‘join’ messages. It relies upon periodic flooding of multicast messages to all interfaces and then
either waiting for a timer to expire (the Join/Prune Interval) or for the downstream routers to transmit explicit ‘prune’
messages indicating that there are no multicast members on their respective branches. PIM-DM then removes these
branches (‘prunes’ them) from the multicast delivery tree.
Because a member of a pruned branch of a multicast delivery tree may want to join a multicast delivery group (at some
point in the future), the protocol periodically removes the ‘prune’ information from its database and floods multicast
messages to all interfaces on that branch. The interval for removing ‘prune’ information is the Join/Prune Interval.
The Protocol Independent Multicast (PIM) commands in the Command Line Interface (CLI) are listed below, along with
their appropriate parameters, in the following table.
Page 554 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
550
Command
Parameters
enable pim
disable pim
config pim
[[ipif <ipif_name 12> | all] {hello <sec 1-18724> | jp_interval <sec 1-18724> |
state [enable | disable] | mode [dm | sm | sm-dm] | dr_priority <unit 0 –
4294967294>} | register_probe_time <value 1-127> |
register_suppression_time <value 3-255>]
create pim crp group
<network_address> rp <ipif_name 12>
delete pim crp group
<network_address>
config pim crp
{holdtime <value 0-255> | priority <value 0-255> | wildcard_prefix_cnt [0 | 1]}
create pim static_rp group
<network_address> rp <ipaddr>
delete pim static_rp group
<network_address>
show pim static_rp
config pim last_hop_spt_switchover
[never | immediately]
show pim rpset
show pim crp
config pim cbsr
[ipif <ipif_name 12> {priority [-1 | <value 0-255>]} | hash_masklen <value 0-
32> | bootstrap_period <value 1-255>]
show pim cbsr
{ipif <ipif_name 12>}
show pim
{ipif <ipif_name 12>}
show pim neighbor
{ipif <ipif_name 12> | ipaddress <network_address>}
show pim ipmroute
create pim
register_checksum_include_data
rp_address
<ipaddr>
delete pim
register_checksum_include_data
rp_address
<ipaddr>
show pim
register_checksum_include_data_rp_list
Each command is listed, in detail, in the following sections.
enable pim
Purpose
Used to enable the PIM function on the Switch.
Syntax
enable pim
Description
This command will enable PIM for the Switch.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable PIM as previously configured on the Switch:
Page 555 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
551
DGS-3627:admin# enable pim
Command: enable pim
Success.
DGS-3627:admin#
disable pim
Purpose
Used to disable PIM function on the Switch.
Syntax
disable pim
Description
This command will disable PIM for the Switch. Any previously configured PIM settings will
remain unchanged and may be enabled at a later time with the
enable pim
command.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable PIM on the Switch:
DGS-3627:admin# disable pim
Command: disable pim
Success.
DGS-3627:admin#

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top